Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 01:51:38 +0200
From:      Benjamin Lutz <benlutz@datacomm.ch>
To:        freebsd-questions@freebsd.org
Cc:        Joe <dev@freedomcircle.net>
Subject:   Re: pkg_upgrade?
Message-ID:  <200605300151.42563.benlutz@datacomm.ch>
In-Reply-To: <447B86F3.6070500@freedomcircle.net>
References:  <447B86F3.6070500@freedomcircle.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart9916830.crpbD5AmJP
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 30 May 2006 01:42, Joe wrote:
> Hi,
>
> I've read the documentation and it seems there's no pkg_upgrade or
> pkg_update, or a way to install an updated/upgraded package.  I'd like
> to determine if that is indeed the case.
>
> [...]
>
> The documentation mentions portupgrade and portmanager as mechanisms to
> upgrade ports, but if I'm not mistaken these invoke source updates, not
> a binary upgrade as was done for the OS.  It appears that the only way
> to upgrade in binary form is to use pkg_delete -f to remove each
> package, e.g., expat 1.98, and then pkg_add to get the newer (2.0)
> version.  And then you have to be extra careful with dependencies
> between packages.
>
> [...]

portupgrade actually does support packages as well. Use the --use-packages=
=20
switch. It will look for local packages, remote packages, and if both fail,=
=20
fall back to compiling the ports.

Cheers
Benjamin

--nextPart9916830.crpbD5AmJP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEe4kOgShs4qbRdeQRApXVAJ4ognvfnbDeCwc+zNz2ikK/cT+5/gCff3+E
ZnObumnnFBpfc9iYWLgH+YA=
=/qrm
-----END PGP SIGNATURE-----

--nextPart9916830.crpbD5AmJP--



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