Closed ShinyZero0 closed 1 year ago
xbps-query -S zlib
or xbps-query -p automatic-install zlib
will show the automatic-install
state which can be changed with xbps-pkgdb -m manual pkgname
.
Not sure about your specific cases, but unless you install packages with xbps-install -A
or change the mode with xbps-pkgdb
there is not really a way this would randomly change. The xbps updates have nothing to do with any of this and there has been no other bug report with an issue like this.
:sweat_smile: i was updating my packages with xbps-install -SAu
. :thinking: this installation mode makes sense to keep it clean if i install dependencies to compile something. Thank you for enlightening me
Reopening this since this seems like a bug, I think xbps-install -A
should only mark newly installed packages as automatically installed. When the installation involves an update to a manually installed package, the installation mode should not be changed.
That's a partial list of what it suggests to remove:
It can be seen that it wants to remove xsel. I'm sure i installed it manually, but well, i removed googler which had it as dependency so that is somehow justified (no).
Well, neovim is downgraded and repolocked to 0.8.3, maybe i broke it when was locking it.
But how it concluded that TELEGRAM is orphaned? Or how could it install the bottom automatically? These obviously couldn't be dependencies.
I tried running
xbps-pkgdb -a
(after i encountered the problem) as it's stated in manpage that it can fix something (it didn't). I am now adding the manual mode to the packages that i'm sure i installed but that sucks. That wouldn't be cool if it'd accidentally remove base-system one day.Only unordinary things i did with xbps were:
xi
xdowngrade
(or maybexi
too) instead of 0.9 from the normal repos.xbps-pkgdb -m repolock neovim
most of these 10 timesI'm using the latest
xbps-0.59.1_8
from repos. I hoped the problem was caused by some bug earlier (couple of weeks ago) with older version and is now fixed, but seems like xbps still wants to remove my packages, e.g. i removedgoogler
recently and it now wants to removexsel