LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (http://www.linuxquestions.org/questions/%2Absd-17/)
-   -   [OpenBSD 3.9] pkg_add -u (http://www.linuxquestions.org/questions/%2Absd-17/%5Bopenbsd-3-9%5D-pkg_add-u-455282/)

noir911 06-16-2006 12:44 AM

[OpenBSD 3.9] pkg_add -u
 
I have just upgraded from OpenBSD 3.8 -> 3.9. I set my PKG_PATH to
ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/

and did a pkg_add -u but it doesn't update all the packages and just compare them
Quote:

Error from ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/:
Unknown command.

Candidates for updating atk-1.10.1 -> atk-1.10.3p1
but if I do pkg_add -u nmap it upgrades nmap and all the dependencies.

taylor_venable 06-16-2006 08:27 AM

I also recently did an upgrade from 3.8 to 3.9, and using the syntax on the OpenBSD Upgrade Mini-FAQ
Code:

pkg_add -ui -F update -F updatedepends
worked for me. Maybe since you're telling it to upgrade packages for which no update information is available (since they were installed under 3.8 which had no update capability) it doesn't actually do the update unless you force it with the -F option.


All times are GMT -5. The time now is 11:46 AM.