DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have an ongoing problem with apt-get. It all started with mozilla-firebird 0.6. I tried to install it but apt-get will not overwrite the libxrender file. I've even tried to use libxrender-dev under testing. No luck just a broken package. I've have a mix system. Below is the output when I tried to remove libxrender and a simular message occurs if I tried to remove libxrender-dev or run just plain old apt-get -f install or apt-get -f remove. No luck.
I would appreciate your expertise on this problem.
kms:/home/stevie# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
0 packages upgraded, 0 newly installed, 1 to remove and 531 not upgraded.
31 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 135kB will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 103137 files and directories currently installed.)
Removing libxrender-dev ...
No diversion `diversion of /usr/X11R6/lib/libXrender.a to /usr/X11R6/lib/libXrender-1.1.a by libxrender-dev', none removed
Removing `diversion of /usr/X11R6/lib/libXrender.so to /usr/X11R6/lib/libXrender-1.1.so by libxrender-dev'
dpkg-divert: rename involves overwriting `/usr/X11R6/lib/libXrender.so' with
different file `/usr/X11R6/lib/libXrender-1.1.so', not allowed
dpkg: error processing libxrender-dev (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
localepurge: processing locale files ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
What version of libxrender are you trying to remove? The most recent package is libxrender1.1_1.1-0.5_i386.deb - try d/l that and do a dpkg --force-all -i on that, it may correct the diversions database and let you subsequentially remove it to downgrade.
Or force a downgrade with a --force-all -i straight to an older version to fix the broken libxrender.
Or if they do not want to behave correctly, modify the database manually (/var/lib/dpkg/diversion); the syntax is pretty straight forward. That is, remove all diversions related to libxrender, remove all libxrender -packages and start from the point zero again with correct/newer packages.
Also note that xlibs -package also contains the file in question, so a reinstall of xlibs (or atleast a check that the contents of the package is ok [debsums is a friend]) after removal of libxrender might also be a good idea too.