Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] 2005.1 profile gives devfs as virtual
Date: Mon, 05 Sep 2005 11:28:11
Message-Id: 200509052025.27868.jstubbs@gentoo.org
In Reply to: Re: [gentoo-dev] 2005.1 profile gives devfs as virtual by Jason Stubbs
1 On Monday 05 September 2005 19:39, Jason Stubbs wrote:
2 > On Monday 05 September 2005 03:24, Mike Williams wrote:
3 > > On Sunday 04 September 2005 15:11, Philip Webb wrote:
4 > > > Having gone over to Udev, I went to unmerge Devfs & got a big red
5 > > > warning. It appears that the 2005.1 profile gives Devfs as a virtual:
6 > > > is this an oversight or is there a reason behind it ?
7 > > > I would have assumed that Udev would now be the required device
8 > > > manager.
9 > >
10 > > You installed using an earlier profile, obviously, when devfs was the
11 > > default for virtual/dev-manager (otherwise you wouldn't have it
12 > > installed). Because the profile depends on a virtual any attempt to
13 > > remove a package providing that virtual will throw up the warning.
14 > > Exactly the same symptom you're seeing with editors on -user.
15 >
16 > Yeah, you're right. virtual/editor is a terrible case. :/
17 >
18 > Okay, it's possible that unmerging slotted packages of the one key may
19 > break your system. How's about not warning if there's more than one
20 > installed cat/pkg (rather than cat/pkg-ver) satisfying the profile atom
21 > that is being triggered?
22
23 This patch follows that rule. Specifically, only one provider yields a
24 warning (even with >1 slotted installation of said package) and multiple
25 providers doesn't. Care to give it a go?
26
27 --
28 Jason Stubbs

Attachments

File name MIME type
syspkgs-multiple-providers-fix.patch text/x-diff

Replies

Subject Author
Re: [gentoo-dev] 2005.1 profile gives devfs as virtual Philip Webb <purslow@×××××××××.ca>