Skip site navigation (1)Skip section navigation (2)
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

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030227135451.GA31745>