DebianThis forum is for the discussion of Debian Linux.
Notices
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.
After running an upgrade, I have problems with apt-get and I'm suspecting that it has to do with the upgrade of X to 4.3. I get tons of dependency errors (around 42 - what an D. Adams coincidence!), and I am recommended as usual to try -f. Then I get the following:
blues:/home/j_lo# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
xlibmesa-gl xlibmesa-glu
Suggested packages:
libglide3
The following packages will be REMOVED:
xlibmesa3-glu
The following NEW packages will be installed:
xlibmesa-gl xlibmesa-glu
0 upgraded, 2 newly installed, 1 to remove and 71 not upgraded.
42 not fully installed or removed.
Need to get 0B/566kB of archives.
After unpacking 770kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 109681 files and directories currently installed.)
Unpacking xlibmesa-gl (from .../xlibmesa-gl_4.3.0-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/xlibmesa-gl_4.3.0-7_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)
Errors were encountered while processing:
/var/cache/apt/archives/xlibmesa-gl_4.3.0-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any help is much appreciated. Neither my X or apt-get is working properly at the moment :-(.
Thank you very much for your suggestion. All packages updates well, except this xlibmesa:
Unpacking xlibmesa-gl (from .../xlibmesa-gl_4.3.0-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/xlibmesa-gl_4.3.0-7_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)
Errors were encountered while processing:
/var/cache/apt/archives/xlibmesa-gl_4.3.0-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Use dpkg -i --force-overwrite /var/cache/apt/archives/xlibmesa-gl_4.3.0-7_i386.deb as root it will then overwrite the file from the other package which is holding it up and you will want to do a dpkg --configure -a as well to make sure that no packages were left unconfigured when the error occurred.
Hi, thanks for your answer. Now it looks like xlibmesa needs libxext6 and (or?) xlibs. Do you think I should try to install them in the same way, using -i --force-overwrite?
Unpacking xlibmesa-gl (from .../xlibmesa-gl_4.3.0-7_i386.deb) ...
dpkg - warning, overriding problem because --force enabled:
trying to overwrite `/usr/X11R6/lib/libGL.so.1.2', which is also in package fglrx
dpkg: dependency problems prevent configuration of xlibmesa-gl:
xlibmesa-gl depends on libxext6 | xlibs (>> 4.1.0); however:
Package libxext6 is not configured yet.
Package xlibs is not configured yet.
dpkg: error processing xlibmesa-gl (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xlibmesa-gl
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.