Improv FreeBSD system administration
One drawback of a system that's giving you very little trouble is that between bouts of fixing whatever does occasionally go wrong you forget what you're supposed to do. We should all be this lucky, but it's still an annoyance.
FreeBSD, for example, will sometimes turn up a damaged package or two in response to #portaudit
. The procedure for that, according to the relevant chunk of the FreeBSD Handbook is that you only need #portsnap extract
when you run #portsnap fetch
for the first time. After that, you already have a ports tree on your system, and all you need is #portsnap update
.
Had I remembered that, I wouldn't be sitting here writing this post while my ports tree is rebuilding itself for no good reason. On the same topic (of things to remember): according to the same FreeBSD Handbook, I should run #pkgdb -F
once in a while, pretty much before every #portupgrade
. An overview of what that does is here.