PDA

View Full Version : [SOLVED] 10.04 upgraded from 9.10 with nvidia driver problem and solution



smremde
April 25th, 2010, 11:02 AM
I had 9.10 with the nvidia driver supplied by nvidia (don't know if this is relevant). Did a distro update and I noticedIi had some problems with some package version and apt-get -f install failed:


root@ubuntu:/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies...Done
The following extra packages will be installed:
xserver-xorg-core
Suggested packages:
xfonts-100dpi xfonts-75dpi xfonts-scalable
The following packages will be upgraded:
xserver-xorg-core
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
Need to get 0B/2,553kB of archives.
After this operation, 188kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 84009 files and directories currently installed.)
Preparing to replace xserver-xorg-core 2:1.6.4-2ubuntu4.2 (using .../xserver-xorg-core_2%3a1.7.6-2ubuntu7_amd64.deb) ...
Unpacking replacement xserver-xorg-core ...
dpkg: error processing /var/cache/apt/archives/xserver-xorg-core_2%3a1.7.6-2ubuntu7_amd64.deb (--unpack):
unable to create `/usr/lib/nvidia/libglx.so.xserver-xorg-core.dpkg-new' (while processing `./usr/lib/xorg/modules/extensions/libglx.so'): No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/xserver-xorg-core_2%3a1.7.6-2ubuntu7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Simple fix:


root@ubuntu:/home/xbmc# mkdir /usr/lib/nvidia



root@ubuntu:/home/xbmc# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies...Done
The following extra packages will be installed:
xserver-xorg-core
Suggested packages:
xfonts-100dpi xfonts-75dpi xfonts-scalable
The following packages will be upgraded:
xserver-xorg-core
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
Need to get 0B/2,553kB of archives.
After this operation, 188kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 84009 files and directories currently installed.)
Preparing to replace xserver-xorg-core 2:1.6.4-2ubuntu4.2 (using .../xserver-xorg-core_2%3a1.7.6-2ubuntu7_amd64.deb) ...
Unpacking replacement xserver-xorg-core ...
Processing triggers for man-db ...
Setting up xserver-xorg-core (2:1.7.6-2ubuntu7) ...

Setting up xserver-xorg-video-openchrome (1:0.2.904+svn827-1) ...

Setting up xserver-xorg-video-intel (2:2.9.1-3ubuntu4) ...

Setting up xserver-xorg-input-wacom (1:0.10.5-0ubuntu4) ...

Setting up xserver-xorg-input-mouse (1:1.5.0-1) ...
Setting up xserver-xorg-input-vmmouse (1:12.6.5-4ubuntu2) ...

Setting up xserver-xorg-input-synaptics (1.2.2-1ubuntu4) ...

Setting up xserver-xorg-input-evdev (1:2.3.2-5ubuntu1) ...
Setting up xserver-xorg (1:7.5+5ubuntu1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place


Not sure if this unique to me, but maybe it will help someone in the future or maybe someone who knows how can file a bug report. I'd be happy to provide more information.