From owner-freebsd-questions Sun Jun 23 15:59:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 29A7737B400 for ; Sun, 23 Jun 2002 15:59:00 -0700 (PDT) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.3/8.12.3) with ESMTP id g5NMwuw5010516; Sun, 23 Jun 2002 18:58:57 -0400 (EDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.12.3/8.12.3/Submit) with SMTP id g5NMwu09010513; Sun, 23 Jun 2002 18:58:56 -0400 (EDT) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Sun, 23 Jun 2002 18:58:55 -0400 (EDT) From: doug X-Sender: doug@fledge.watson.org To: Jon Noack Cc: Jeff Penn , freebsd-questions@freebsd.org Subject: RE: portupgrade with package In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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