[csw-users] "pkg-get -u" does not work, hash in list of installed packages

Junhao solaris at jmarki.net
Tue Nov 18 03:53:07 CET 2008


>Junhao wrote:
>> Hi,
>> 
>> (I'm relatively new to Solaris, so pardon me if the solution is
>> blindingly obvious...)
>> 
>> I'm using csw on my Solaris10 x86 systems, and trying to check for
>> upgrades. It's didn't work, somehow a hash is injected into the list of
>> packages.
>> 
>> <snip>
>> $ pkg-get -U
>> ...
>> 
>> $ pkg-get -u
>> note: upgrading ALL INSTALLED PACKAGES
>> Installed software packages:
>> =zZl6 zlib wget textutils slang screen sasl rsync readline pkg_get perl
>> openssl_utils openssl_rt openssl_devel openssl openldap_rt ncurses nano
>> libpopt libnet libidn libiconv less isaexec
>> iD8DBQFJAhSRBqHtG+EunS8RAkoMAJ9Bpf5uQwZEYylu0Eg3oA/CbvDnHQCdG9jg
>> HVHeU5BYROuFa0/eDfiYCjw= Hash: gnupg ggettext gdbm expat curlrt common
>> bzip2 berkeleydb44 berkeleydb4
>> ERROR: =zZl6 unrecognized
>> Perhaps you need to run pkg-get -U
>> </snip>
>> 
>> Anyway, there shouldn't be any updates: pkg-get compare does not show
>> any newer packages.
>> 
>> Does anyone have any pointers? Thanks!
>> 
>> Regards,
>> Junhao

Philip Brown wrote:
> Hello,
> i noticed your email about pkg-get on the users list.
>
> I only read it on the web, so replying to there is inconvenient.
>
> It looks like you probably are pointed at a corrupted catalog.
> But it's tough to verify, since you snip the output that shows WHERE you
> are getting your packages from.
>
>

Dear Philip,

Thanks for taking the time to reply.

I was initially using an in-house mirror (created by "rsync -vaAXL
--no-l --delete
rsync://www.ibiblio.org/sun-packages/opencsw/stable/sparc/5.10
/localmirror"). When it failed, I changed to ibiblio and usc mirrors
with the same effect.

Here's the output using usc mirror:

<snip>
bash-3.00# pkg-get -U
Getting catalog...
--2008-11-18 10:35:03--
http://mirrors.usc.edu/pub/csw/stable/i386/5.10/catalog
Resolving mirrors.usc.edu... 68.181.195.4

Connecting to mirrors.usc.edu|68.181.195.4|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 314842 (307K) [text/plain]

Saving to: `catalog'


100%[===============================================================>]
314,842     28.5K/s   in 15s

2008-11-18 10:35:39 (20.7 KB/s) - `catalog' saved [314842/314842]

gpg: Signature made Sat Oct 25 03:10:16 2008 SGT using DSA key ID E12E9D2F
gpg: Good signature from "CSW Distribution Manager <dm at opencsw.org>"
gpg:                 aka "Distribution Manager <dm at blastwave.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the
owner.
Primary key fingerprint: 0BF0 9891 9340 86DC EBE3  DDFF 06A1 ED1B E12E
9D2F
Updating catalog file

/var/pkg-get/catalog-mirrors.usc.edu updated


--2008-11-18 10:35:39--
http://mirrors.usc.edu/pub/csw/stable/i386/5.10/descriptions
Resolving mirrors.usc.edu... 68.181.195.4
Connecting to mirrors.usc.edu|68.181.195.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 90031 (88K) [text/plain]
Saving to: `descriptions'

100%[===============================================================>]
90,031      30.7K/s   in 2.9s

2008-11-18 10:35:42 (30.7 KB/s) - `descriptions' saved [90031/90031]

Updated description file
bash-3.00# pkg-get -u
note: upgrading ALL INSTALLED PACKAGES
Installed software packages:
=zZl6 zlib wget textutils sqlite3 slang screen sasl rsync readline
pkg_get perl openssl_utils openssl_rt openssl_devel openssl openldap_rt
ncurses nano libpopt libnet libidn libiconv libgmp libclamav less
isaexec iD8DBQFJAhSRBqHtG+EunS8RAkoMAJ9Bpf5uQwZEYylu0Eg3oA/CbvDnHQCdG9jg
HVHeU5BYROuFa0/eDfiYCjw= Hash: gsed gnupg ggettext gdbm gcc3corert expat
curlrt common clamav bzip2 berkeleydb44 berkeleydb4 apache2rt apache2c
apache2 ap2_prefork
ERROR: =zZl6 unrecognized
Perhaps you need to run pkg-get -U
</snip>

Comparing the differences between the blastwave and opencsw catalogue
files, it appears opencsw catalogue has another "PGP signed" wrapper. Is
this the cause?

Thanks!

Regards,
Junhao




More information about the users mailing list