-
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

Intel S2600TP 4-Node 64 Core Server 8x Xeon E5-2620 v4, 256GB DDR4 RAM, 2x 1600W
$1785.00

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$95.20

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working
$149.99

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB
$149.99

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays
$799.99

HPE PROLIANT BL460C GEN 9 813198-B21 2.5"x2 Server Blade SEE NOTES
$21.08

Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU
$197.76

Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis
$274.99

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric
$174.99

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS
$578.08