Upgrading packages using binaries
Kris Kennaway
kris at obsecurity.org
Sun May 1 13:23:43 PDT 2005
On Sun, May 01, 2005 at 10:46:55AM +0200, Bjarne Wichmann Petersen wrote:
> > > My question: is there any way to upgrade packages to the latest available
> > > version on the mirrors
> > Yes, you're using it.
>
> In theory, yes. But in practice, no. I've just spend an entire day upgrading
> my ports/packages, constantly keeping my eye on portupgrade so I could fix
> the many stumblingblocks that came during the process.
>
> Portupgrades "fallback" to download from ../Latest/. Several times the latest
> port didn't meet the version requirement, that portupgrade demanded, so
> portupgrade bails out. I had to build several ports before portupgrade would
> continue with the binary upgrade.
>
> Less than optimal, and a waste of bandwith, since portupgrade repeatedly
> downloaded "outdated" packages from the mirrors.
BTW, this is presumably because you upgraded some of your ports from
source recently (to versions newer than those on the ftp site at the
time) and then wanted to update the rest from packages. If you'd been
using packages only I'd expect it to be satisfied with the packages on
the ftp site.
> > > and/or a way to cvsup the portstree to the version the
> > > binary packages have been built from?
> > No, sorry. Usually the -stable packages don't get so far behind,
> > except around release time when all the build activity goes there. I
> > just finished a build and updated them though, so you should be able
> > to retry once your favourite mirror has updated.
>
> Would it be possible to check the version of the available package
> in ../Latest/ BEFORE downloading? Because then one could compare it with the
> local installed version and download and install if it were a newer version?
You'd have to talk to the portupgrade author (or submit a patch),
although he seems to be MIA.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050501/68242636/attachment.bin
More information about the freebsd-ports
mailing list