Results 1 to 2 of 2

Thread: problems with apt-get

  1. #1
    Member registered user
    Join Date
    Jul 2003
    Posts
    30

    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?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    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

  1. Knoppix Problems or Hardware Problems
    By mindmeddler2003 in forum General Support
    Replies: 1
    Last Post: 02-03-2004, 07:29 PM
  2. ideq 200s problems and more problems
    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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1299.99



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$110.30



IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012 picture

IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012

$109.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00