Date: Sun, 23 Jun 2002 18:58:55 -0400 (EDT) From: doug <doug@safeport.com> To: Jon Noack <noackjr@compgeek.com> Cc: Jeff Penn <jeff@jrpenn.demon.co.uk>, freebsd-questions@freebsd.org Subject: RE: portupgrade with package Message-ID: <Pine.BSF.3.96.1020623185517.1673A-100000@fledge.watson.org> In-Reply-To: <NFBBIJDHKLKEJHKFMLBHCELJCBAA.noackjr@compgeek.com>
next in thread | previous in thread | raw e-mail | index | archive | help
And then this works how?? zeus:/home/doug/temp# pkg_add -r XFree86-4.2.0_1,1.tgz Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/XFree86-4.2.0_1,1.tgz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch `ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/XFree86-4.2.0_1,1.tgz' by URL This tar is structured like a port except that it (presumably) points to compiled source. I previously downloaded the file following a slightly different path. But if diff'ing the files they are the same. Certainly they give the same error (for me). Files in the tar ball are: +CONTENTS +COMMENT +DESC +DISPLAY +MTREE_DIRS On Sat, 22 Jun 2002, Jon Noack wrote: > > You're getting confused about what ports and packages are. First off, > > they're not the same thing. > > I would reread the handbook section on ports/packages. This page is > > particularly informative for you: > > http://www.freebsd.org/handbook/x4300.html > > To summarize, the ports tree doesn't require a tag and is for all versions. > Certain ports may require specific versions of FreeBSD, but this is port > specific and is not systemic. An example of the universal nature of the > port system can be seen in the Makefile for the OpenSSL port: > > .if exists(/usr/lib/libssl.a) && ${OSVERSION} >= 460000 > FORBIDDEN= "OpenSSL is already in the base system" > .endif > > The OpenSSL port will not install (by default) on FreeBSD 4.6 (and -STABLE > and -CURRENT) because an updated version of it is already installed. For > > Packages, on the hand, are ports built for specific branches (or for > releases). If you are running 4.5-RELEASE-p4, you would not want to run a > package built for -CURRENT. It would most likely fail to work at all. Look > into setting PACKAGESITE > (PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/ > All/) and then try the update. Or, just download the file > (ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All/XFree86- > 4.2.0_1,1.tgz) to /usr/ports/distfiles manually and then run the update. I > don't use packages so I'm sure there is some more permanent and clean way to > make this work in the future. > > Jon > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1020623185517.1673A-100000>