Public bug reported:

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

** Affects: jockey
     Importance: Undecided
         Status: New

** Affects: jockey (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: fglrx

-- 
Installing fglrx driver fails after upgrade to Ubuntu 10.10
https://bugs.launchpad.net/bugs/658353
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to