Re: [Pkgutil-users] what am I doing wrong?
Status: Beta
Brought to you by:
bonivart
|
From: Don J. <pkg...@cl...> - 2010-10-06 23:38:06
|
Responses inline below: On Oct 6, 2010, at 1:21 AM, Peter Bonivart wrote: > On Wed, Oct 6, 2010 at 9:03 AM, Don Jackson > <pkg...@cl...> wrote: >> >> 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 > > Those filenames look weird to me. Can you post the pkginfo files for > those packages please? 1) These are random generic packages that I obtained not from Blastwave Nor OpenCSW. I just want to stick these random 3rd party packages into a repo and download and install them with pkgutil. Is that possible? 2) I forgot that the package name is important. Can I just rename these files, or do I need to change something internal to the packages themselves? 3) As an experiment, i just went ahead and added these packages locally on a test machine using pkgadd. That worked. $ pkginfo AmandaEnterpriseBackupClient system AmandaEnterpriseBackupClient Amanda Enterprise Backup Client from Zmanda $ pkginfo AmandaEnterpriseClientExt system AmandaEnterpriseClientExt Amanda Enterprise Client Extensions from Zmanda But I am guessing when you say "pkginfo files" you are asking for something else? > You need to follow these guidelines: > http://www.opencsw.org/extend-it/contribute-packages/build-standards/#versioning Do I need to follow this even if I am not submitting to OpenCSW? (which I am not) On Oct 6, 2010, at 1:28 AM, Dagobert Michelsen wrote: > The problem is that you have two entries with the same catalogname ("Amanda"). I noticed this too, after sending my email to this list. As a quick workaround, I manually edited the catalog file to change one name. After I did so, I was able to see both packages via the -a flag, but I was still unable to install one of them. Is there something "broken" inside these packages, and that whatever that is needs to be changed in order for the install to work? > >> 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 > > Here's the Amanda lines from the OpenCSW catalog and description files > to compare with: > > amanda 3.1.1,REV=2010.07.20 CSWamanda > amanda-3.1.1,REV=2010.07.20-SunOS5.8-i386-CSW.pkg.gz > c7c8c0361519aadb36bf97dd8a0bdeba 9423413 > CSWmtx|CSWgnuplot|CSWgtar|CSWstar|CSWreadline|CSWcommon|CSWcurlrt|CSWggettextrt|CSWglib2|CSWlibidn|CSWlibnet|CSWoldaprt|CSWosslrt|CSWsasl|CSWzlib|CSWsambaclient|CSWperl|CSWgawk|CSWcswclassutils|CSWgzip|CSWlibcares > none none > > amanda - The Advanced Maryland Automatic Network Disk Archiver > > Maybe it would be easiest to just install it from OpenCSW? :-) I am trying to install packages from Zmanda, not opensource packages. This is not a blastwave vs opencsw question, I don't think. I do use blastwave as my main package source, but in this case I am using -t to point to my newly created repo that contains only these two packages. |