Installing fglrx driver fails after upgrade to Ubuntu 10.10
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/
2010-10-11 14:32:45,574 ERROR: XorgDriverHandl
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/
found `diversion of /usr/lib/
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/
diversion of /usr/share/
diversion of /usr/share/
diversion of /usr/share/
diversion of /usr/share/
diversion of /usr/share/
diversion of /usr/bin/screen to /usr/bin/
diversion of /usr/lib/
diversion of /usr/share/
diversion of /usr/share/
diversion of /bin/sh to /bin/sh.distrib by dash
remove the diversion:
sudo dpkg-divert --remove /usr/lib/
Removing 'diversion of /usr/lib/
sudo apt-get remove fglrx
run jockey again and it should work
Status changed to 'Confirmed' because the bug affects multiple users.