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
  •  


Dell SNPTP9W1C/16G 16 GB 2666MHz (PC4-2666) Memory Ram picture

Dell SNPTP9W1C/16G 16 GB 2666MHz (PC4-2666) Memory Ram

$34.95



Adata XPG Gammix D10 16GB (8GBx2) DDR4 3200MHz RAM (AX4U320038G16A-BB10) picture

Adata XPG Gammix D10 16GB (8GBx2) DDR4 3200MHz RAM (AX4U320038G16A-BB10)

$23.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Lot of 2 4GB DDR4 Memory PC4-3200 SODIMM Laptop RAM 3200MHz picture

Lot of 2 4GB DDR4 Memory PC4-3200 SODIMM Laptop RAM 3200MHz

$9.99



NEW OLOy 16GB 2x8GB KIT DDR4-3000 PC4-24000 Desktop Gaming RAM MD4U0830160BB1ST picture

NEW OLOy 16GB 2x8GB KIT DDR4-3000 PC4-24000 Desktop Gaming RAM MD4U0830160BB1ST

$19.99



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$22.45



Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory

$54.99



Micron 16GB DDR4-2400 SODIMM MTA16ATF2G64HZ-2G3E1 Laptop Memory RAM picture

Micron 16GB DDR4-2400 SODIMM MTA16ATF2G64HZ-2G3E1 Laptop Memory RAM

$21.99



(4 Piece) Micron MTA36ASF4G72PZ-2G6 DDR4-2666v 128GB (4x32GB) Workstation RAM picture

(4 Piece) Micron MTA36ASF4G72PZ-2G6 DDR4-2666v 128GB (4x32GB) Workstation RAM

$135.99



HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB picture

HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB

$128.20