On 3/17/07, Siju George <[EMAIL PROTECTED]> wrote:
On 3/16/07, Marc Espie <[EMAIL PROTECTED]> wrote:
> Wait for 4.2. Sorry, it's not implemented yet. pkg_add doesn't really
> know how to compare versions. And in case you're wondering, it's harder
> than it seems...
>

Thankyou so much marc for the reply :-)
In the mean time what would be the best way to update all packages to
the recent versions?


all right there might not be a way to do that now.

But Some thing Strange here.

I wanted to update the gpgme package from gnupg-1.4.5 -> gnupg-1.4.5p1
During that process it degraded curl-7.15.5 -> curl-7.15.4

So after everything was over I tried to update curl back to curl-7.15.5
But it doesnot do that!
it says there is no  curl-7.15.5
i wonder how I got it installed in the first place then. a bit puzzling.
Could some one please give me a clue?

=========================================================================

$ pkg_add -ui gpgme
/usr/sbin/pkg_add: must be run as root
$ sudo pkg_add -ui gpgme
Error from ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/amd64/:
Unknown command.
Candidates for updating bzip2-1.0.4 -> bzip2-1.0.4 bzip2-1.0.3
Ambiguous: bzip2-1.0.4 could be bzip2-1.0.3 bzip2-1.0.4
Choose one package
        0: <None>
        1: bzip2-1.0.3
        2: bzip2-1.0.4
Your choice: 2
No need to update bzip2-1.0.4
Candidates for updating curl-7.15.5 -> curl-7.15.4
Candidates for updating gnupg-1.4.5 -> gnupg-1.4.5p1
Looking for updates: complete
Running the equivalent of pkg_add -r curl-7.15.4 gnupg-1.4.5p1
curl-7.15.4 (extracting): complete
curl-7.15.5 (deleting): complete
curl-7.15.4 (installing): complete
gnupg-1.4.5p1 (extracting): complete
gnupg-1.4.5 (deleting): complete
gnupg-1.4.5p1 (installing): complete
Clean shared items: complete
$ sudo pkg_add -ui curl
Error from ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/amd64/:
Unknown command.
Looking for updates: complete
$ pkg_info |grep curl
curl-7.15.4         get files from FTP, Gopher, HTTP or HTTPS servers
$ sudo pkg_add -r curl-7.15.5
Password:
Error from ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/amd64/:
550 Failed to open file.
Can't find curl-7.15.5
/usr/sbin/pkg_add: curl-7.15.5:Fatal error
$ echo $PKG_PATH
ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/amd64/
==========================================================================

Thankyou so much

Kind Regards

Siju

Reply via email to