Weird Arch Linux observation 

1. The jdk-openjdk package on the exozyme server is not installed explicitly, as pacman -Qi jdk-openjdk confirms

2. The jdk-openjdk package is not listed as an orphan with pacman -Qtdq

3. The jdk-openjdk package is not required by any packages according to pactree -r jdk-openjdk

Aren't these three facts contradictory? Can any Arch Linux gurus here enlighten me on what's going on?

· · Web · 2 · 1 · 1

re: Weird Arch Linux observation 

@ta180m I would guess optional dependency. Does it show in pacman -Qqttd?

re: Weird Arch Linux observation 

@ledoian Bingo, that was it! Thanks!

re: Weird Arch Linux observation 

@ta180m I remember I was bitten by this long time ago, when I learned the incantation with two t’s.

(If I remember correctly, that was npm depending on nodejs, which in turn “recommends” npm via optdepend, thus forming a self-supporting cycle which does not get removed automatically even when not required by anything else.)

Weird Arch Linux observation 

@ta180m suggested package? idk i dont use arch (im an anarchist -j)

Weird Arch Linux observation 

@cobra Yeah, it looks like I need pacman -Qqttd to get it to show up as an orphan package.

Sign in to participate in the conversation
exocial

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!