Well, like you just said with Arch on updating, it does the same exact thing for Gentoo on the based of updating a out of date system. Now I can't say on Arch on how difficult it is to update a out of date system, but the trend I've seen (may very be wrong), but binary distros tend to be easier than compile based ones. Generally, updating weekly will be safe, maybe even bi-weekly. I wouldn't do longer than a monthly that the most. Updating kernels, I'd say you'll be relatively safe on not updating frequently. On my system, I've been staying at 3.18.5 just because I haven't seen a reason to update to a newer version.I later gravitated to Arch because of its rolling-release character and, once I'd come up with an update strategy that worked for my circumstances, things came together well. I initially had a bit of difficulty remembering to update/upgrade which, with a distro like Arch (and to some extent with with Debian unstable), can get you into trouble: the further your system gets out of date, the more difficult it becomes to upgrade. In fact, as I discovered, there comes a point with Arch where updating an out-of-date system demands about as much time and energy as doing an installation from scratch. I assume things are similar in the Gentoo world?

Code: Select all
#!/bin/bash
# update portage and world if needed
source /etc/profile;
stamp="/usr/portage/metadata/timestamp.x"
if [ -f "$stamp" ]
then
rm /usr/portage/metadata/timestamp.x
fi
emerge-webrsync &&
emerge --update --deep --with-bdeps=y @world &&
emerge --depclean &&
revdep-rebuild &&
eclean -d distfiles &&
exit 0 I've discovered how the tmux aspect of this scheme could work for my purposes. Let's say the script I pasted above is called update.sh. In order to open a new tmux tab/window (in an existing tmux session) and cause that script to run in it, the cron command should probably contain something likejamtat wrote:I'm usually logged into this system via ssh and with a tmux session running. So if I could, once every month or two, cause a new tmux tab to open running that script (though I'd probably add --ask to emerge --update --deep --with-bdeps=y @world so I could better monitor what's happening), it might well suit my needs.
Code: Select all
tmux new-window -n system-update '/path/to/update.sh'I use a central server to do updates and downloads. if you are interested in that, it's in the wiki somewhere. Look for "local portage server". If you only have one box, what i have to say pertains that box or the central server if you have multiple boxes.jamtat wrote:
One thing I'm still a bit unclear about though is the following. In the wiki, three upgrade commands are presented and explained: 1) emerge --update --ask @world, 2) emerge --update --deep @world, and 3) emerge --update --deep --with-bdeps=y @world. About the third command, the wiki says "it is recommended to run this command once in a while." The question I have is, given my hope of setting up a semi-automated upgrade scheme, which of the first two commands should I be running, say, once per month? I would think number two, since it's more comprehensive than number one. I'm not sure, then, why running number one would even be needed in such a scheme as I hope to implement. Can anyone offer feedback on that?
Instead, in my scheme I would probably wind up running emerge --update --deep --ask @world most regularly (maybe with emerge --update --deep --pretend @world the day before, as explained above). Then, every three months or so, I'd run emerge --update --deep --ask --with-bdeps=y @world. I've still got to work out how I'd introduce other commands that are often needed such as emerge --depclean, emerge @preserved-rebuild, etc-update, and so on.
Further input will be appreciated.
The boxed default cooling Block ar to small for systems that really use the CPU with 100% and more the 7 Min Upgrade it and better Cooling = more life timeTony0945 wrote:the BIOS starts its overheat warning beeps

ALWAYS do "emerge -a --depclean" or you might lose entire packages that you want. I once lost gcc that way and it was a pain to get back.C5ace wrote: emerge --depclean
revdep-rebuild
The OP was pretty long and perhaps not many are reading it carefully, but a central point there did not really have to do with the amount of time updating/upgrading requires. Rather, it had to do with remembering to update/upgrade, and perhaps additionally with the propensity to be more and more reluctant to update/upgrade as the system gets further out of date, owing to the fact that the process becomes increasingly more difficult (more problems are likely to arise as a system becomes further and further out of date). So your remarks do not really address one of the main concerns.Buffoon wrote:Upgrading Gentoo in routine manner, say once a week is not a time consuming task.
Code: Select all
tmux -n sync+news "/bin/sh -c '/usr/bin/emerge --sync && eselect news list; exec bash'"Code: Select all
00 03 * * Mon /usr/bin/tmux new-window -n sync-news "/bin/sh -c '/usr/bin/emerge --sync && eselect news list; exec bash'"Code: Select all
00 04 * 1,2,3,5,6,7,9,10,11 Mon [ $(date +\%d) -le 07 ] && /usr/bin/emerge --pretend --update --deep @world >/home/me/emerge-world.txt
00 04 * 4,8,12 Mon [ $(date +\%d) -le 07 ] && /usr/bin/emerge emerge --pretend --update --deep --with-bdeps=y @world >/home/me/emerge-world_bdeps.txtCode: Select all
00 05 * 1,2,3,5,6,7,9,10,11 Mon [ $(date +\%d) -le 07 ] && /usr/bin/mail -s upcoming-emerge-world-output me@my-email.com </home/me/emerge-world.txt
00 05 * 4,8,12 Mon [ $(date +\%d) -le 07 ] && /usr/bin/mail -s upcoming-emerge-world-bdeps-output me@my-email.com </home/me/emerge-world_bdeps.txtCode: Select all
00 22 * 1,2,3,5,6,7,9,10,11 Mon [ $(date +\%d) -le 07 ] && tmux -n emrg-wrld "/bin/sh -c '/usr/bin/emerge --update --deep --keep-going --ask @world; exec bash'"
00 22 * 4,8,12 Mon [ $(date +\%d) -le 07 ] && tmux -n emrgwrld-bdep "/bin/sh -c '/usr/bin/emerge --update --deep --keep-going --ask --with-bdeps=y @world; exec bash'"