Gentoo Archives: gentoo-user

From: Mark Shields <laebshade@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why unmerge acpid ?
Date: Tue, 11 Sep 2007 23:13:29
Message-Id: 642958cc0709111555tc6971a1r7fba9cbdc4976047@mail.gmail.com
1 On 9/11/07, Mark Shields <laebshade@×××××.com> wrote:
2 >
3 > On 9/11/07, Jesús Guerrero <i92guboj@×××××.es> wrote:
4 > >
5 > > On Wed, 12 Sep 2007 00:48:03 +0300
6 > > Thanasis <thanasis@××××××××××.org> wrote:
7 > >
8 > > > on 09/12/2007 12:32 AM Neil Bothwick wrote the following:
9 > > > > Hello Thanasis,
10 > > > >
11 > > > >> Why does "emerge --update" suddenly want to remove sys-power/acpid?
12 > > > >
13 > > > > emerge --update doesn't remove anything. Post your emerge command
14 > > and
15 > > > > the output of it with --pretend added so that we may understand what
16 > > you
17 > > > > mean. Adding --tree too is a good idea.
18 > > > >
19 > > > You're right.
20 > > > I meant emerge -av --depclean
21 > >
22 > > That means that the package
23 > >
24 > > 1.- it is not in the world file (/var/lib/portage/world), _and_
25 > > 2.- it is not a dependency of any package that is on the world file
26 > >
27 > > That could happen for many reasons. For example, if acpid was
28 > > installed as a dependency of a given package, and that package
29 > > has been uninstalled. If can also happen if you emerged it with
30 > > -1 or --oneshot. It can also be just a case of corruption in the
31 > > world file. It can happen.
32 > >
33 > > The solution is as easy as to emerge that package again, without
34 > > --oneshot, so it will be added to the world file.
35 > >
36 > > --
37 > > Jesús Guerrero <i92guboj@×××××.es>
38 > > --
39 > > gentoo-user@g.o mailing list
40 > >
41 > >
42 > --oneshot is unnecessary; if the package is already installed and you just
43 > want to add it to the world file, use the --noreplace option.
44 >
45 > --
46 > - Mark Shields
47
48
49 I'm not thinking straight. --oneshot doesn't change anything concerning the
50 world file. --noreplace adds a package to the world file without actually
51 emerging it.
52
53 --
54 - Mark Shields