Summary: | sys-apps/portage: "update has been skipped" message is confusing | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=859535 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 611328 |
Description
Sergey S. Starikoff
2016-12-16 18:27:04 UTC
Can you please install portage-2.3.3 and try this same package emerge? There have been a number of bugfixes, of which this might have been one of them. In this case emerge is behaving as designed. Since you have --autounmask=n in EMERGE_DEFAULT_OPTS, it couldn't choose the masked dev-python/regex package, so it chose an older version of app-text/sigil which does not required dev-python/regex. (In reply to Zac Medico from comment #2) > In this case emerge is behaving as designed. Since you have --autounmask=n > in EMERGE_DEFAULT_OPTS, it couldn't choose the masked dev-python/regex > package, so it chose an older version of app-text/sigil which does not > required dev-python/regex. ??? When I ask to install _sigil_ suggestion to do anything after skipping it (user-requested (!) package _sigil_) is something strange and wrong. Is it REALLY designed?!? It did _not_ skip sigil. The warning message gives the reason why it did not choose the latest version. It chose sigil-0.8.7-r1 instead of the latest version: [ebuild N ~] app-text/sigil-0.8.7-r1::gentoo 18940 KiB (In reply to Sergey S. Starikoff from comment #3) > Is it REALLY designed?!? Yes. If you disagree with my explanation, then please explain you you think emerge should behave differently in this case. (In reply to Zac Medico from comment #4) > It did _not_ skip sigil. The warning message gives the reason why it did not > choose the latest version. It chose sigil-0.8.7-r1 instead of the latest > version: > > [ebuild N ~] app-text/sigil-0.8.7-r1::gentoo 18940 KiB Ops. Excuse me. Skipping package's version in error message confused me: > !!! The following update has been skipped due to unsatisfied dependencies: > > app-text/sigil:0 app-text/sigil has the only slot. So both versions (skipped =app-text/sigil-0.9.6 and suggested for installation =app-text/sigil-0.8.7-r1) matches app-text/sigil:0. This is the collision, that confused me. Yeah, these messages can be confusing a first glance. They're not so bad after you've grown accustomed to them. Maybe something like this would help to clarify: !!! The following update has been skipped due to unsatisfied dependencies: app-text/sigil:0 selected: app-text/sigil-0.8.7-r1::gentoo skipped: app-text/sigil-0.9.6::gentoo (see unsatisfied dependency below) Yeah, that looks good Zac. It's a lot better than the existing message. Patch posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/a9317b48c19b5561c455163909c9aead https://github.com/gentoo/portage/pull/80 (In reply to Zac Medico from comment #7) > Yeah, these messages can be confusing a first glance. They're not so bad > after you've grown accustomed to them. Maybe something like this would help > to clarify: > > !!! The following update has been skipped due to unsatisfied dependencies: > > app-text/sigil:0 > > selected: app-text/sigil-0.8.7-r1::gentoo > skipped: app-text/sigil-0.9.6::gentoo (see unsatisfied dependency below) Yes. Reqular experience provedies skills of interpreting this message. When skipping single atom suggested message looks well. But when skipping several atoms it still can confuse. May be it will enough to add some kind of counter add echo additional warning (something like: «latest skipped»), when skipping more than one atom? (In reply to Sergey S. Starikoff from comment #10) > When skipping single atom suggested message looks well. > > But when skipping several atoms it still can confuse. > May be it will enough to add some kind of counter add echo additional > warning (something like: «latest skipped»), when skipping more than one atom? It shows a separate message for each skipped update, so there shouldn't be anything confusing about it, just more similar messages to read. This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=7dc23bc66b410b5a2f9640dc93ca65f5b2678670 Fixed in portage-2.3.5. |