Bug 2347 - current SUNWipkg fails to install packages from blastwave but old one could
: current SUNWipkg fails to install packages from blastwave but old one could
Status: CLOSED DUPLICATE of bug 2253
Product: pkg
cli
: unspecified
: Other Solaris
: P3 major (vote)
: ---
Assigned To: pkg/cli watcher
: pkg/cli watcher
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-06-27 01:05 UTC by jxzhao
Modified: 2008-07-15 22:23 UTC (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description jxzhao 2008-06-27 01:05:44 UTC
It only happens on the packages from blastwave, I still could install packages
from pkg.opensolaris.org.
I haven't tried sunfreeware so far.

When I try to install IPSmplayer, IPSxmms and IPSxaw3d packages from
blastwave, a error happened. Not only these packages, but all the packages
I tried, I could not install them at all from blastwave.

My system is the one image-update from indiana rc3->90->91 through IPS pkg
command. 
[root@beigai:/]# uname -a
SunOS beigai 5.11 snv_91 i86pc i386 i86pc
[root@beigai:/]# cat /etc/release
                          OpenSolaris 2008.11 snv_91 X86
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 12 June 2008


Reproduce and check steps.
------------------------ 1 ---------------------------------------
[root@beigai:~]# pkg authority
AUTHORITY URL
blastwave (preferred) http://blastwave.network.com:10000/
sunfreeware http://pkg.sunfreeware.com:9000/
opensolaris.org http://pkg.opensolaris.org:80/
ipkg http://ipkg.sfbay:80/

------------------------ 2 ---------------------------------------
[root@beigai:~]# pkg install -v IPSxaw3d
Traceback (most recent call last):
File "/usr/bin/pkg", line 1458, in ?
ret = main_func()
File "/usr/bin/pkg", line 1424, in main_func
return install(img, pargs)
File "/usr/bin/pkg", line 448, in install
filters = filters, verbose = verbose, noexecute = noexecute)
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line
1280, in make_install_plan
self.load_optional_dependencies()
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line
1021, in load_optional_dependencies
self.update_optional_dependency(min_fmri)
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 989,
in update_optional_dependency
matcher = pkg.fmri.exact_name_match)[0]
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 403,
in get_matching_fmris
raise KeyError, "packages matching '%s' not found in catalog or image" \
KeyError: "packages matching
'pkg:/SUNWdesktop-other-l10n-es@0.5.11,5.11-0.91' not found in catalog
or image"
------------------------------------------------------------------

Then I manually check the dependency recursively, and I didn't find any 
information depending on SUNWdesktop-other-l10n-es.

------------------------- 3 --------------------------------------
[root@beigai:/]# pkg contents -r -t depend -o fmri IPSxaw3d
FMRI
pkg:/IPScommon@0.5.11-2.06
pkg:/IPSxpm@0.5.11-2.06
[root@beigai:/]# pkg contents -r -t depend -o fmri IPScommon
FMRI
[root@beigai:/]# pkg contents -r -t depend -o fmri IPSxpm
FMRI
pkg:/IPSftype2@0.5.11-2.06
pkg:/IPSgsfonts@0.5.11-2.06
pkg:/IPSt1lib@0.5.11-2.06
[root@beigai:/]# pkg contents -r -t depend -o fmri IPSftype2
FMRI
pkg:/IPSzlib@0.5.11-2.06
[root@beigai:/]# pkg contents -r -t depend -o fmri IPSzlib
FMRI
[root@beigai:/]# pkg contents -r -t depend -o fmri IPSgsfonts
FMRI
pkg:/IPSggettext@0.5.11-2.06
pkg:/IPSiconv@0.5.11-2.06
[root@beigai:/]# pkg contents -r -t depend -o fmri IPSggettext
FMRI
pkg:/IPScommon@0.5.11-2.06
pkg:/IPSexpat@0.5.11-2.06
pkg:/IPSiconv@0.5.11-2.06
[root@beigai:/]# pkg contents -r -t depend -o fmri IPSexpat
FMRI
pkg:/IPScommon@0.5.11-2.06
[root@beigai:/]# pkg contents -r -t depend -o fmri IPSiconv
FMRI
pkg:/IPScommon@0.5.11-2.06
[root@beigai:/]# pkg contents -r -t depend -o fmri IPSt1lib
FMRI
pkg:/IPScommon@0.5.11-2.06

------------------------------------------------------------------

Then I copied old rc3 pkg files from rc3 image then did the install command
again, 
this time, it works
------------------------ 4 ----------------------------------------
# cp old/python/lib/pkg /usr/lib/python2.4/vendor*/pkg
# cp old/usr/bin/pkg /usr/bin
# pkg install -v IPSxmms
Before evaluation:                   
UNEVALUATED:
+pkg:/IPSxmms@0.5.11,5.10-2.6:20080514T153616Z

After evaluation:
None -> pkg:/IPSxmms@0.5.11,5.10-2.6:20080514T153616Z
None -> pkg:/IPSmesa@0.5.11,5.10-2.6:20080514T152742Z
None -> pkg:/IPSsunmath@0.5.11,5.10-2.6:20080514T150703Z
None -> pkg:/IPScommon@0.5.11,5.10-2.6:20080514T150654Z
None -> pkg:/IPSlibogg@0.5.11,5.10-2.6:20080514T151607Z
None -> pkg:/IPSvorbis@0.5.11,5.10-2.6:20080514T151634Z
None -> pkg:/IPSlibxml@0.5.11,5.10-2.6:20080514T153605Z
None -> pkg:/IPSiconv@0.5.11,5.10-2.6:20080514T150656Z
None -> pkg:/IPSlibxml2@0.5.11,5.10-2.6:20080514T150712Z
None -> pkg:/IPSzlib@0.5.11,5.10-2.6:20080514T150718Z
None -> pkg:/IPSglib@0.5.11,5.10-2.6:20080514T151041Z
None -> pkg:/IPSlibgnomeui@0.5.11,5.10-2.6:20080514T151030Z
None -> pkg:/IPSgnomevfs2@0.5.11,5.10-2.6:20080514T150848Z
None -> pkg:/IPSglib2@0.5.11,5.10-2.6:20080514T150703Z
None -> pkg:/IPSggettext@0.5.11,5.10-2.6:20080514T150658Z
None -> pkg:/IPSexpat@0.5.11,5.10-2.6:20080514T150658Z
None -> pkg:/IPSgconf2@0.5.11,5.10-2.6:20080514T150806Z
None -> pkg:/IPSfconfig@0.5.11,5.10-2.6:20080514T150731Z
None -> pkg:/IPSftype2@0.5.11,5.10-2.6:20080514T150729Z
None -> pkg:/IPSlibcairo@0.5.11,5.10-2.6:20080514T150756Z
None -> pkg:/IPSlibxrender@0.5.11,5.10-2.6:20080514T150752Z
None -> pkg:/IPSrenderdev@0.5.11,5.10-2.6:20080514T150752Z
None -> pkg:/IPSpng@0.5.11,5.10-2.6:20080514T150753Z
None -> pkg:/IPSpango@0.5.11,5.10-2.6:20080514T150802Z
None -> pkg:/IPSlibxft2@0.5.11,5.10-2.6:20080514T150802Z
None -> pkg:/IPSlibatk@0.5.11,5.10-2.6:20080514T150747Z
None -> pkg:/IPSlibpopt@0.5.11,5.10-2.6:20080514T150711Z
None -> pkg:/IPSgtk2@0.5.11,5.10-2.6:20080514T150811Z
None -> pkg:/IPSlibcups@0.5.11,5.10-2.6:20080514T150801Z
None -> pkg:/IPStiff@0.5.11,5.10-2.6:20080514T150758Z
None -> pkg:/IPSjpeg@0.5.11,5.10-2.6:20080514T150751Z
None -> pkg:/IPSgpgerr@0.5.11,5.10-2.6:20080514T150735Z
None -> pkg:/IPSgnutls@0.5.11,5.10-2.6:20080514T150739Z
None -> pkg:/IPSopencdk@0.5.11,5.10-2.6:20080514T150737Z
None -> pkg:/IPSgcrypt@0.5.11,5.10-2.6:20080514T150736Z
None -> pkg:/IPSreadline@0.5.11,5.10-2.6:20080514T150737Z
None -> pkg:/IPSorbit2@0.5.11,5.10-2.6:20080514T150720Z
None -> pkg:/IPSlibidl@0.5.11,5.10-2.6:20080514T150719Z
None -> pkg:/IPSdbusglib@0.5.11,5.10-2.6:20080514T150834Z
None -> pkg:/IPSlibdbus@0.5.11,5.10-2.6:20080514T150834Z
None -> pkg:/IPSkrb5lib@0.5.11,5.10-2.6:20080514T150837Z
None -> pkg:/IPSosslrt@0.5.11,5.10-2.6:20080514T150839Z
None -> pkg:/IPSbzip2@0.5.11,5.10-2.6:20080514T150651Z
None -> pkg:/IPSfam@0.5.11,5.10-2.6:20080514T150837Z
None -> pkg:/IPSesound@0.5.11,5.10-2.6:20080514T150729Z
None -> pkg:/IPSaudiofile@0.5.11,5.10-2.6:20080514T150652Z
None -> pkg:/IPSossl@0.5.11,5.10-2.6:20080514T150926Z
None -> pkg:/IPSossldevel@0.5.11,5.10-2.6:20080514T150853Z
None -> pkg:/IPSosslutils@0.5.11,5.10-2.6:20080514T150918Z
None -> pkg:/IPSlibgnomecanvas@0.5.11,5.10-2.6:20080514T150929Z
None -> pkg:/IPSlibnet@0.5.11,5.10-2.6:20080514T150929Z
None -> pkg:/IPSnessuslib@0.5.11,5.10-2.6:20080514T150926Z
None -> pkg:/IPSlibart@0.5.11,5.10-2.6:20080514T150851Z
None -> pkg:/IPSlibglade2@0.5.11,5.10-2.6:20080514T150852Z
None -> pkg:/IPSgnomekeyring@0.5.11,5.10-2.6:20080514T150832Z
None -> pkg:/IPSlibbonoboui@0.5.11,5.10-2.6:20080514T150934Z
None -> pkg:/IPSbonobo2@0.5.11,5.10-2.6:20080514T150721Z
None -> pkg:/IPSlibgnome@0.5.11,5.10-2.6:20080514T150920Z
None -> pkg:/IPSgtk@0.5.11,5.10-2.6:20080514T151107Z
None -> pkg:/IPSmikmod@0.5.11,5.10-2.6:20080514T153602Z
None -> pkg:/IPSflac@0.5.11,5.10-2.6:20080514T153608Z
None
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  61/61   6333/6333 204.79/204.79

PHASE                                        ACTIONS
Install Phase                            10644/10644
-------------------------------------------------------------------
Comment 1 Danek Duvall 2008-06-27 07:20:29 UTC
What's the output of "pkg version" with the bits that fail?
Comment 2 johansen 2008-06-27 14:15:40 UTC
Is this a duplicate of bug 2325?
Comment 3 johansen 2008-06-27 14:19:45 UTC
I'm starting to see a number of bugs that look like these.  Is there a reason
why this shouldn't be closed as a dup of bug 2253?
Comment 4 jxzhao 2008-06-27 20:16:46 UTC
[root@beigai:/]# pkg install -v IPStcpdump
Traceback (most recent call last):    
  File "/usr/bin/pkg", line 1458, in ?
    ret = main_func()
  File "/usr/bin/pkg", line 1424, in main_func
    return install(img, pargs)
  File "/usr/bin/pkg", line 448, in install
    filters = filters, verbose = verbose, noexecute = noexecute)
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1280, in
make_install_plan
    self.load_optional_dependencies()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1021, in
load_optional_dependencies
    self.update_optional_dependency(min_fmri)
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 989, in
update_optional_dependency
    matcher = pkg.fmri.exact_name_match)[0]
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 403, in
get_matching_fmris
    raise KeyError, "packages matching '%s' not found in catalog or image" \
KeyError: "packages matching 'pkg:/SUNWdesktop-other-l10n-es@0.5.11,5.11-0.91'
not found in catalog or image"
[root@beigai:/]# pkg version
0ae5e72ba7ee

Then I tried the workaround of bug 2325, after remove all the lines containing
"depend", the "pkg install " does work successfully.
[root@beigai:/var/pkg/pkg/entire/0.5.11%2C5.11-0.91%3A20080616T184243Z]# !cat
cat manifest 
set name=fmri value=pkg:/entire@0.5.11,5.11-0.91:20080616T184243Z
set name=description value="entire incorporation"
set name=authority value=ipkg

[root@beigai:/var/pkg/pkg/entire/0.5.11%2C5.11-0.91%3A20080616T184243Z]# pwd
/var/pkg/pkg/entire/0.5.11%2C5.11-0.91%3A20080616T184243Z

[root@beigai:/]# pkg install -v IPStcpdump
Before evaluation:                    
UNEVALUATED:
+pkg:/IPStcpdump@0.5.11,5.10-2.6:20080514T181646Z

After evaluation:
None -> pkg:/IPStcpdump@0.5.11,5.10-2.6:20080514T181646Z
None
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1         3/3     1.01/1.01 

PHASE                                        ACTIONS
Install Phase                                  12/12
Comment 5 jxzhao 2008-06-27 20:19:17 UTC
[root@beigai:/]# pkg install -v IPStcpdump
Traceback (most recent call last):    
  File "/usr/bin/pkg", line 1458, in ?
    ret = main_func()
  File "/usr/bin/pkg", line 1424, in main_func
    return install(img, pargs)
  File "/usr/bin/pkg", line 448, in install
    filters = filters, verbose = verbose, noexecute = noexecute)
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1280, in
make_install_plan
    self.load_optional_dependencies()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1021, in
load_optional_dependencies
    self.update_optional_dependency(min_fmri)
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 989, in
update_optional_dependency
    matcher = pkg.fmri.exact_name_match)[0]
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 403, in
get_matching_fmris
    raise KeyError, "packages matching '%s' not found in catalog or image" \
KeyError: "packages matching 'pkg:/SUNWdesktop-other-l10n-es@0.5.11,5.11-0.91'
not found in catalog or image"
[root@beigai:/]# pkg version
0ae5e72ba7ee

Then I tried the workaround of bug 2325, after remove all the lines containing
"depend", the "pkg install " does work successfully.
[root@beigai:/var/pkg/pkg/entire/0.5.11%2C5.11-0.91%3A20080616T184243Z]# !cat
cat manifest 
set name=fmri value=pkg:/entire@0.5.11,5.11-0.91:20080616T184243Z
set name=description value="entire incorporation"
set name=authority value=ipkg

[root@beigai:/var/pkg/pkg/entire/0.5.11%2C5.11-0.91%3A20080616T184243Z]# pwd
/var/pkg/pkg/entire/0.5.11%2C5.11-0.91%3A20080616T184243Z

[root@beigai:/]# pkg install -v IPStcpdump
Before evaluation:                    
UNEVALUATED:
+pkg:/IPStcpdump@0.5.11,5.10-2.6:20080514T181646Z

After evaluation:
None -> pkg:/IPStcpdump@0.5.11,5.10-2.6:20080514T181646Z
None
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1         3/3     1.01/1.01 

PHASE                                        ACTIONS
Install Phase                                  12/12
Comment 6 jxzhao 2008-06-27 20:20:38 UTC
Sorry I added the duplicate message.
Comment 7 Danek Duvall 2008-07-15 22:23:44 UTC
*** This bug has been marked as a duplicate of bug 2253 ***