u/wronci

Zypper bug? Inconsistencies between `zypper pa --unneeded` and `zypper se -i --requires` [Tumbleweed]

If I run the following:

# Tell me what installed packages are unnecessary
zypper pa --unneeded

Zypper tells me that it considers sqlite3 (and some other packages) to be unneeded.

However, if I run:

# Tell me what currently installed packages require sqlite3
zypper se -i --requires sqlite3

Zypper tells me that there are multiple installed packages that require sqlite3.

I would assume that because there are packages requiring sqlite3, zypper shouldn't list it as being unneeded.

Do I have an incorrect understanding of how these commands work? Could this point to some kind of corrupted install? Or could this be a zypper bug?

reddit.com
u/wronci — 4 hours ago