Results 1 to 3 of 3

Thread: How do you fix apt even when 'apt-get -f install' wont

  1. #1
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145

    How do you fix apt even when 'apt-get -f install' wont

    I've managed to get some sort of 'dependancy that cannot be fixed that 'apt-get -f install' will not fix, the acyual message is below. Until this is resolved apt is broken and I cannot install anything else. I've tried all I could think of doing, 'update' 'remove' 'purge' 'put on hold' without any joy. I cannot be the first to break it!

    Follows:-

    root@Home:/home/stuart# apt-get -f install
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
    libxcursor-dev
    The following NEW packages will be installed:
    libxcursor-dev - putting on hold added this, I cannot remove it!
    0 upgraded, 1 newly installed, 0 to remove and 513 not upgraded.
    7 not fully installed or removed.
    Need to get 0B/27.3kB of archives.
    After unpacking 135kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y - yes please for the nth time!!!!!
    (Reading database ... 118015 files and directories currently installed.)
    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/libxcursor-dev_1.0.2-2_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@Home:/home/stuart#

    Stu.....

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: How do you fix apt even when 'apt-get -f install' wont

    Quote Originally Posted by stukennedyuk
    I've managed to get some sort of 'dependancy that cannot be fixed that 'apt-get -f install' will not fix, the acyual message is below. Until this is resolved apt is broken and I cannot install anything else. I've tried all I could think of doing, 'update' 'remove' 'purge' 'put on hold' without any joy. I cannot be the first to break it!

    Follows:-

    root@Home:/home/stuart# apt-get -f install
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
    libxcursor-dev
    The following NEW packages will be installed:
    libxcursor-dev - putting on hold added this, I cannot remove it!
    0 upgraded, 1 newly installed, 0 to remove and 513 not upgraded.
    7 not fully installed or removed.
    Need to get 0B/27.3kB of archives.
    After unpacking 135kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y - yes please for the nth time!!!!!
    (Reading database ... 118015 files and directories currently installed.)
    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/libxcursor-dev_1.0.2-2_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@Home:/home/stuart#

    Stu.....
    This has beeen asked and answered a couple of times already to answer again.

    cd /var/cache/apt/archives

    then as root

    dpkg -i --force-overwrite libxcursor-dev_1.0.2-2_i386.deb

  3. #3
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145
    Many thanks Stephen for your prompt help (again!)

    Cheers, Stuart.....

Similar Threads

  1. knoopix 3.8 pentium III dual xeon--wont install
    By plener in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 04-04-2005, 03:38 PM
  2. i need help wiht ym knoppisx install it wont work right
    By lordnikon in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 04-27-2004, 12:42 AM
  3. kde toys wont install
    By efi360 in forum General Support
    Replies: 0
    Last Post: 02-29-2004, 10:35 PM
  4. lilo wont install to harddisk
    By dee_tt in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 07-02-2003, 09:49 PM
  5. My computer wont boot from cd, help me install with a floppy
    By xenocypraz in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 02-07-2003, 06:37 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
  •  


Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS picture

Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS

$3599.00



Cisco RV320 Dual WAN VPN 4 Port Gigabit Router w/ Web Filtering RV320-WB-K9-NA picture

Cisco RV320 Dual WAN VPN 4 Port Gigabit Router w/ Web Filtering RV320-WB-K9-NA

$374.00



Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services picture

Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services

$1000.00



Cisco RV340W 1000Mbps Dual WAN Gigabit VPN Wireless AC Router RV340W-A-K9-NA picture

Cisco RV340W 1000Mbps Dual WAN Gigabit VPN Wireless AC Router RV340W-A-K9-NA

$183.00



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod

$83.00



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$38.99



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch picture

Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch

$34.00



New Cisco C9200-NM-4X Catalyst 9200 Series Network Module 4 X 10GE *MINT* picture

New Cisco C9200-NM-4X Catalyst 9200 Series Network Module 4 X 10GE *MINT*

$429.97



Cisco N5K-C5010P-BF 20-Port Nexus 5010 Series 10GbE Gigabit Ethernet Switch picture

Cisco N5K-C5010P-BF 20-Port Nexus 5010 Series 10GbE Gigabit Ethernet Switch

$119.99