PDA

View Full Version : 177.80 opensolaris update problem


bigall_99
10-13-08, 07:25 AM
I'm trying to update my NVIDIA graphics driver on an OpenSolaris 2008.05 system but seems to be having some trouble

Here is how it goes

$ uname -a
SunOS 5.11 snv_98 i86pc i386 i86pc Solaris

$ pfexec sh NVIDIA-Solaris-x86-177.80.run
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
$ pfexec pkgrm NVDAgraphics

The following package is currently installed:
NVDAgraphics NVIDIA Graphics System Software
(i386) 169.12,REV=2008.02.27.09.16

Do you want to remove this package? [y,n,?,q] y
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.
$ pfexec pkg uninstall NVDAgraphics
Creating Plan |pkg: Cannot remove 'pkg:/NVDAgraphics@0.5.11,5.11-0.98:20080916T181934Z' due to
the following packages that depend on it:
pkg:/slim_install@0.1,5.11-0.98:20080916T185655Z

I seem to have an IPS package NVDAgraphics and two SYS V packages NVDAgraphicsr and NVDAgraphics .

I have seen a few mentions of this in the forums but none of the suggestions work.
Anyone got any ideas?


thanks
alan

alanc
10-26-08, 12:24 PM
On OpenSolaris, you need to use the new IPS package manager commands to
remove the packages installed with the OS.

You should just have to run:
pfexec pkg uninstall NVDAgraphics

Though due to a bug in some builds, you may also need to run first:
pfexec pkg uninstall slim_install
(which tells the system to not require all packages installed by the LiveCD stay installed, and given the error you posted, seems to be affecting your system).