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
  •  


Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$100.00



Micron MTFDDAK256TBN 256 GB, Internal ,2.5

Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD

$23.00



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -

$39.99



Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$99.99



Crucial MX500 250GB 2.5

Crucial MX500 250GB 2.5" SATA III SSD - Preowned

$29.00



Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive picture

Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive

$42.99



2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON picture

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON

$28.00



Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop picture

Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop

$250.00



Samsung 860 EVO 250GB, SATA III, 2.5

Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black...

$30.00