| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 44796 | 2004-04-30 10:46:00 | Apt-get dependency errors | RobbyW (5226) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 233130 | 2004-04-30 10:46:00 | hey, when I try to use apt to update, it fails due to libxcursor-dev having unmet dependencies. then when i run apt-get -f install i get the following error: Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following extra packages will be installed: libx11-6 libx11-dev x-dev The following NEW packages will be installed: libx11-6 libx11-dev x-dev 0 upgraded, 3 newly installed, 0 to remove and 581 not upgraded. 1 not fully installed or removed. Need to get 0B/2172kB of archives. After unpacking 6357kB of additional disk space will be used. Do you want to continue? [Y/n] y Reading package fields... Done Reading package status... Done Retrieving bug reports... Done W: Couldn't stat source package list non-us.debian.org ./ Packages () - stat (2 No such file or directory) W: Couldn't stat source package list people.debian.org sid Packages (/var/lib/apt/lists/people.debian.org_%7ebranden_packages_sid_i386_Pac kages) - stat (2 No such file or directory) (Reading database ... 114042 files and directories currently installed.) Unpacking x-dev (from .../archives/x-dev_4.3.0-7_all.deb) ... dpkg: error processing /var/cache/apt/archives/x-dev_4.3.0-7_all.deb (--unpack): trying to overwrite `/usr/X11R6/include/X11/DECkeysym.h', which is also in package xlibs-dev dpkg-deb: subprocess paste killed by signal (Broken pipe) Unpacking libx11-6 (from .../libx11-6_4.3.0-7_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb (--unpack): trying to overwrite `/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2', which is also in package xlibs dpkg-deb: subprocess paste killed by signal (Broken pipe) Unpacking libx11-dev (from .../libx11-dev_4.3.0-7_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libx11-dev_4.3.0-7_i386.deb (--unpack): trying to overwrite `/usr/X11R6/include/X11/XKBlib.h', which is also in package xlibs-dev dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/x-dev_4.3.0-7_all.deb /var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb /var/cache/apt/archives/libx11-dev_4.3.0-7_i386.deb W: Couldn't stat source package list non-us.debian.org ./ Packages () - stat (2 No such file or directory) W: Couldn't stat source package list people.debian.org sid Packages (/var/lib/apt/lists/people.debian.org_%7ebranden_packages_sid_i386_Pac kages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Sub-process /usr/bin/dpkg returned an error code (1) RESULT=100 but i when i use apt-get update to fix it as it says, i just get the same error on libxcursor-dev! if anyone knows of a way to fix my problem (or even just a suggestion) i would be very grateful!!!! |
RobbyW (5226) | ||
| 233131 | 2004-04-30 21:35:00 | Wipe the computer? :p | Growly (6) | ||
| 233132 | 2004-04-30 21:54:00 | sacrilege! :p | RobbyW (5226) | ||
| 233133 | 2004-05-01 00:26:00 | It looks like you have an unofficial xlibs-dev package which is causing apt-get to fail. There is a Debian bug report filed here (bugs.debian.org). Try upgrading/reinstalling xlibs-dev from the stable Debian branch here (packages.debian.org). Take note of the required dependencies. | Jen C (20) | ||
| 233134 | 2004-05-01 00:38:00 | ok thanks, I'm downloading that now and will update when i check if it works or not. I'm skeptical about whether it will however as it will not let me uninstall the version i have. |
RobbyW (5226) | ||
| 233135 | 2004-05-01 00:56:00 | I tried what you suggested but unfortunately it still failed with this error: <noppix/xlibs-dev_4.1.0-16woody3_i386.deb' ;echo RESULT=$? Selecting previously deselected package xlibs-dev. (Reading database ... 114042 files and directories currently installed.) Preparing to replace xlibs-dev 4.3.0-0ds4 (using .../xlibs-dev_4.1.0-16woody3_i386.deb) ... Unpacking replacement xlibs-dev ... dpkg: error processing //home/knoppix/xlibs-dev_4.1.0-16woody3_i386.deb (--install): trying to overwrite `/usr/X11R6/include/X11/extensions/render.h', which is also in package render-dev dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: //home/knoppix/xlibs-dev_4.1.0-16woody3_i386.deb RESULT=1 I also tried moving and renaming render.h so that there was nothing for it to complain about, however even with full permissions it didn't let me! |
RobbyW (5226) | ||
| 233136 | 2004-05-01 02:49:00 | Does the apt system have a force option? That seems to be needed . ;-) Of course people think they can improve things . Especially libraries, when it seems easier to change the system-wide library than to fix your own code (which by definition is perfect :D) so that it will work with the system library . "Official" library changes are treated with great care, and thoroughly tested for backwards compatibility before they become official . I'm surprised this hasn't happened more often . After all, there's a long history of DLL conflicts in another OS . People won't learn from history --- even if they know of the history . :_| |
Graham L (2) | ||
| 1 | |||||