|
Description
|
This is found in snv_82 when I try to verify a fix for SUNWadmc. I did the following install for sparc and x86:
OS: Solaris 10 update 4 FCS
Media: DVD net image
Cluster: SUNWCXall
Locales to install: All
Locales to use: C
After the install, I setup one wholeroot zone and two sparseroot zones. Then I do live upgrade to snv_82.
The following errors are in the upgrade_log for SUNWxwinc when you do pkgadd to the zones:
+ [ -f /a/var/sadm/pkg/SUNWxwinc/save/filelist ]
+ /usr/bin/rm /a/var/sadm/pkg/SUNWxwinc/save/filelist
+ [ 0 -eq 1 ]
+ exit 0
Installation of <SUNWxwinc> was successful.
WARNING: /a/usr/openwin/share/include/X11/Xmu may not overwrite a populated dire
ctory.
NAME=i.none
FILELIST=/a/var/sadm/pkg/SUNWxwinc/save/filelist
BD=/a/usr
is_an_archive=0
is_a_filelist=0
list_empty=1
local_install=0
Spcl_init=0
Rm_alt_sav=0
Tmp_xpath=/usr/tmp15829dir
MV_xpath=/usr/bin
MV_cmd=/usr/bin/mv
CPIO_xpath=/usr/bin
CPIO_cmd=/usr/bin/cpio
UNZIP_xpath=/usr/bin
UNZIP_cmd=/usr/bin/unzip
BZCAT_xpath=/usr/bin
BZCAT_cmd=/usr/bin/bzcat
ZCAT_xpath=/usr/bin
ZCAT_cmd=/usr/bin/zcat
LN_xpath=/usr/bin
LN_cmd=/usr/bin/ln
NAWK_xpath=/usr/bin
NAWK_cmd=/usr/bin/nawk
RM_xpath=/usr/bin
RM_cmd=/usr/bin/rm
+ eval_pkg
+ read path
+ [ NULL != NULL ]
+ exit 0
pkginstall.exe: ERROR: /a/usr/openwin/share/include/X11/Xmu could not be install
ed.
Installation of <SUNWxwinc> on zone <SUNWlu-sparserootzone> partially
failed.
WARNING: /a/usr/openwin/share/include/X11/Xmu may not overwrite a populated dire
ctory.
NAME=i.none
FILELIST=/a/var/sadm/pkg/SUNWxwinc/save/filelist
BD=/a/usr
( a big list of files)
+ echo openwin/share/include/dga/dga_externaldefs.h
list_empty=0
+ read path
+ [ ! -x /usr/bin/bzcat ]
+ [ 1 -eq 1 ]
+ /usr/bin/cpio -C 512 -idukm -E+ /usr/bin/bzcat /var/tmp//installCMaq7E/dstreA
AADMaq7E/SUNWxwinc/archive/none.bz2/a/var/sadm/pkg/SUNWxwinc/save/filelist
6114 blocks
status=0
+ [ 0 -ne 0 ]
+ [ -f /a/var/sadm/pkg/SUNWxwinc/save/filelist ]
+ /usr/bin/rm /a/var/sadm/pkg/SUNWxwinc/save/filelist
+ [ 0 -eq 1 ]
+ exit 0
pkginstall.exe: ERROR: /a/usr/openwin/share/include/X11/Xmu could not be install
ed.
WARNING: /a/usr/openwin/share/include/X11/Xmu may not overwrite a populated dire
ctory.
Installation of <SUNWxwinc> on zone <SUNWlu-wholerootzone> partially
failed.
WARNING: /a/usr/openwin/share/include/X11/Xmu may not overwrite a populated dire
ctory.
+ /usr/bin/cpio -C+ /usr/bin/bzcat /var/tmp//installZ5aa9E/dstreAAA05aa9E/SUNWx
winc/archive/none.bz2
512 -idukm -E /a/var/sadm/pkg/SUNWxwinc/save/filelist
6114 blocks
status=0
+ [ 0 -ne 0 ]
+ [ -f /a/var/sadm/pkg/SUNWxwinc/save/filelist ]
+ /usr/bin/rm /a/var/sadm/pkg/SUNWxwinc/save/filelist
+ [ 0 -eq 1 ]
+ exit 0
pkginstall.exe: ERROR: /a/usr/openwin/share/include/X11/Xmu could not be install
ed.
WARNING: /a/usr/openwin/share/include/X11/Xmu may not overwrite a populated dire
ctory.
pkginstall.exe: ERROR: /a/usr/openwin/share/include/X11/Xmu could not be install
ed.
Installation of <SUNWxwinc> on zone <SUNWlu-sparserootzone1>
partially failed.
pkgadd return code = 2
In s10u4 or earlier, SUNxwinc delivers /usr/openwin/share/include/X11/Xmu as a directory as follow:
root@ins3525-svr# cd /export/s10u4/dvds/latest
root@ins3525-svr# cd So*/Pr*
root@ins3525-svr# cd SUNWxwinc
root@ins3525-svr# grep openwin/share/include/X11/Xmu pkgmap
1 d none openwin/share/include/X11/Xmu 0755 root bin
root@ins3525-svr#
In snv_82, SUNWxwinc delivers /usr/openwin/share/include/X11/Xmu as a symoblic link as follow:
root@ins3525-svr# cd /export/nv/dvds/latest/So*/Pr*/SUNWxwinc
root@ins3525-svr# grep -w openwin/share/include/X11/Xmu pkgmap
1 s none openwin/share/include/X11/Xmu=../../../../X11/include/X11/Xmu
root@ins3525-svr#
When you convert a directory into symoblic links, you should deliver approriate *ph files to do pkgrm the package.
I will update the bugid once I try the proposed *ph files.
|