[Ubuntu-x-swat] [Bug 345657] Re: package xorg-driver-fglrx None failed to install/upgrade: subprocess post-removal script returned error exit status 2

2010-05-28 Thread w2vy
This worked for me:

http://ubuntuforums.org/showpost.php?p=9338979postcount=14

sudo dpkg-divert --remove /usr/lib/libGL.so.1.2

-- 
package xorg-driver-fglrx None failed to install/upgrade: subprocess 
post-removal script returned error exit status 2
https://bugs.launchpad.net/bugs/345657
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 345657] Re: package xorg-driver-fglrx None failed to install/upgrade: subprocess post-removal script returned error exit status 2

2010-05-21 Thread w2vy
I encountered this when following the instructions from

https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver

The second attempt : Problem: Need to fully remove -fglrx and reinstall
-ati from scratch

I did the first, rebooted, tried gnubg, it still segv'ed

dpkg -l '*fglrx*'

and saw fglrx was still installed, so went after the more agressive
attampt.

t...@w2vy:~$ which gnubg
/usr/games/gnubg
t...@w2vy:~$ gnubg
GNU Backgammon 0.9.0

Copyright, 1999-2004 by Gary Wong, 2004-2008 GNU Backgammon is the legal
property of its authors.

GNU Backgammon is free software, covered by the GNU General Public License
version 3 or later, and you are welcome to change it and/or distribute
copies of it under certain conditions.  Type show copying to see the
conditions. There is absolutely no warranty for GNU Backgammon. Type 
show warranty for details.

Python supported.
SQLite database supported.
Window system supported.
External players supported.
XML match equity files supported.
Long RNG seeds supported.
3d Boards supported.
External commands supported.
ESD sound system supported.
Segmentation fault
t...@w2vy:~$ dpkg -l '*fglrx*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  fglrx  2:8.723.1-0ubu Video driver for the ATI graphics accelerato
ii  fglrx-amdcccle 2:8.723.1-0ubu Catalyst Control Center for the ATI graphics
un  fglrx-control  none (no description available)
un  fglrx-control- none (no description available)
un  fglrx-kernel-s none (no description available)
ii  fglrx-modalias 2:8.723.1-0ubu Identifiers supported by the ATI graphics dr
un  xorg-driver-fg none (no description available)
t...@w2vy:~$ ls /usr/share/ati/
amdcccle
t...@w2vy:~$ sudo apt-get remove --purge fglrx*
[sudo] password for tom: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Note, selecting fglrx-driver-dev for regex 'fglrx*'
Note, selecting fglrx for regex 'fglrx*'
Note, selecting xfree86-driver-fglrx-dev for regex 'fglrx*'
Note, selecting fglrx-control for regex 'fglrx*'
Note, selecting fglrx-amdcccle for regex 'fglrx*'
Note, selecting fglrx-dev for regex 'fglrx*'
Note, selecting fglrx-modaliases for regex 'fglrx*'
Note, selecting fglrx-kernel-source for regex 'fglrx*'
Note, selecting xorg-driver-fglrx for regex 'fglrx*'
Note, selecting fglrx-control-qt2 for regex 'fglrx*'
Note, selecting xorg-driver-fglrx-dev for regex 'fglrx*'
The following packages were automatically installed and are no longer required:
  libqtcore4 dkms libqtgui4 libmng1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  fglrx* fglrx-amdcccle* fglrx-modaliases*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 69.2MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 182899 files and directories currently installed.)
Removing fglrx-amdcccle ...
Removing fglrx ...
Removing all DKMS Modules
Done.
update-alternatives: using /usr/lib/mesa/ld.so.conf to provide 
/etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
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 (--purge):
 subprocess installed post-removal script returned error exit status 2
Removing fglrx-modaliases ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Processing triggers for python-support ...
Errors were encountered while processing:
 fglrx
E: Sub-process /usr/bin/dpkg returned an error code (1)
t...@w2vy:~$

-- 
package xorg-driver-fglrx None failed to install/upgrade: subprocess 
post-removal script returned error exit status 2
https://bugs.launchpad.net/bugs/345657
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp