Date: Thu, 27 Feb 2003 13:54:51 +0000 From: Yann Golanski <yann@kierun.org> To: "Brian T. Schellenberger" <bts@babbleon.org> Cc: Gordon Broom <gjbroom@alumni.uwaterloo.ca>, ajs@labs.mot.com, freebsd-stable@freebsd.org Subject: Re: Upgrading ports and such Message-ID: <20030227135451.GA31745@kierun.org> In-Reply-To: <200302270829.36028.bts@babbleon.org> References: <58951.1046312634@selfstyled.dyndns.org> <200302270829.36028.bts@babbleon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Quoth Brian T. Schellenberger on Thu, Feb 27, 2003 at 08:29:36 -0500
> FWIW, I have found only one way to update my ports / packages and get
> things to work reasonably realiably: I completely wipe out my old
> system and replace it when I choose to upgrade at all.
That is a lot of over kill. I use the following little script:
#!/bin/sh
# portupgrade script.
day=`date +%d`
month=`date +%b`
year=`date +%Y`
/usr/local/bin/cvsup -g -L 2 /usr/ports/GRIDLOCK.cvsup
/usr/local/sbin/pkgdb -F
/usr/bin/tar zvcf /var/db/$year-$month-$day-pkg.tgz /var/db/pkg
/usr/local/sbin/portupgrade -v -x mailman -ra -l
/usr/ports/LATEST.update
/usr/bin/grep -v '^\-' /usr/ports/LATEST.update
Where /usr/ports/GRIDLOCK.cvsup is:
*default tag=.
*default host=cvsup.uk.FreeBSD.org
*default prefix=/usr
*default base=/usr/local/etc/cvsup
*default release=cvs delete use-rel-suffix compress
ports-all
And it upgrades everything for me. No trouble at all.
> I realize that "portupgrade" does wonderful things for a number of
> people and it may work well for those of you who update your whole
> systems weekly or so, but I have had very little luck with it myself.
Try the above scripts.
--
yann@kierun.org -=*=- www.kierun.org
PGP: 009D 7287 C4A7 FD4F 1680 06E4 F751 7006 9DE2 6318
IRC: nick kierun, server spod.uk.amiganet.org, channel #sanctus
NNGS: nick kierun, server nngs.cosmic.org, port 9696.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+Xhiq91FwBp3iYxgRAjldAJ4+SzPYXI5YXRmnQbLYtjsOf0JBcQCgmNaj
rTaRdiRuX8YgdhkOQ/Hz4XI=
=W9Hw
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030227135451.GA31745>
