[Pkgutil-users] what am I doing wrong?
Status: Beta
Brought to you by:
bonivart
|
From: Don J. <pkg...@cl...> - 2010-10-06 07:03:49
|
Hello, I use pkgutil to add packages during Jumpstart installs, and afterwards. I have successfully used a local package store to retrieve some packages (in front of blastwave.org). I track the latest version of pkgutil, and edit the conf file to point to blastwave… So today, I wanted to create a new package directory for two new packages I am trying to install. Here is the contents of the directory. I of course used bldcat to create the catalog. # pwd /naspool/solaris/packages-local/i386/5.10 # ls -lt total 3774 -rw-r--r-- 1 root root 378 Oct 5 20:48 catalog -rw-r--r-- 1 root root 92 Oct 5 20:48 descriptions -rw-r--r-- 1 dcj other 1705240 Oct 5 16:41 AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz -rw-r--r-- 1 dcj other 93122 Oct 5 16:41 AmandaEnterpriseClientExtensions-3.1.2-i386-pc-solaris2.10.pkg.gz And here are the resulting contents of catalog and descriptions # cat catalog Amanda 3.1.2 AmandaEnterpriseBackupClient AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz 2efff7d45d53d11752b8810a892f2f6d 1705240 CSWgtar|CSWperl none AmandaEnterpriseBackupServer Amanda 3.1.2 AmandaEnterpriseClientExt AmandaEnterpriseClientExtensions-3.1.2-i386-pc-solaris2.10.pkg.gz 7a1ce6cc3cd5b3c20b55d7bb4545c8bf 93122 AmandaEnterpriseBackupClient none none # cat descriptions Amanda Enterprise Backup Client from Zmanda Amanda Enterprise Client Extensions from Zmanda On the machine I am attempting to install the packages on, I cannot seem to see one of the packages: /usr/local/bin/pkgutil -t http://nas02.clark-communications.com/solaris/packages-local -a | grep manda 20:38:36 URL:http://nas02.clark-communications.com/solaris/packages-local/i386/5.10/catalog [378/378] -> "/export/home/dcj/.pkgutil/catalog.nas02.clark-communications.com_solaris_packages-local_i386_5.10" [1] 20:38:36 URL:http://nas02.clark-communications.com/solaris/packages-local/i386/5.10/descriptions [92/92] -> "/export/home/dcj/.pkgutil/descriptions.nas02.clark-communications.com_solaris_packages-local_i386_5.10" [1] 20:38:36 URL:http://download.blastwave.org/csw/unstable/i386/5.10/catalog [401498/401498] -> "/export/home/dcj/.pkgutil/catalog.download.blastwave.org_csw_unstable_i386_5.10" [1] 20:38:36 URL:http://download.blastwave.org/csw/unstable/i386/5.10/descriptions [107125/107125] -> "/export/home/dcj/.pkgutil/descriptions.download.blastwave.org_csw_unstable_i386_5.10" [1] Amanda AmandaEnterpriseClientExt 3.1.2 90.9 KB amanda CSWamanda 2.5.2p1,REV=2008.05.21 3.0 MB So I just can't see the one package ( AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz ) Why not? Is there something wrong with the package(s) themselves? Or am I using the tool incorrectly? # /usr/local/bin/pkgutil -t http://nas02.clark-communications.com/solaris/packages-local -i AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz => Fetching new catalog and descriptions (http://nas02.clark-communications.com/solaris/packages-local/i386/5.10) if available ... 20:51:07 URL:http://nas02.clark-communications.com/solaris/packages-local/i386/5.10/catalog [378/378] -> "/var/opt/csw/pkgutil/catalog.nas02.clark-communications.com_solaris_packages-local_i386_5.10" [1] 20:51:07 URL:http://nas02.clark-communications.com/solaris/packages-local/i386/5.10/descriptions [92/92] -> "/var/opt/csw/pkgutil/descriptions.nas02.clark-communications.com_solaris_packages-local_i386_5.10" [1] => Fetching new catalog and descriptions (http://download.blastwave.org/csw/unstable/i386/5.10) if available ... 20:51:07 URL:http://download.blastwave.org/csw/unstable/i386/5.10/catalog [401498/401498] -> "/var/opt/csw/pkgutil/catalog.download.blastwave.org_csw_unstable_i386_5.10" [1] 20:51:07 URL:http://download.blastwave.org/csw/unstable/i386/5.10/descriptions [107125/107125] -> "/var/opt/csw/pkgutil/descriptions.download.blastwave.org_csw_unstable_i386_5.10" [1] Solving needed dependencies ... Package AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz not in catalog. Exiting. head -20 /usr/local/bin/pkgutil #!/usr/bin/env perl -w # pkgutil - manages packages on Sun Solaris systems # Copyright (C) 2008-2010 Peter Bonivart # $Id: pkgutil 286 2010-07-28 08:54:11Z bonivart $ |