Results 1 to 5 of 5

Thread: I get an error when using apt-get

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    3

    I get an error when using apt-get

    When ever trying to install a new application, it get the following error:

    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    So, as it suggests, I run apt-get -f install...no good, I get this error:

    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)

    Any suggestions? I am new to debian, have been using linux off and on for about three years, still consider myself a beginner. I upgraded my machine to unstable after performing a knx-hdinstall using the directions on debian.org . Any help would be appreciated.-Ryan

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    welcome to the dark side of apt-get.

    There isn't very much you can do. you may try to first remove xlibs-dev and try again. You see this error because the package maintainers(of both packages) both include the file in question which dpkg don't like(it wants to be sure that every file in the system belongs to only one package, based on my limited knowledge of it). May be there is a command line option that can tell dpkg to ignore this condition.

    I would like to know the answer too.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297
    Quote Originally Posted by garyng
    welcome to the dark side of apt-get.

    There isn't very much you can do. you may try to first remove xlibs-dev and try again. You see this error because the package maintainers(of both packages) both include the file in question which dpkg don't like(it wants to be sure that every file in the system belongs to only one package, based on my limited knowledge of it). May be there is a command line option that can tell dpkg to ignore this condition.

    I would like to know the answer too.
    "If you have nothing to loose" do the following:

    Code:
    cd /var/cache/apt/archives/
    dpkg --force-overwrite -i package_inquestion.deb
    Then both packages will be installed, but of course the file will be overwritten.

    There are other solutions possible with dpkg-divert, but those should be used more by package-developers like me .

    cu

    Fabian

  4. #4
    Junior Member
    Join Date
    Sep 2003
    Posts
    3
    Fixed. I slept for the night, then used netselect to get a new mirror, ran apt-get update, and then ran apt-get -f install . I don't know how it worked, or why, but it did and I now have apt-get back and working again. I guess that's why they call it unstable.-Ryan

  5. #5
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    unstable indeed

    but most of the time the problems get fixed quick. So I can handle it... just dont upgrade your system if you have to finish an important document for tomorow

Similar Threads

  1. CRC error
    By IdroJ in forum General Support
    Replies: 2
    Last Post: 02-04-2004, 11:43 PM
  2. Xine error after doing a Upgrade, error posted. (resolved)
    By Cuddles in forum Hdd Install / Debian / Apt
    Replies: 17
    Last Post: 01-20-2004, 04:30 PM
  3. Why I got this error
    By luro95 in forum General Support
    Replies: 0
    Last Post: 10-17-2003, 03:55 AM
  4. mkisofs error: end request: I/O error, dev 02:00 (floppy...
    By labrador in forum Customising & Remastering
    Replies: 0
    Last Post: 07-18-2003, 01:54 AM
  5. Partition-error (Table written but error while reading!!!)
    By Mad_Max_FX in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-22-2003, 03:29 AM

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

$1599.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 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



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.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 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 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



1 X IBM 720 POWER SERVER WITH 32 GB RAM picture

1 X IBM 720 POWER SERVER WITH 32 GB RAM

$344.97



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 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