Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 13:25:49 -0700
From:      kstewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Cc:        Mark Ovens <marko@freebsd.org>
Subject:   Re: Package version problem with portupgrade(1)
Message-ID:  <200409011325.49247.kstewart@owt.com>
In-Reply-To: <413625D0.1080004@freebsd.org>
References:  <413625D0.1080004@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 01 September 2004 12:41 pm, Mark Ovens wrote:
> FreeBSD postie 4.9-RELEASE FreeBSD 4.9-RELEASE #1:
> Sun Mar 21 19:46:39 GMT 2004
>       root@postie:/usr/obj/usr/src/sys/POSTIE  i386
>
> I'm trying to upgrade cups-base on this system, using packages (as the
> machine doesn't really have enough grunt for building ports), with
> portupgrade, but it is trying to get the wrong version:
>
> postie# portupgrade -RPPv cups-base
> --->  Session started at: Wed, 01 Sep 2004 17:27:46 +0100
> --->  Checking the availability of the latest package of 'graphics/png'
> --->  Fetching the package(s) for 'png-1.2.5_8' (graphics/png)
> --->  Fetching png-1.2.5_8
> ++ Will try the following sites in the order named:
>          ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.9-release/
> --->  Invoking a command: /usr/bin/fetch -o '/var/tmp/png-1.2.5_8.tgz'
> 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/png-
>1.2.5_8.tgz' fetch:
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/png-1
>.2.5_8.tgz: File unavailable (e.g., file not found, no access)
> ** The command returned a non-zero exit status: 1
> ** Failed to fetch
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/png-1
>.2.5_8.tgz
>
> The actual file in ports/i386/packages-4.9-release/All/ is png-1.2.5_2
>
> I'm guessing that this is caused because my ports tree was cvsup'd and
> so is more up to date than the packages built for 4.9-RELEASE. Thing is,
> how to deal with it? I could set $PKG_SITES in pkgtools.conf to use
> packages-4.9-release/Latest but the files there have no version number
> at all, e.g. png.tgz
>
> What's the best solution here - before I go and screw my system ;-)

Well, png is up to png-1.2.5_8 and if you did a recent cvsup and recreated 
your INDEXs, that is what you should be seeing. Staying behind is a good way 
to end up with a security black hole :). A cvsup of ports-all and a portsdb 
-uU should be a good way to keep your system current.

Kent

>
> Thanks.
>
> Regards,
>
> Mark
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
Support the Bison at http://www.buffalofieldcampaign.org/



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