-
problems with apt-get
I am in the process of moving from Mandrake 9.2 to Knoppix-Debian and it is a struggle.
I am using the /etc/apt/sources.list that was installed on my hard disk. For some reason, Kworldclock was not installed. So I entered the command:
apt-get install kdetoys
it installed kworldclock as desired but there was a problem with kdelib4.
Now whenever I execute the command:
apt-get upgrade
I get the response:
Bash ajax rozen [~] ->sudo apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
kdelibs4: Depends: kdelibs-data (= 4:3.1.4-2) but 4:3.1.3-1 is installed
libqt3-mt-dev: Depends: libxcursor-dev but it is not installed
E: Unmet dependencies. Try using -f.
Bash ajax rozen [~] ->sudo apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
kdelibs-data libxcursor-dev
The following NEW packages will be installed:
libxcursor-dev
The following packages will be upgraded
kdelibs-data
1 upgraded, 1 newly installed, 0 to remove and 156 not upgraded.
21 not fully installed or removed.
Need to get 0B/5094kB of archives.
After unpacking 713kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 122711 files and directories currently installed.)
Preparing to replace kdelibs-data 4:3.1.3-1 (using .../kdelibs-data_4%3a3.1.4-2_all.deb) ...
Unpacking replacement kdelibs-data ...
dpkg: error processing /var/cache/apt/archives/kdelibs-data_4%3a3.1.4-2_all.deb (--unpack):
trying to overwrite `/usr/share/mimelnk/application/x-cue.desktop', which is also in package k3b
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libxcursor-dev (from .../libxcursor-dev_1.0.2-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/include/X11/Xcursor/Xcursor.h', which is also in package xlibs-dev
Errors were encountered while processing:
/var/cache/apt/archives/kdelibs-data_4%3a3.1.4-2_all.deb
/var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
How do I move on so that I can continue to use apt-get to do upgrades for me?
-
Senior Member
registered user
First cd /var/cache/apt/archives then as root dpkg -i --force-overwrite kdelibs-data_4%3a3.1.4-2_all.deb libxcursor-dev_1.0.2-2_i386.deb. BTW this has been asked and answered a few times already a quick search would have led to the solution.
Similar Threads
-
By mindmeddler2003 in forum General Support
Replies: 1
Last Post: 02-03-2004, 07:29 PM
-
By lesshaste in forum General Support
Replies: 2
Last Post: 01-09-2004, 05:50 PM
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

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive
$34.99

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99

HGST 0F23072 Deskstar NAS 6TB SATA III 7200RPM 128MB 3.5in HDD
$84.99

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5" 512b/s
$55.00

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)
$45.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99