Installing fglrx driver fails after upgrade to Ubuntu 10.10

Bug #658353 reported by Francis De Brabandere
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Jockey
New
Undecided
Unassigned
jockey (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

jockey [Additional Drivers tool] fails enabling fglrx after upgrade from Ubuntu 10.04 to 10.10:

[run here in text mode]
sudo jockey-text -e xorg:fglrx

Sorry, installation of this driver failed.

Please have a look at the log file for details: /var/log/jockey.log

/var/log/jockey.log (also attached) contains:

2010-10-11 14:32:45,574 WARNING: modinfo for module fglrx failed: ERROR: modinfo: could not find module fglrx
2010-10-11 14:32:45,574 WARNING: /sys/module/fglrx/drivers does not exist, cannot rebind fglrx driver
2010-10-11 14:32:45,574 ERROR: XorgDriverHandler.enable(): package or module not installed, aborting

try to remove fglrx fails with:

sudo apt-get remove fglrx
The following packages will be REMOVED:
  fglrx
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 65.6MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 223410 files and directories currently installed.)
Removing fglrx ...
dpkg-divert: mismatch on package
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by fglrx'
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx'
dpkg: error processing fglrx (--remove):
 subprocess installed post-removal script returned error exit status 2
Processing triggers for ureadahead ...
Errors were encountered while processing:
 fglrx
E: Sub-process /usr/bin/dpkg returned an error code (1)

WORKAROUND/FIX:

dpkg-divert --list
diversion of /usr/share/gnome-games-common/cards/gnomangelo_bitmap.svg to /usr/share/gnome-games-common/cards/gnomangelo_bitmap.svg.unbranded by branding-ubuntu
diversion of /usr/share/gnome-games/pixmaps/baize.png to /usr/share/gnome-games/pixmaps/baize.png.unbranded by branding-ubuntu
diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash
diversion of /usr/share/gnome-games/mahjongg/pixmaps/postmodern.svg to /usr/share/gnome-games/mahjongg/pixmaps/postmodern.svg.unbranded by branding-ubuntu
diversion of /usr/share/dbus-1/services/org.freedesktop.Notifications.service to /usr/share/dbus-1/services/org.freedesktop.Notifications.service.notify-osd by notify-osd
diversion of /usr/share/gnome-games/gnometris/pixmaps/gnometris.svg to /usr/share/gnome-games/gnometris/pixmaps/gnometris.svg.unbranded by branding-ubuntu
diversion of /usr/bin/screen to /usr/bin/screen.real by screen-profiles
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx
diversion of /usr/share/gnome-games/pixmaps/slot.svg to /usr/share/gnome-games/pixmaps/slot.svg.unbranded by branding-ubuntu
diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common
diversion of /bin/sh to /bin/sh.distrib by dash

remove the diversion:

sudo dpkg-divert --remove /usr/lib/libGL.so.1.2
Removing 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx'

sudo apt-get remove fglrx

run jockey again and it should work

Tags: fglrx
Revision history for this message
Francis De Brabandere (francisdb) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in jockey (Ubuntu):
status: New → Confirmed
Revision history for this message
Sheldon (mayagamer) wrote :

I tried to active fglrx post-release updates, got an error, tell me to check jockey log file

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.