Summary: | perl-cleaner does not reinstall packages if --update is in EMERGE_DEFAULT_OPTS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nik Warburton <dubstar.make.it.better> |
Component: | [OLD] Development | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | jer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Output of 'perl-cleaner --all'
output of 'emerge --info' |
Description
Nik Warburton
2010-10-26 21:19:06 UTC
Created attachment 252111 [details]
Output of 'perl-cleaner --all'
Created attachment 252113 [details]
output of 'emerge --info'
As you already wrote, it's a reinstall not an update. Try again without --update in EMERGE_DEFAULT_OPTS: EMERGE_DEFAULT_OPTS="--alphabetical --ask --deep --keep-going --newuse --verbose --with-bdeps y" perl-cleaner --all Having --update in EMERGE_DEFAULT_OPTS is a problem all on its own, as would be all the ACTIONS listed in emerge(1). If this were my bug, I'd mark it INVALID for that reason, and as an example to portage users to come. In general, tools have been adapted to unset EMERGE_DEFAULT_OPTS, or to ignore them only when querying the portage db or configuration info through emerge, and only if the reason was deemed valid, but only in cases of OPTIONS (not ACTIONS), such as --ask (bug #137637, bug #170540, bug #181309), --use-pkg{,only} (bug #232304). (In reply to comment #4) > Having --update in EMERGE_DEFAULT_OPTS is a problem all on its own, as would be > all the ACTIONS listed in emerge(1). If this were my bug, I'd mark it INVALID > for that reason, and as an example to portage users to come. Sounds good. > In general, tools have been adapted to unset EMERGE_DEFAULT_OPTS, or to ignore > them only when querying the portage db or configuration info through emerge, > and only if the reason was deemed valid, but only in cases of OPTIONS (not > ACTIONS), such as --ask (bug #137637, bug #170540, bug #181309), > --use-pkg{,only} (bug #232304). perl-cleaner uses (or once used) the same code as python-updater wrt binary packages. @Nik: Please followup if it doesn't solve your problem. Thanks everyone for the help - I feel a bit stupid now! It's literally years since I looked at the EMERGE_DEFAULT_OPTS - I can't even remember why I added all those options in the first place. Removing --update alone did not work, but reducing it to just "--alphabetical --ask --keep-going --verbose" has set it off reinstalling 145 packages - which so far are installing without a problem. |