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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



AMD Ryzen 7 9800X3D - Ryzen 7 9000 Series Zen 5 8-Core 4.7 GHz - Socket AM5 picture

AMD Ryzen 7 9800X3D - Ryzen 7 9000 Series Zen 5 8-Core 4.7 GHz - Socket AM5

$375.00



AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1) picture

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)

$189.00



Advantech ARK-3500 Fanless Industrial PC i7-3610QE 8GB        picture

Advantech ARK-3500 Fanless Industrial PC i7-3610QE 8GB

$200.00



Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151) picture

Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151)

$189.99



Apple Macbook Pro 13

Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good

$464.99



Microsoft Surface Go 2 Laptop Core i5 1135G7 2.4GHz 8GB 128GB SSD picture

Microsoft Surface Go 2 Laptop Core i5 1135G7 2.4GHz 8GB 128GB SSD

$179.99



AMD - Ryzen 7 7800X3D 8-CORE 16-THREAD 4.2 GHz (5.0 GHz Max Boost) AM5 UNLOCKED picture

AMD - Ryzen 7 7800X3D 8-CORE 16-THREAD 4.2 GHz (5.0 GHz Max Boost) AM5 UNLOCKED

$300.00



DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS picture

DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS

$99.99



HP EliteBook 840 G8 Laptop 14” FHD Core i5 16GB RAM 256GB SSD Windows 11 Pro picture

HP EliteBook 840 G8 Laptop 14” FHD Core i5 16GB RAM 256GB SSD Windows 11 Pro

$299.99