Siju George wrote:
it didn't update my packages. Could someone please tell me what I missed
out?
# echo $PKG_PATH
ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/
#
# pkg_add -uF mozilla-firefox-1.5.0.1
Error from ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/:
Unknown command.
Candidates for updating clamav-0.88 -> clamav-0.88 clamav-0.88.2
Ambiguous: clamav-0.88 could be clamav-0.88 clamav-0.88.2
As others have pointed out, -F requires keywords.
In a case where you have multiple upgrade choices, use "-i" so it will
prompt you which you want to install.
Try: pkg_add -ui mozilla-firefox
This will upgrade Firefox, prompting for any "choices" pkg_add is faced
with.
Or, run: pkg_add -ui
This will upgrade ALL ports, again prompted for decisions when necessary.
As Henning said, pkg_add -u is VERY mature now. I've upgraded several
OpenBSD 3.8 boxes to 3.9 using upgrade from the CD, pkg_add -ui and
mergemaster. It's a VERY clean process. And very easy.
-ME
--
Support OpenBSD: http://www.openbsd.org/orders.html