On 12/23/09 15:27, ?????? ??????? wrote: > Hi! I installed snv_129 a few hours ago and I am having problems with > uninstallation of some packages. For example: > > andreja at ZVEZDA:~$ su > Password: > andreja at ZVEZDA:~# ls > downloads ????? > flash_player_10_solaris_r42_34_x86 ????? > NVIDIA-Solaris-x86-190.53.run ???????? > OpenSolaris_extras.certificate.pem ??????? > OpenSolaris_extras.key.pem ????? > SunStudioProjects ????? ????? > ????????? > andreja at ZVEZDA:~# sh NVIDIA-Solaris-x86-190.53.run > Removing NVDAgraphics IPS package, please wait. > pkg: Requested "uninstall" operation would affect files that cannot be > modified in live image. > Please retry this operation on an alternate boot environment. > pkgrm: ERROR: unable to change current working directory > to</var/sadm/pkg/NVDAgraphics/install> > > Removal of<NVDAgraphics> failed (internal error). > No changes were made to the system. > ERROR: Cannot uninstall the already installed package NVDAgraphics > > > Similar problem occuers when I try to uninstall SUNWaudiohd.
Problem is because you're attempting to uninstall drivers from a running system; since this can render the machine unbootable the packaging system doesn't allow it. I suggest the following: beadm create -a 'new-be-name' beadm mount 'new-be-name' /mnt pkg -R /mnt uninstall NVDAgraphics SUNWaudiohd bootadm update-archive -R /mnt bootadm activate 'new-be-name' reboot -- Bart Smaalders Solaris Kernel Performance barts at cyber.eng.sun.com http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird."
