
Could you give an example for an installed package that is no longer available, please?For years, Portage has been failing to install things with convoluted error messages that must be traced down to some packages that are installed, but are no longer available, blocking any packages which depend on them for updating, which requires me to start adding packages to my list of packages to install one by one until it says it is not available.
Code: Select all
emerge -pvO @unavailable

I realised I should be using --oneshot a while ago, stopped running commands without it when I should use it, and cleaned my world file some. It is still probably polluted though due to the time I did not use it.NeddySeagoon wrote:happysmash27,
That implies that you have world file pollution. There are things there that have been removed from ::gentoo, or you have not been doing --depclean as par of your maintenance, or both.
World file pollution happens when you should use --oneshot but forget.
Code: Select all
* Have you forgotten to do a complete update prior to depclean? The
* most comprehensive command for this purpose is as follows:
*
* emerge --update --newuse --deep --with-bdeps=y @world
Code: Select all
for i in `cat /var/lib/portage/world`;do emerge --depclean -p $i;doneCode: Select all
for i in `cat /var/lib/portage/world`;do printf "$i:\n";qdepends -Q -q $i;doneCode: Select all
~ $ emerge -pvO @unavailable
These are the packages that would be merged, in order:
emerge: there are no ebuilds to satisfy "app-emulation/wine-mono:4.9.4".
(dependency required by "@unavailable" [argument])
Code: Select all
eclean-dist -p -d
...
[ 11.4 G ] Total space from 1023 files would be freed in the distfiles directory
The following unavailable installed packages were found
games-action/dungeon-3.2.3
sys-kernel/gentoo-sources-4.9.276