Re: [Pkgutil-users] Help with creating a catalog?
Status: Beta
Brought to you by:
bonivart
|
From: Tom De C. <tom...@gm...> - 2010-04-02 11:13:45
|
Hu, Did you specify 'noncsw=true' in pkgutil.conf? Tom On 04/02/2010 01:11 PM, Gerrit van der Sanden wrote: > Hi, > I want to use pkgutil for self-made packages. I have created two > packages, krazy and nutty, > and I have created a catalog for them. > The problem is that "pkgutil -i" does not work because it cannot find > the package in the catalog. > chkcat gives only warnings. > Can you please take a look at the output below and tell me what's wrong? > Thanks in advance, > Gerrit van der Sanden > 130 12:08:13 root@avenger: /ownSolarisPackages/nutty> pkgtrans > /var/spool/pkg /tmp/nutty-1.0.pkg nutty > Transferring <nutty> package instance > 131 12:08:13 root@avenger: /ownSolarisPackages/nutty> cd ../krazy > 132 12:08:13 root@avenger: /ownSolarisPackages/krazy> pkgtrans > /var/spool/pkg /tmp/krazy-1.0.pkg krazy > Transferring <krazy> package instance > 133 12:08:21 root@avenger: /ownSolarisPackages/krazy> cd /tmp > 134 12:13:17 root@avenger: /tmp> rm catalog descriptions > rm: remove catalog (yes/no)? y > rm: remove descriptions (yes/no)? y > 135 12:13:31 root@avenger: /tmp> bldcat . > Inspecting ./krazy-1.0.pkg > Inspecting ./nutty-1.0.pkg > 136 12:13:36 root@avenger: /tmp> cat catalog > KrAzY Version_1 krazy krazy-1.0.pkg 501d2ce39800c0737d18fbbc47b8fc11 > 6144 none none > NuTtY Version_1 nutty nutty-1.0.pkg c60594cc9a63c3fb9fec6dc2fe9c1ab6 > 6656 none none > 137 12:13:40 root@avenger: /tmp> cat descriptions > KrAzY Applications > NuTtY Applications > 138 12:18:10 root@avenger: /tmp> cat /etc/opt/csw/pkgutil.conf > # Configuration file for pkgutil > # $Id: pkgutil.conf 7 2009-03-07 18:48:54Z bonivart $ > # Master configuration file is placed in /opt/csw/etc. Place a pkgutil.conf > # file in /etc/opt/csw if you want a local override setting-by-setting > # Nothing below is mandatory to change, pkgutil will use the default values > # noted below for each option unless something is uncommented > # Mirror to use for downloads > # See _http://www.blastwave.org/mirrors.php_ for alternative mirrors > # Default: _http://download.blastwave.org/csw/unstable_ > # mirror=http://download.blastwave.org/csw/unstable > mirror=file:///var/opt/csw/pkgutil > # Solaris 10 only. Comment this line to make pkgadd install packages > into all zones instead of > # Global only. > pkgaddopts=-G > # Flags for use with wget, e.g. "-nv" for less verbose or "-q" for quiet > # wgetopts=-q > # To enable use of gpg or md5, uncomment these > # use_gpg=true > use_md5=true > 141 12:13:45 root@avenger: /tmp> mv catalog /var/opt/csw/pkgutil/sparc/5.10 > mv: overwrite /var/opt/csw/pkgutil/sparc/5.10/catalog (yes/no)? y > 142 12:14:19 root@avenger: /tmp> mv descriptions > /var/opt/csw/pkgutil/sparc/5.10 > mv: overwrite /var/opt/csw/pkgutil/sparc/5.10/descriptions (yes/no)? y > 143 12:14:29 root@avenger: /tmp> chkcat > /var/opt/csw/pkgutil/sparc/5.10/catalog > WARNING! Package krazy is not compressed. [KrAzY Version_1 krazy > krazy-1.0.pkg 501d2ce39800c0737d18fbbc47b8fc11 6144 none none] > WARNING! Package krazy does not meet the CSW naming standard - REV > section incorrect. [KrAzY Version_1 krazy krazy-1.0.pkg > 501d2ce39800c0737d18fbbc47b8fc11 6144 none none] > WARNING! Package nutty is not compressed. [NuTtY Version_1 nutty > nutty-1.0.pkg c60594cc9a63c3fb9fec6dc2fe9c1ab6 6656 none none] > WARNING! Package nutty does not meet the CSW naming standard - REV > section incorrect. [NuTtY Version_1 nutty nutty-1.0.pkg > c60594cc9a63c3fb9fec6dc2fe9c1ab6 6656 none none] > Exit 1 > 144 12:21:17 root@avenger: /tmp> pkgutil -i nutty > Fetching new catalog _file:///var/opt/csw/pkgutil/sparc/5.10_ if > available... > Parsing catalog, may take a while... > Package nutty not in catalog...exiting. > Exit 1 > 160 12:25:24 root@avenger: /tmp> > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > > _______________________________________________ > Pkgutil-users mailing list > Pkg...@li... > https://lists.sourceforge.net/lists/listinfo/pkgutil-users |