Results 1 to 10 of 10

Thread: Newb, Getting error on Apt-get install

  1. #1
    Junior Member registered user
    Join Date
    May 2003
    Posts
    22

    Newb, Getting error on Apt-get install

    I am getting this error on the intall of package that i wanted. I dont under stand the error, how can i find out what it is and fix it (error code (1).

    BTW, am using Koppix 3.3 installed on hard drive Any help would be appreciated. THANKS !

    Also, as you can see i already tried apt-get -f install

    root@Linuxbox:~# apt-get install kdetoys
    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:
    kdetoys: Depends: amor but it is not going to be installed
    Depends: eyesapplet but it is not going to be installed
    Depends: fifteenapplet but it is not going to be installed
    Depends: kaphorism but it is not going to be installed
    Depends: kmoon but it is not going to be installed
    Depends: kodo but it is not going to be installed
    Depends: ktux but it is not going to be installed
    Depends: kweather but it is not going to be installed
    Depends: kworldclock but it is not going to be installed
    libqt3-mt-dev: Depends: libxcursor-dev but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    root@Linuxbox:~# 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
    0 upgraded, 1 newly installed, 0 to remove and 733 not upgraded.
    49 not fully installed or removed.
    Need to get 0B/29.2kB of archives.
    After unpacking 139kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 113569 files and directories currently installed.)
    Unpacking libxcursor-dev (from .../libxcursor-dev_1.0.2-4_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/libxcursor-dev_1.0.2-4_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-4_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@Linuxbox:~#

  2. #2
    Junior Member
    Join Date
    Feb 2004
    Posts
    9
    have you tried 'apt-get update' first to update the packages that are available for you?

  3. #3
    Junior Member registered user
    Join Date
    May 2003
    Posts
    22
    Hi, cyKeMatica
    Yes I have updated apt-get on same night before tring to install some pakages
    it updated ok.

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Do as root:

    dpkg -i --force-overwrite /var/cache/apt/archives/libxcursor-dev_1.0.2-4_i386.deb

  5. #5
    Junior Member registered user
    Join Date
    May 2003
    Posts
    22
    Hi, Markus and thank you for the post.
    Tried your sugestion but it did not work got this error this time. Any other suggestions?


    root@Linuxbox:/home/knoppix# dpkg -i --force-overwrite /var/cache/apt/archives/libxcursor-dev_1.0.2-4_i386.deb
    (Reading database ... 113569 files and directories currently installed.)
    Unpacking libxcursor-dev (from .../libxcursor-dev_1.0.2-4_i386.deb) ...
    dpkg - warning, overriding problem because --force enabled:
    trying to overwrite `/usr/X11R6/include/X11/Xcursor/Xcursor.h', which is also in package xlibs-dev
    dpkg: dependency problems prevent configuration of libxcursor-dev:
    libxcursor-dev depends on libxcursor1 (= 1.0.2-4); however:
    Package libxcursor1 is not configured yet.
    libxcursor-dev depends on libc6-dev | libc-dev; however:
    Package libc6-dev is not configured yet.
    Package libc-dev is not installed.
    Package libc6-dev which provides libc-dev is not configured yet.
    dpkg: error processing libxcursor-dev (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    libxcursor-dev
    root@Linuxbox:/home/knoppix#

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Try doing:
    Code:
    apt-get install libc6-dev
    If that fails, try:
    Code:
    apt-get install libc6
    Can't remember which I had to do when overwriting libxcursor-dev.
    Might as well try:
    Code:
    apt-get -f install
    Sometimes it helps to do it a couple of times.

  7. #7
    Junior Member registered user
    Join Date
    May 2003
    Posts
    22
    Markus,
    I am trying the ( apt-get install libc6-dev) now
    will let you know the results. as for the (apt-get -f install)
    i aready tried it it didnt work

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by efi360
    Package libxcursor1 is not configured yet.
    libxcursor-dev depends on libc6-dev | libc-dev; however:
    Package libc6-dev is not configured yet.
    Package libc-dev is not installed.
    Package libc6-dev which provides libc-dev is not configured yet.
    dpkg: error processing libxcursor-dev (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    libxcursor-dev
    root@Linuxbox:/home/knoppix#
    Make sure to use a dpkg --configure -a when you get this error you have unconfigured packages from the last action of apt which had an error in it.

  9. #9
    Junior Member registered user
    Join Date
    May 2003
    Posts
    22

    Thanks markus

    Markus, you rock Amigo
    The ( apt-get install libc6-dev) did the trick.
    libc6 installed ok, then I apt-get install kdetoys and every thing installed fine with out a hitch.

    just wish I understood the proccess more rather just putting in commands wich I dont realy understand, coming from working with Windose OS. for a long time it's defanetly a lerning curve, but learning something new is good for me. I think linux is really Cool I am glad I stumbled across it
    Thanks for the Help.

    efi360. from San antonio TX.

  10. #10
    Junior Member registered user
    Join Date
    May 2003
    Posts
    22
    Stephen, Thanks for the post
    although I See the console text print out I dont really understand it's meaning being fairly new to liunx, It's slowly starting to sink in a littile though. I will have to look a littile closer at what it's telling me but not really sure I will know what to do with info. Good thing for linux community you can allways ask for help no matter how dumb the questions sound. I guess every one starts at the bottom, and then its learn, learn, learn You cant shine if you dont put in the time.

Similar Threads

  1. Knoppix install read error around 80%, install another way?
    By nmz787 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 11-21-2004, 09:17 AM
  2. Another newb install question
    By woody1377 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-21-2004, 03:53 PM
  3. NEwb question
    By bob bobbish in forum General Support
    Replies: 5
    Last Post: 03-05-2004, 02:27 PM
  4. newb needs boot help
    By TotalLinuxNewb in forum General Support
    Replies: 2
    Last Post: 12-04-2003, 06:08 AM
  5. Total newb install problem
    By TotalLinuxNewb in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 12-01-2003, 07:36 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
  •  


OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN

$115.00



Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026 picture

Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026

$13.99



10G PCIe Ethernet Adapter AQC113 10GBase-T RJ45 NIC for Windows Linux NAS Server picture

10G PCIe Ethernet Adapter AQC113 10GBase-T RJ45 NIC for Windows Linux NAS Server

$57.99



All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive picture

All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive

$15.95



Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU picture

Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU

$649.00



Maxed HP MicroServer Gen8 3.5GHz Xeon E3-1270 V2 16GB RAM 40TB RAID 1TB SSD NAS picture

Maxed HP MicroServer Gen8 3.5GHz Xeon E3-1270 V2 16GB RAM 40TB RAID 1TB SSD NAS

$1499.00



OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC picture

OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC

$175.00



NVIDIA Jetson TK1 + Intel NUC Compute Cluster Tray w/ Netgear 16-Port Switch picture

NVIDIA Jetson TK1 + Intel NUC Compute Cluster Tray w/ Netgear 16-Port Switch

$499.99



BOSGAME E4 Air Mini PC, AMD Ryzen 5 3500U 8GB DDR4 256GB SATA SSD picture

BOSGAME E4 Air Mini PC, AMD Ryzen 5 3500U 8GB DDR4 256GB SATA SSD

$169.99



SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA picture

SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA

$284.99