On 9/11/07, Mark Shields <[EMAIL PROTECTED]> wrote:
>
> On 9/11/07, Jesús Guerrero <[EMAIL PROTECTED]> wrote:
> >
> > On Wed, 12 Sep 2007 00:48:03 +0300
> > Thanasis <[EMAIL PROTECTED]> wrote:
> >
> > > on 09/12/2007 12:32 AM Neil Bothwick wrote the following:
> > > > Hello Thanasis,
> > > >
> > > >> Why does "emerge --update" suddenly want to remove sys-power/acpid?
> > > >
> > > > emerge --update doesn't remove anything. Post your emerge command
> > and
> > > > the output of it with --pretend added so that we may understand what
> > you
> > > > mean. Adding --tree too is a good idea.
> > > >
> > > You're right.
> > > I meant emerge -av --depclean
> >
> > That means that the package
> >
> > 1.- it is not in the world file (/var/lib/portage/world), _and_
> > 2.- it is not a dependency of any package that is on the world file
> >
> > That could happen for many reasons. For example, if acpid was
> > installed as a dependency of a given package, and that package
> > has been uninstalled. If can also happen if you emerged it with
> > -1 or --oneshot. It can also be just a case of corruption in the
> > world file. It can happen.
> >
> > The solution is as easy as to emerge that package again, without
> > --oneshot, so it will be added to the world file.
> >
> > --
> > Jesús Guerrero <[EMAIL PROTECTED]>
> > --
> > [EMAIL PROTECTED] mailing list
> >
> >
> --oneshot is unnecessary; if the package is already installed and you just
> want to add it to the world file, use the --noreplace option.
>
> --
> - Mark Shields


I'm not thinking straight.  --oneshot doesn't change anything concerning the
world file.  --noreplace adds a package to the world file without actually
emerging it.

-- 
- Mark Shields

Reply via email to