Hi everyone,
I'm just posting this for the case that anybody wants to know about how to update a gentoo box. I created a script because i usually don't like to type all the stuff by hand everytime.
Please correct me if my comments are wrong..
Here we go:
#!/bin/bash
# the following line is only needed if you're running # distcc. It guarantees that make will spawn the correct # number of jobs. It is not enough to follow the gentoo-distcc # manual, because /etc/make.conf is not used by make itself, # as the filename might suggest. Several packages are building & # executing sub-makefiles which are not launched by emerge itself, # so /etc/make.conf won't be used with every package, and as a # result, distcc won't always work without the following line. # alias make="make -j5"
# the following line is optional and just calls the # distcc monitor for gnome: DISTCC_DIR=/var/tmp/portage/.distcc distccmon-gnome &
# now for the update command. Please note the uppercase -U # command, which is required instead of -u for the case that # some of the installed packages have been emerged with the # ACCEPT_KEYWORDS="~x86" setting, which i sometimes use to # get a newer version than the one that is marked as stable, # which is sometimes very old. I guess that many gentoo users # make use of the ~x86 keyword here and there. # However, using -u (lowercase) instead would accidently # downgrade all these packages. # The caveeat is that some of the newer packages that have # been marked as unstable again (after being marked as stable) # won't be downgraded to the latest 'stable' version. # # Never ever forget the --oneshot option, or you can forget # the depclean feature of emerge. The --oneshot option makes # sure that nothing will be added to your 'world' favorites # file. This is important because the following emerge command # will *explicitly* emerge all currently installed packages. # # The $* parameter just enables the opportunity to pass further # options to the script itself, like -p (pretend), so you # can also use the script for upgrade checking without # installing anything. # emerge --oneshot -U `qpkg -nc -I` -v $*
-- [EMAIL PROTECTED] mailing list
