Ticket #144 (new defect)

Opened 9 months ago

Last modified 6 months ago

set implementation shouldn't imply -u

Reported by: mjrosenb@… Owned by:
Priority: minor Milestone: 0.5
Component: pkgcore Version:
Keywords: Cc:

Description

pmerge -s foo should intuitively be the same as cat /etc/portage/sets/foo | xargs pmerge

however, they don't. with pmerge -s only packages that can be upgraded are listed. I would imagine that the -u flag is to filter out packages that aren't being upgraded, so having this as the default functionality of pkgcore should be considered broken

Change History

comment:1 Changed 9 months ago by patrick.borjesson@…

While i cannot say anything about the implementation itself, i would guess pkgcore emulates the way emerge handles the 'system' and 'world' sets in portage. Default behavior of emerge regarding these sets is to not reinstall already installed packages unless you explicitly tell it to (with --newuse or --emptytree, or any other relevant flag)

comment:2 Changed 9 months ago by anonymous

There was actually a discussion about the handling of sets in portage on the portage-dev mailinglist a while back: http://article.gmane.org/gmane.linux.gentoo.portage.devel/2557

comment:3 Changed 9 months ago by ferringb

Take the discussion of this to the ml please; I *personally* lean towards dropping the special behaviour that world/system imply, but that's me.

comment:4 Changed 9 months ago by ferringb

  • summary changed from sets seem to not work properly to set implementation shouldn't imply -u

comment:5 Changed 9 months ago by ferringb

  • priority changed from normal to minor
  • milestone 0.3.5 deleted

comment:6 Changed 6 months ago by masterdriverz

  • milestone set to 0.5

Perhaps we could make this the case when we go to .5

Note: See TracTickets for help on using tickets.