update-manager error installing nvidia-glx

Bug #106518 reported by JW
4
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.20 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

I had installed nvidia-glx using envy (I hope that isn't like saying I opened my VCR 2-days after buying it and asking for warranty support...).

The update tool seems like a really cool idea, but it choked on the nvidia-glx package and would not proceed. I was left with half of an update. After a bit of searching I removed the nvidia-glx package and ran different combinations of "sudo apt-get -f install" and "sudo apt-get dist-upgrade" until the regular update and upgrade statements returned 0 packages to update.

I'll attach the term.log in a moment.

Please let me know what other information you need.

Revision history for this message
JW (arch0njw) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Can you please attach all the files in /var/log/dist-upgrade ? This will help us diagnose the problem.

Thanks,
 Michael

Changed in update-manager:
status: Unconfirmed → Needs Info
Revision history for this message
JW (arch0njw) wrote :

Michael,

I forgot that I'd copied the dist-upgrade directory before my fun with the normal apt-get approach. Here are the three files from that directory as they were immediately after the issue I described.

Revision history for this message
JW (arch0njw) wrote :

2/3

Revision history for this message
JW (arch0njw) wrote :

3/3

Revision history for this message
Michael Vogt (mvo) wrote :

This is what causes the problem, I strongly suspect that envy does get it wrong:

Preparing to replace nvidia-glx 1.0.9755 (using .../nvidia-glx_1%3a1.0.9631+2.6.20.5-14.19_i386.deb) ...
dpkg-divert: `diversion of /usr/lib/xorg/modules/libglx.so to /usr/lib/nvidia/libglx.so.xlibmesa by nvidia-glx' clashes with `diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/nvidia/libglx.so.xlibmesa by nvidia-glx'
dpkg: error processing /var/cache/apt/archives/nvidia-glx_1%3a1.0.9631+2.6.20.5-14.19_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 2

Revision history for this message
Michael Vogt (mvo) wrote :

<BenC> mvo: Nope, reject that one, we can't do anything about people clashing local installs with package installs

Sorry, rejecting because envy is to blame here and we have no control over that. Please take this to the envy maintainer. As a workaround, you can try to remove the nvidia packages that envy installed and see if that helps (sorry for being unspecifc, I have no experience with envy).

Changed in linux-restricted-modules-2.6.20:
status: Needs Info → Rejected
Revision history for this message
JW (arch0njw) wrote :

I understand.

As previously stated, after uninstalling nvidia-glx and running difference combinations of "sudo apt-get -f install" and "sudo apt-get dist-upgrade" I eventually got all the packages.

I did find that nvidia-glx, nvidia-glx-new, nor nvidia-glx-legacy would work for me. I had to download the nvidia script (from their site) and compile my drivers using that (which worked). I believe this is what envy did, and I think that's what conflicts with the update-manager.

In the least, should this bring the upgrade to a dead stop and leave the system partially upgraded? Is it possible to safely skip things like this and continue with the upgrade?

Revision history for this message
Michael Vogt (mvo) wrote :

JW: the fact that nvidia-glx-{legacy,new} does not work for you seems like a bugreport in its own. The upgdate should indeed continue, but sometimes its very hard to decide if a error is fatal or not.

Revision history for this message
Márcio (mvfpoa) wrote :

    I had this same problem upgrading, but with nvidia-glx-dev. I'm also using envy.

    A part of my term.log
Preparando para substituir nvidia-glx-dev 1.0.9755 (usando .../nvidia-glx-dev_1%
3a1.0.9631+2.6.20.5-15.20_i386.deb) ...
dpkg-divert: `diversion of /usr/lib/libGL.so to /usr/lib/nvidia/libGL.so.xlibmes
a by nvidia-glx-dev' conflita com `diversion of /usr/lib/libGL.so to /usr/lib/nv
idia/libGL.so.xlibmesa by nvidia-glx'
dpkg: erro processando /var/cache/apt/archives/nvidia-glx-dev_1%3a1.0.9631+2.6.2
0.5-15.20_i386.deb (--unpack):
 subprocesso pre-installation script retornou código de saída de error 2

    But i just selected ok and the upgrade continued.

    i'm attaching my files with someone get interested.

thanks@

Revision history for this message
Márcio (mvfpoa) wrote :
Revision history for this message
Márcio (mvfpoa) wrote :
Revision history for this message
Márcio (mvfpoa) wrote :

After all, the package ubuntu-desktop were not installed

Revision history for this message
Márcio (mvfpoa) wrote :

ooops! it was... sorry
i haven't seen i have just upgraded it, not installed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.