Summary: | sys-apps/portage-2.3.89-r1: @unavailable does not contain unavailable packages | ||
---|---|---|---|
Product: | Portage Development | Reporter: | fkater <fkater> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | esigra, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 144480 |
Description
fkater
2020-03-30 11:46:28 UTC
I mentioned that sometimes emerge @unavailable catches packages, sometimes it doesn't. An update to this: I get the impression that @unvailable only catches cases where the ebuild is gone *and* there is no stable upgrade or downgrade possible (?). Here some more information: eclean-dist --deep terminates with: > The following unavailable installed packages were found > app-office/libreoffice-6.4.2.2 > app-office/libreoffice-l10n-6.4.2.2 > dev-libs/liborcus-0.15.3 > dev-python/setuptools_scm-3.4.3 This is the output of equery for these packages: > equery l -p libreoffice libreoffice-l10n liborcus setuptools_scm > * Searching for libreoffice ... > [-P-] [ ] app-office/libreoffice-6.3.4.2-r1:0 > [-P-] [ ~] app-office/libreoffice-6.3.5.2:0 > [-P-] [ -] app-office/libreoffice-6.3.9999:0 > [-P-] [ ~] app-office/libreoffice-6.4.3.2:0 > [-P-] [ -] app-office/libreoffice-6.4.9999:0 > [-P-] [ -] app-office/libreoffice-9999:0 > > * Searching for libreoffice-l10n ... > [-P-] [ ] app-office/libreoffice-l10n-6.3.4.2:0 > [-P-] [ ~] app-office/libreoffice-l10n-6.3.5.2:0 > [-P-] [ ~] app-office/libreoffice-l10n-6.4.3.2:0 > > * Searching for liborcus ... > [-P-] [ ] dev-libs/liborcus-0.14.1-r1:0/0.14 > [-P-] [ ~] dev-libs/liborcus-0.15.4:0/0.15 > [-P-] [ -] dev-libs/liborcus-9999:0/0.16 > > * Searching for setuptools_scm ... > [-P-] [ ] dev-python/setuptools_scm-3.5.0:0 Not worth mentioning: emerge -a @unvailable still outputs nothing. In case my assumption is true, the @unavailable package set does not make much sense to me. The @unavailable set is only intended to work for unmerge actions, so it looks like we need to handle it differently when it's called for some other action. For reference, the set was added in this commit (which includes a _operations = ["unmerge"] setting): https://gitweb.gentoo.org/proj/portage.git/commit/?id=e3edde79ba4ccf903434812328a00308452bcd72 |