[solved] Yet another nVidia roadblock

Started by Spaceferret, 2013/09/11, 02:16:34

Previous topic - Next topic

Spaceferret

D-u gives me dpkg: error processing /var/cache/apt/archives/libgl1-nvidia-legacy-304xx-glx_304.108-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.304.108', which is also in package libgl1-nvidia-glx:amd64 304.108-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libgl1-nvidia-legacy-304xx-glx_304.108-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

And it looks like I'm not alone

http://permalink.gmane.org/gmane.linux.debian.devel.bugs.rc/385151

towo

Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Spaceferret

No matter what I try, I getThe following packages have unmet dependencies:
libxvmcnvidia1 : Depends: libgl1-nvidia-legacy-304xx-glx (= 304.108-2) but it is not installed


I tried purging the entire nvidia* thing still same result.

Can't d-u either, it gives me same result spaceferret@Siduction:~$ sudo apt-get dist-upgrade
[sudo] password for spaceferret:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libxvmcnvidia1 : Depends: libgl1-nvidia-legacy-304xx-glx (= 304.108-2) but it is not installed
E: Unmet dependencies. Try using -f.



When trying d-u using -f - same result

michaa7

#3
32-bit? Do you have the siduction fixes repo activated
(In /etc/apt/sources-list.d/siduction.list you need:
deb http://packages.siduction.org/fixes unstable main contrib non-free )?

Debian didn't upload the 32-bit packages. So I run into a problem when I tried to install it. towo did upload fixed packages. So now all should work well.

EDIT://
Ok, now I saw it, your on 64 bit. Forget about towos fix, but the below should work.
/EDIT://

Try in RL 3 (init 3)

Quoteapt-get purge $(dpkg -l | awk '/nvidia/{print $2}') && apt-get install nvidia-legacy-304xx-driver nvidia-vdpau-driver  libxvmcnvidia1

I did copy this to a file <whatever> in /root, then switched to RL 3. And there "cat <whatever>" showed me what needed to be executed. You should be able to c&p to console. (nvidia-settings was not installable: http://forum.siduction.org/index.php?topic=3803 )
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Spaceferret

Thank you guys, I'm going to give this a try right away. I'm sure it will work. With towo on board this ship will never sink :-)

Spaceferret

Nope,still no  luckspaceferret@Siduction:~$ sudo apt-get purge $(dpkg -l | awk '/nvidia/{print $2}') && apt-get install nvidia-legacy-304xx-driver nvidia-vdpau-driver libxvmcnvidia1
[sudo] password for spaceferret:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
glx-diversions : PreDepends: nvidia-installer-cleanup but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Can't neither purge nor install

Spaceferret

I figured it out. Because  of the package mismatch I couldn't purge nvidia.
I used dpkg -l | grep -i nvidia , deleted libxvmcnvidia1 separately,purged the rest and reinstalled the whole thing.
Works like a charm ! Thank you towo, thank you michaa7