-
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
Samsung Galaxy Tab A8 10.5" SM-X200 64GB Wifi Only Tablet Open Box
$139.99
Samsung 870 EVO 1TB SATA 2.5" INTERNAL SSD SOLID STATE DRIVE | MZ-77E1T0 w/o box
$49.00
BRAND NEW Samsung Smart Book Cover Galaxy Tab S9 | S9 5G
$57.99
Samsung - S Pen Creator Edition - White
$38.00
Samsung 850 EVO 500 GB SSD 2.5 inch (MZ-75E500 AM) Solid State Drive
$32.73
Original Samsung Book Cover for Samsung Galaxy Tab S8 Ultra / S8 Ultra 5G-Black
$49.99
Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4
$10.00
Samsung Galaxy Tab A7 Lite - 32GB - Wi-Fi/ Metropcs / Metro By T Mobile New
$59.98
SAMSUNG LS34C502GANXZA 34-Inch ViewFinity S50GC Series Ultra-WQHD Monitor, Black
$134.99
Samsung Galaxy Chromebook 2 13.3" FHD Touch i3-10110U 8GB 128GB ~ RED ~ NIB
$299.99