You could use a similar method, though. How about:
# cd /var/db/pkg
# emerge --oneshot `ls *-*/* | awk '{print "=" $0}'`
That should re-emerge everything without adding it all to the world
file. The problem with this method, though, is that it is not
restartable. If I want to rebuild everything I usually use something
similar to the following method:
# cd /var/db/pkg
# ls *-*/* | awk '{print "=" $0}' > /root/pkgs
# for i in `cat /root/pkgs`; do emerge --oneshot $i && (grep -v $i
/root/pkgs > /root/pkgs2; mv /root/pkgs2 /root/pkgs) done
Once it's done, you're left with a list of packages that couldn't be
emerged for one reason or another which can then be investigated.
BTW, sorry for Outlook.
-----Original Message-----
From: Jeffrey Smelser [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 7:56 AM
To: [EMAIL PROTECTED]
Subject: RE: [gentoo-user] rebuild all
Actually, that's every package there is an ebuild for, not on the
system. Which is what he wants..
> No??
>
> So why does it work on my system?? And what the hell does
> that command do?? This to me looks like your installing every
> package on the system, why would you want to do that?
>
> > > > emerge -ep world..
> > >
> > > Would thta also include all packages which are
> > > not depended on by any of the world packages
> > > or their dependencies ?
> >
> > nope! why would it?
> > for this you have to do:
> >
> > cd /usr/portage
> > emerge *-*/*
> >
> > but first you should remove package.mask
> > ;-)
--
[EMAIL PROTECTED] mailing list
--
[EMAIL PROTECTED] mailing list