View Full Version : atp-get broken
Hi
I wanted to install new packeges with apt-get and at first it worked fine, but one time it messed something up because of unmet dependency issues. So the package installation couldn't complete. Now when i want to install another package it gives me the same old crap about the uncompleted installation and to solve it - i should
apt-get -f install
(without any package)
OK i do that but then it gives another error that is a bit similar to that in the first place.
here it is:
The following extra packages will be installed:
kdelibs-data libx11-6 libx11-dev libxcursor-dev libxslt1.1 x-dev
The following packages will be REMOVED:
libxslt1
The following NEW packages will be installed:
libx11-6 libx11-dev libxcursor-dev libxslt1.1 x-dev
1 packages upgraded, 5 newly installed, 1 to remove and 757 not upgraded.
94 packages not fully installed or removed.
Need to get 0B/7436kB of archives. After unpacking 6558kB will be used.
Do you want to continue? [Y/n] y
Setting up base-passwd (3.5.7) ...
(Reading database ... 114482 files and directories currently installed.)
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)
Errors were encountered while processing:
/var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
what should i do?
Cuddles
04-01-2004, 02:33 PM
Hi
I wanted to install new packeges with apt-get and at first it worked fine, but one time it messed something up because of unmet dependency issues. So the package installation couldn't complete. Now when i want to install another package it gives me the same old crap about the uncompleted installation and to solve it - i should
apt-get -f install
(without any package)
OK i do that but then it gives another error that is a bit similar to that in the first place.
here it is:
The following extra packages will be installed:
kdelibs-data libx11-6 libx11-dev libxcursor-dev libxslt1.1 x-dev
The following packages will be REMOVED:
libxslt1
The following NEW packages will be installed:
libx11-6 libx11-dev libxcursor-dev libxslt1.1 x-dev
1 packages upgraded, 5 newly installed, 1 to remove and 757 not upgraded.
94 packages not fully installed or removed.
Need to get 0B/7436kB of archives. After unpacking 6558kB will be used.
Do you want to continue? [Y/n] y
Setting up base-passwd (3.5.7) ...
(Reading database ... 114482 files and directories currently installed.)
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)
Errors were encountered while processing:
/var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
what should i do?
Jux,
Is it me, or does 94 packages message appear too high??? I freak out when I just get ONE of these... (I am "way" out of my depth here, so, I am just pointing out what "I" see as "above normal", from what I can see... You tried to apt-get install a "big" set of packages "previously" -=- which evidently, died before it could complete its work. Now "that" previous install is forcing itself to be fixed, hopefully, before anything else can get even more messed up)
I had this happen twice: first was after doing an apt-get upgrade - and "joe" messed it up, and the other was trying to get ALSA working on my system. (if I recall my memory correctly) my system got so messed up, I had to re-install. Hopefully, someone else has better answers than me, and this "resolve" it not something you "have" to do, Jux.
Cuddles
so i'm in deep ... this time?
Because i had this problem as i described above i thought i'll do a upgrade and it will fix everithing, but it didn't.
another thing is that if i do
apt-get check
i'lll get:
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
kdelibs-bin: Depends: libxslt1.1 (>= 1.1.2) but it is not installed
kdelibs4: Depends: libxslt1.1 (>= 1.1.2) but it is not installed
Depends: kdelibs-data (>= 4:3.1.5-1) but 4:3.1.3-1 is installed
koffice-libs: Depends: libxslt1.1 (>= 1.1.2) but it is not installed
libqt3-mt-dev: Depends: libxcursor-dev but it is not installed
E: Unmet dependencies. Try using -f.
so do i have to reintsall knoppix/debian or is there a way out of this mess?
Stephen
04-01-2004, 09:56 PM
so i'm in deep ... this time?
Because i had this problem as i described above i thought i'll do a upgrade and it will fix everithing, but it didn't.
another thing is that if i do
apt-get check
i'lll get:
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
kdelibs-bin: Depends: libxslt1.1 (>= 1.1.2) but it is not installed
kdelibs4: Depends: libxslt1.1 (>= 1.1.2) but it is not installed
Depends: kdelibs-data (>= 4:3.1.5-1) but 4:3.1.3-1 is installed
koffice-libs: Depends: libxslt1.1 (>= 1.1.2) but it is not installed
libqt3-mt-dev: Depends: libxcursor-dev but it is not installed
E: Unmet dependencies. Try using -f.
so do i have to reintsall knoppix/debian or is there a way out of this mess?
For the problem in your first post use dpkg --force-overwrite -i /var/cache/apt/archives/libx11-6_4.3.0-7_i386.deb and then dpkg --configure -a to configure the packages that were missed when the error happened. For this problem it looks like you do not have the libxslt1.1 or libxcursor-dev installed so install them and then see if the upgrade will work there should be no need to reinstall.
Thank you for that answer, it helped much and fixed lot of things, but after i
dpkg --configure -a
it displayes:
Errors were encountered while processing:
kdelibs-bin
libqt3-mt-dev
kdelibs4
kdelibs4-dev
koffice-libs
koffice-data
libarts1-dev
do u think i should reinstall those manually with dpkg or will they be fixed during the upgrade or what else should i do with them.
[/list][/list]
ok now after i did
apt-get -f install
it at first fixed some stuff and then it had errors:
Errors were encountered while processing:
/var/cache/apt/archives/x-dev_4.3.0-7_all.deb
/var/cache/apt/archives/libx11-dev_4.3.0-7_i386.deb
/var/cache/apt/archives/libxcursor-dev_1.0.2-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ideas are welcome...
Stephen
04-06-2004, 08:01 PM
ok now after i did
apt-get -f install
it at first fixed some stuff and then it had errors:
Errors were encountered while processing:
/var/cache/apt/archives/x-dev_4.3.0-7_all.deb
/var/cache/apt/archives/libx11-dev_4.3.0-7_i386.deb
/var/cache/apt/archives/libxcursor-dev_1.0.2-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ideas are welcome...
Without seeing the whole output I would assume you have to do a --force-overwrite of those packages then the --configure -a as well.
BTW what you are posting is not sufficient to tell what the error is we need more of the output for it to be usefull.
thnx for the tip ... now it seems to work
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.