meino.cra...@gmx.de wrote:
Dale<rdalek1...@gmail.com> [10-04-04 08:36]:
Nikos Chantziaras wrote:
On 04/04/2010 08:18 AM, meino.cra...@gmx.de wrote:
Hi,
this is no security issue in sense of attacks...it is related
to the consistency of the system.
Simple question (and may be complicate to answer... ;) )
How can I check, that my Gentoo system is uptodate
emerge --sync&& emerge -uDN world
consistent and sane?
Define "consistent" and "sane". Those words don't say anything,
really.
You may also want to run revdep-rebuild as well. If you are talking
about your packages being "sane". That should catch anything that has
broken links or something else that leads to a package needing to be
recompiled.
Dale
:-) :-)
Hi Dale,
revdep-rebuild is currently running! :)
This was the only tool I knew before posting my question here :)
:)
Best regards,
mcc
When I do my updates, I always do the following:
eix-sync # This does my emerge --sync for me and updates eix since I
use it sometimes for the FAST searches
emerge -uvDNa world # My system is set up so that world includes
system so this catches everything including deep dependencies (D) and
changes of USE flags (N).
I then check USE flags and anything else that may be odd. If I need to
change something, I answer NO and repeat until I get it like it should
be. After emerge finishes:
emerge -p --depclean # I run that about once a month or if I know
something is unneeded and should be removed. If it looks sane, I rerun
without the -p. You could use -a I guess.
revdep-rebuild -i # This makes sure nothing is broken and I run it each
time after the emerge world whether --depclean is ran or not. It
sometimes finds something broke and fixes it so I figure it is safer to
run it and it do nothing than to not run it and something be broken.
One more optional thing to run, python-updater. If I see python being
updated, I run that too. Note: Python 3 should be popping its head up
if it hasn't already. If it does, do NOT switch the system to it. A
lot of packages do not work with it yet. If you switch to it, you can
keep the pieces if it breaks. Sane thoughts did not prevail on -dev so
you either have to mask it locally or it will be there basically doing
nothing. Don't ask me why they did it. I was against the idea myself.
< shrugs >
That's how I do it and my little rig runs pretty good. I do have
hiccups on occasion but everyone does eventually.
Dale
:-) :-)