Christian Ehlers wrote:
I am doing the following:
1. qpkg -I -nc |xargs emerge -u
2. revdep-rebuild
I am wondering if this is sufficient? Basically as far as I understand
it, 1. will check for updates on all packages installed, and 2. will
check if anything needs recompiling because a shared library has been
updated.
Anything else I need to do to make sure my system is up2date? Maybe I
missed something in the replies, but as far as I understood it
(admitting that English isn't my 1st or 2nd language) there was no real
solution posted yet?
Should I still do an emerge -u --deep world (+ --newuse if I change the
use variable?)
First: don't use qpkg, it's dead and has several conceptual bugs
(causing for example wrong results for the command you use). New
gentoolkit versions already don't install it anymore (except for a copy
in the docs dir).
As for general update procedure, I'd recommend:
- glsa-check -l $(glsa-check -t new)
- Update those packages first (glsa-check -f new, might cause some
redundant updates though later due to a different update strategy)
- emerge -uavDN world
- emerge -p --depclean
- Check that list and either remove the packages or add them to the
world file
- revdep-rebuild || revdep-rebuild -X
This requires and ensures that your worldfile is always uptodate and
correct, thought you might have already corrupted it with your qpkg
trick (as in some versions -u added a package to world).
Marius
--
[email protected] mailing list