LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Frozen-bubble and xlibmesa-gl errors (https://www.linuxquestions.org/questions/debian-26/frozen-bubble-and-xlibmesa-gl-errors-190145/)

men$an 06-05-2004 06:50 PM

Frozen-bubble and xlibmesa-gl errors
 
hey there all,

i installed debian via knoppix 3.4 and tried to uninstall a few things with 'apt-get remove' to reduce the clutter. there was an error with removing frozen-bubble and now i cannot remove it. this is the error it throws:
Code:

Unpacking replacement frozen-bubble-data ...
mv: cannot stat `/usr/games/frozen-bubble.wav': No such file or directory
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/frozen-bubble-data_1.0.0-5_all.deb (--unpack):
 there is no script in the new version of the package - giving up
preinst called with unknown argument `abort-upgrade'
dpkg: error while cleaning up:
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-4_i386.deb
 /var/cache/apt/archives/frozen-bubble-data_1.0.0-5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

in addition, since i did a 'apt-get dist-upgrade' i now get another error, relating to the fact that i am using the radeon driver from ATi for my 9800 i believe. here is its error:
Code:

Preparing to replace xlibmesa-gl 4.3.0.dfsg.1-1 (using .../xlibmesa-gl_4.3.0.dfsg.1-4_i386.deb) ...
Unpacking replacement xlibmesa-gl ...
dpkg: error processing /var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-4_i386.deb (--unpack):
 trying to overwrite `/usr/X11R6/lib/libGL.so.1.2', which is also in package fglrx
dpkg-deb: subprocess paste killed by signal (Broken pipe)

any ideas? do i need to allow there to be 2 versions of libGL.so.1.2 somehow or something?

any help at all would certainly be appreciated.

-men$an

delkian 06-12-2004 08:32 PM

You can circumvent the latter problem by using dpkg-divert to tell dpkg that only one package's version should actually be named libGL.so.1.2 and others should be automatically diverted to other names. See the dpkg-divert man page for details.

Something like

dpkg-divert --divert /usr/X11R6/lib/diverted-libGL.so.1.2 --package fglrx --add /usr/X11R6/lib/libGL.so.1.2

should do the trick.

StrangeBiscuit 06-14-2004 02:54 PM

I am having the exact same problem with my Frozen Bubble package. It seems to be an unremovable package somehow and I can't figure out how to resolve it to get apt-get working properly again. When I attempt to install or reinstall or when ever I try to 'apt-get upgrade' I get the same result as listed above. When I try to remove, I get this:

root@StrangeBox:/home/StrangeBiscuit# dpkg --force-all --remove frozen-bubble-data
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 128024 files and directories currently installed.)
Removing frozen-bubble-data ...
mv: cannot stat `/usr/games/frozen-bubble.wav': No such file or directory
dpkg: error processing frozen-bubble-data (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
frozen-bubble-data

If I can't remove and I cant reinstall, what is left to do? Any help would be greatly appreciated!! THANX!


All times are GMT -5. The time now is 06:30 AM.