Re: Upgrade a binary package
This thread has been interesting: On Fri, 15 Dec 2006, RW wrote: Date: Fri, 15 Dec 2006 00:17:42 + From: RW [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Re: Upgrade a binary package On Thursday 14 December 2006 20:55, Gerard Seibert wrote: On Thursday December 14, 2006 at 03:11:30 (PM) Kris Kennaway wrote: ... I only find info on pkg_add and pkg_delete for binary packages, the only references to updating a package give directions on how to use the ports tree. Is there a way to update an installed package with a newer version? sysutils/portupgrade is the usual tool. I think portmaster can do this too. portmanager lang/expect -l Portmanager cannot upgrade from binary packages - only from ports. One thing that hasn't been mentioned is that the packages for a release are not normally updated. From the handbook, 4.4.1 Installing a Package: Note: pkg_add(1) will download the latest version of your application if you are using FreeBSD-CURRENT or FreeBSD-STABLE. If you run a -RELEASE version, it will grab the version of the package that was built with your release. It is possible to change this behavior by overriding the PACKAGESITE environment variable. See the manual for how to fetch 6-stable packages But, how to do this using portupgrade? I have: #uname -a FreeBSD freebsd.connect-a.com.au 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5A and in /usr/local/etc/pkgtools.conf we see: OS_PKGBRANCH=6-stable but when I try portupgrade, this is what happens: ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.1-release/ That is, portupgrade always tries the release version and, of course, the stable version is not there. If I manually try the above ftp location, it is possible to navigate to .../packages-6-stable. How can I make portupgrade do what it is told and get to this stable branch? Do I have to cvsup the system to 6-STABLE (which I intend to do fairly soon anyway)? Do I have to manually retrieve the stable packages? The portupgrade command is: portupgrade -rPn kde (the n is there at the moment for testing). Any ideas as to where to look would be great (the Handbook as installed on my 6.1 release is no help in this area). Thanks heaps. Cheers, Rob Hurle - Rob Hurle Faculty of Asian Studies, ANU Home address and contacts: Tel: +61 2 6247 2397 PO Box 4013Fax: +61 2 6247 2397 AinslieCell phone: 0417 293 603 Australia e-mail: [EMAIL PROTECTED] - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade a binary package
Rob Hurle wrote: But, how to do this using portupgrade? I have: #uname -a FreeBSD freebsd.connect-a.com.au 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5A and in /usr/local/etc/pkgtools.conf we see: OS_PKGBRANCH=6-stable but when I try portupgrade, this is what happens: ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.1-release/ Set PACKAGESITE. For sh: export PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/; Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrade a binary package
I've been searching the manual and the man pages, but I can't seem to find a command to update an installed package to a newer version. I always get a message like this: pkg_add: package 'expect-5.43.0_1' or its older version already installed I only find info on pkg_add and pkg_delete for binary packages, the only references to updating a package give directions on how to use the ports tree. Is there a way to update an installed package with a newer version? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade a binary package
On Thu, Dec 14, 2006 at 12:46:05PM -0700, Eric Brunson wrote: I've been searching the manual and the man pages, but I can't seem to find a command to update an installed package to a newer version. I always get a message like this: pkg_add: package 'expect-5.43.0_1' or its older version already installed I only find info on pkg_add and pkg_delete for binary packages, the only references to updating a package give directions on how to use the ports tree. Is there a way to update an installed package with a newer version? sysutils/portupgrade is the usual tool. I think portmaster can do this too. Kris pgpE4zZ93tjb8.pgp Description: PGP signature
Re: Upgrade a binary package
On Thursday December 14, 2006 at 03:11:30 (PM) Kris Kennaway wrote: I've been searching the manual and the man pages, but I can't seem to find a command to update an installed package to a newer version. I always get a message like this: pkg_add: package 'expect-5.43.0_1' or its older version already installed I only find info on pkg_add and pkg_delete for binary packages, the only references to updating a package give directions on how to use the ports tree. Is there a way to update an installed package with a newer version? sysutils/portupgrade is the usual tool. I think portmaster can do this too. portmanager lang/expect -l -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade a binary package
On Thursday 14 December 2006 20:55, Gerard Seibert wrote: On Thursday December 14, 2006 at 03:11:30 (PM) Kris Kennaway wrote: ... I only find info on pkg_add and pkg_delete for binary packages, the only references to updating a package give directions on how to use the ports tree. Is there a way to update an installed package with a newer version? sysutils/portupgrade is the usual tool. I think portmaster can do this too. portmanager lang/expect -l Portmanager cannot upgrade from binary packages - only from ports. One thing that hasn't been mentioned is that the packages for a release are not normally updated. From the handbook, 4.4.1 Installing a Package: Note: pkg_add(1) will download the latest version of your application if you are using FreeBSD-CURRENT or FreeBSD-STABLE. If you run a -RELEASE version, it will grab the version of the package that was built with your release. It is possible to change this behavior by overriding the PACKAGESITE environment variable. See the manual for how to fetch 6-stable packages ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade a binary package
On Thu, 14 Dec 2006 15:11:30 -0500 Kris Kennaway wrote: On Thu, Dec 14, 2006 at 12:46:05PM -0700, Eric Brunson wrote: I've been searching the manual and the man pages, but I can't seem to find a command to update an installed package to a newer version. I always get a message like this: pkg_add: package 'expect-5.43.0_1' or its older version already installed I only find info on pkg_add and pkg_delete for binary packages, the only references to updating a package give directions on how to use the ports tree. Is there a way to update an installed package with a newer version? sysutils/portupgrade is the usual tool. I think portmaster can do this too. portupgrdae -P will try to use a package and then fall back to building a port and portupgrade -PP will try to use only packages while portmaster is not capable (so far?) to use packages. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]