|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
how-to list all packages that need upgrading ?
Hello fellas,
on FreeBSD one would issue "pkg_version -L =" and would get a list of all packages that have newer version in the ports and are available for updating. I know "pkg_add -u <pkg_name>" updates 1 package or if issues without a package name it updates everything, but is there a way to get a list of all packages that have updates available ? |
|
|||
Quote:
Code:
-e pkg-name This option allows you to test for the presence of another (perhaps prerequisite) package from a script. If the package identified by pkg-name is currently installed, return 0, otherwise return 1. In addition, the names of any package(s) found installed are printed to stdout unless turned off using the -q option. The given pkg-name is actually a package specification, as described in packages-specs(7). For example, pkg_info -e 'name->=1.3' will match versions 1.3 and later of the name package. -e pkg-path Another variant of this option that uses a package path instead. A package path is a location within the ports tree, as described in FULLPKGPATH in bsd.port.mk(5). For example, pkg_info -e x11/kde/base3 will match any package that was compiled according to ${PORTSDIR}/x11/kde/base3. |
|
|||
EDIT : deleted because it was a FreeBSD solution using Portmaster, not for OpenBSD
|
|
|||
I don't believe there are stable packages being built yet, so, this isn't exactly an issue for the most part.
jggimi has the right idea, grab the ports.tar.gz tarball and update to OPENBSD_4_7 or your stable branch, and you'll get an idea what ports have been updated via the output (..use cvs -q) or after updating run the out-of-date script and manually build any updates relevant to your system. I may be wrong about the available of stable packages though, haven't reconfirmed this yet. |
|
|||
It will be good for you to begin familiarizing yourself with the Upgrade Guide:
http://www.openbsd.org/faq/upgrade47.html Note, the link above is for upgrading from OpenBSD 4.6 to 4.7. Once OpenBSD 4.8 is officially released in November, the project's Website will be updated with the OpenBSD 4.7 to 4.8 Upgrade Guide. Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
List of 4.7 packages? | guitarscn | OpenBSD Packages and Ports | 5 | 23rd August 2010 05:37 PM |
OpenBSD mailing list | Mr-Biscuit | Off-Topic | 4 | 2nd May 2010 04:06 PM |
I need a list of websites that my isp deny | undercoverdaememon | Off-Topic | 5 | 14th April 2010 04:01 AM |
How to get a list of volumes? | PeterSteele | Programming | 12 | 17th July 2008 09:32 AM |
Upgrading and rebuilding ALL packages/ports | chill | FreeBSD Ports and Packages | 8 | 16th June 2008 04:55 AM |