-
Junior Member
registered user
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?
-
Senior Member
registered user
Re: atp-get broken
Originally Posted by
Jux
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
-
Junior Member
registered user
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?
-
Senior Member
registered user
Originally Posted by
Jux
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.
-
Junior Member
registered user
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]
-
Junior Member
registered user
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...
-
Senior Member
registered user
Originally Posted by
Jux
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.
-
Junior Member
registered user
thnx for the tip ... now it seems to work
Similar Threads
-
By kplloyd in forum General Support
Replies: 0
Last Post: 12-01-2004, 05:32 PM
-
By probono in forum General Support
Replies: 0
Last Post: 08-24-2004, 06:55 AM
-
By muczy in forum General Support
Replies: 2
Last Post: 08-07-2004, 12:38 PM
-
By arkaine23 in forum General Support
Replies: 3
Last Post: 08-04-2003, 06:25 AM
-
By Tortoise in forum General Support
Replies: 1
Last Post: 06-04-2003, 02:43 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x 256GB SSD Quadro 2000 Linux GA
$212.49
HP Z420 Workstation Xeon E5-2690 v2 3ghz 10-Cores 64gb 512gb SSD 4TB Win10
$239.99
Lenovo ThinkStation P520 Workstation Xeon W-2123 3.6GHz 16GB RAM 2TB WIN10
$209.99
Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB
$334.99
Intel Xeon E5-2680 v4 SR2N7 2.40GHz 35MB 14-Core LGA2011-3 CPU Processor
$14.99
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor
$3.96
Dell Precision T5810 Xeon E5-1620 v4 (3.50GHz) 32GB RAM, No OS, No Graphic Card
$100.00
Intel Xeon E7-8890 V4 2.20GHz 24-Core 60MB LGA2011 Server CPU Processor SR2SS
$29.99
HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X
$309.99
Dell Precision T5600 Xeon E5-2603 1.80GHz 16GB RAM 1TB HDD Quadro 600 #27
$76.99