Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old December 6th, 2006   #1
LaneLester
Gee! These Aren't Roasted!
 
Join Date: Jul 2006
Location: Georgia, North America
Beans: 173
Ubuntu Development Release
Nvidia-glx deb seems to be corrupt

It's probably something wrong on my system... or in my head. I just installed an nvidia card in place of my ati. I switched to the gross vesa driver to be sure I would still have video. But there seems to be something wrong with the deb.

I tried three ways to install it, and I deleted the archived .deb each time to be sure I was getting a fresh copy.

Automatix2 says this: An apt-based error occured and installation was unsuccessful

Synaptic said this: E: /var/cache/apt/archives/nvidia-glx_1.0.8776+2.6.17.6-1_i386.deb: subprocess pre-installation script returned error exit status 2

And when I tried to install it with dpkg, I got this:
Get:1 http://security.ubuntu.com edgy-security/restricted nvidia-glx 1.0.8776+2.6.17.6-1 [4066kB]
Fetched 4066kB in 12s (322kB/s)
(Reading database ... 100391 files and directories currently installed.)
Removing fglrx-control ...
Removing fglrx-kernel-2.6.17-10-generic ...
Removing xorg-driver-fglrx ...
Stopping atieventsd: done.
rmdir: /usr/lib/fglrx: Directory not empty
Selecting previously deselected package nvidia-glx.
(Reading database ... 100283 files and directories currently installed.)
Unpacking nvidia-glx (from .../nvidia-glx_1.0.8776+2.6.17.6-1_i386.deb) ...
dpkg-divert: `diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/libGL.so.1.xlibmesa by nvidia-glx' clashes with `diversion of /usr/lib/libGL.so.1 to /usr/lib/fglrx/libGL.so.1.xlibmesa by xorg-driver-fglrx'
dpkg: error processing /var/cache/apt/archives/nvidia-glx_1.0.8776+2.6.17.6-1_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-glx_1.0.8776+2.6.17.6-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
LaneLester is offline   Reply With Quote
Old December 6th, 2006   #2
PILGU
5 Cups of Ubuntu
 
PILGU's Avatar
 
Join Date: Jun 2006
Location: Malta
My beans are hidden!
Ubuntu 7.04 Feisty Fawn
Smile Re: Nvidia-glx deb seems to be corrupt

Have you tried

sudo apt-get install nvidia-glx nvidia-kernel-common
sudo nvidia-glx-config enable

After that download and installation is completed, run

sudo dpkg-reconfigure xserver-xorg

during the configuration of the wizard make sure to select "Nvidia" in place of "nv".
When you are asked about your monitor and presented with a Simple, Medium, Advanced selection, choose medium if you know your monitors max resolution and refresh. If you don't know this information choose simple. Either way, select the appropriate setting for your monitor and continue.
if at bootup the invidia logo appears, than driver is running ok!
PILGU is offline   Reply With Quote
Old December 6th, 2006   #3
LaneLester
Gee! These Aren't Roasted!
 
Join Date: Jul 2006
Location: Georgia, North America
Beans: 173
Ubuntu Development Release
Re: Nvidia-glx deb seems to be corrupt

Thanks for the reply. Yes, I had tried that command. Here is what it gives me:
Get:1 http://security.ubuntu.com edgy-security/restricted nvidia-glx 1.0.8776+2.6.17.6-1 [4066kB]
Fetched 4066kB in 12s (322kB/s)
(Reading database ... 100391 files and directories currently installed.)
Removing fglrx-control ...
Removing fglrx-kernel-2.6.17-10-generic ...
Removing xorg-driver-fglrx ...
Stopping atieventsd: done.
rmdir: /usr/lib/fglrx: Directory not empty
Selecting previously deselected package nvidia-glx.
(Reading database ... 100283 files and directories currently installed.)
Unpacking nvidia-glx (from .../nvidia-glx_1.0.8776+2.6.17.6-1_i386.deb) ...
dpkg-divert: `diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/libGL.so.1.xlibmesa by nvidia-glx' clashes with `diversion of /usr/lib/libGL.so.1 to /usr/lib/fglrx/libGL.so.1.xlibmesa by xorg-driver-fglrx'
dpkg: error processing /var/cache/apt/archives/nvidia-glx_1.0.8776+2.6.17.6-1_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-glx_1.0.8776+2.6.17.6-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Lane
LaneLester is offline   Reply With Quote
Old December 6th, 2006   #4
jpmorelli
Dipped in Ubuntu
 
jpmorelli's Avatar
 
Join Date: Apr 2006
Location: Ciudad Aut.de Bs. As. ARG
Beans: 555
Ubuntu 9.10 Karmic Koala
Send a message via ICQ to jpmorelli Send a message via MSN to jpmorelli Send a message via Skype™ to jpmorelli
Re: Nvidia-glx deb seems to be corrupt

You can look for some information in this web:

http://albertomilone.com/wordpress/

This blog is from Alberto Milone, he is one developer of graphics hardware for Ubuntu.
I have a nvidia card in my system and envy package works perfect for me !
__________________
jmorelli
Ubuntu Linux User Group Argentina http://ubuntu-ar.org
jpmorelli is offline   Reply With Quote
Old December 6th, 2006   #5
kerry_s
WTF?
 
Join Date: Jul 2006
Location: Lost!
Beans: 7,154
Re: Nvidia-glx deb seems to be corrupt

Use synaptic(status>installed) & remove all the fglrx stuff you have installed first, then try & install nvidia. It looks like it's having trouble reconfiguring them.
kerry_s is offline   Reply With Quote
Old December 7th, 2006   #6
LaneLester
Gee! These Aren't Roasted!
 
Join Date: Jul 2006
Location: Georgia, North America
Beans: 173
Ubuntu Development Release
Re: Nvidia-glx deb seems to be corrupt

Thanks for all the suggestions! Alberto Milone's envy installer did the trick for me.

Lane
LaneLester is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:00 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry