-
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
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$79.99
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
Motherboard AM4 A520m 4 slots Ryzen Gigabyte D3SH - Best price
$50.00
[REFUR] MSI B450M-A PRO MAX AM4 AMD B450 SATAIII USB3.2 Micro-ATX Motherboard
$55.99
ASUS Prime B250M-C LGA1151 DDR4 Desktop Motherboard USB 3.0 w/ I/O Shield
$39.99
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$80.71
Intel DH61CR LGA1155 MicroATX Motherboard Core i3 i5 i7 Pentium NO CPU Fan HS
$14.99
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$96.01
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$44.74