From owner-freebsd-stable Thu Feb 27 5:55:56 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E08F137B401 for ; Thu, 27 Feb 2003 05:55:53 -0800 (PST) Received: from mail.spod.org (opal.spod.org [195.92.99.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id B55C443FAF for ; Thu, 27 Feb 2003 05:55:52 -0800 (PST) (envelope-from yann@spod.org) Received: from yann by mail.spod.org with local (Exim 3.36 #1) id 18oOUt-0008Lk-00; Thu, 27 Feb 2003 13:54:51 +0000 Date: Thu, 27 Feb 2003 13:54:51 +0000 From: Yann Golanski To: "Brian T. Schellenberger" Cc: Gordon Broom , ajs@labs.mot.com, freebsd-stable@freebsd.org Subject: Re: Upgrading ports and such Message-ID: <20030227135451.GA31745@kierun.org> References: <58951.1046312634@selfstyled.dyndns.org> <200302270829.36028.bts@babbleon.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <200302270829.36028.bts@babbleon.org> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > things to work reasonably realiably: I completely wipe out my old=20 > 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=3D`date +%d` month=3D`date +%b` year=3D`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=3D. *default host=3Dcvsup.uk.FreeBSD.org *default prefix=3D/usr *default base=3D/usr/local/etc/cvsup *default release=3Dcvs 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=20 > people and it may work well for those of you who update your whole=20 > systems weekly or so, but I have had very little luck with it myself. Try the above scripts. =20 --=20 yann@kierun.org -=3D*=3D- 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. --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----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----- --u3/rZRmxL6MmkK24-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message