Results 1 to 6 of 6

Thread: Frustrated! Just cant get anything installed with apt-get

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

    Frustrated! Just cant get anything installed with apt-get

    I am stuck with this error and cant move on.
    please help. (see below)
    It seems that libxcursor-dev wont install no matter what I try and do have. Already tryed apt-get -f install.

    BTW, using Knop 3.3 installed on hard drive

    knoppix@Linuxbox:~$ su
    Password:
    root@Linuxbox:/home/knoppix# apt-get instal kdegames
    E: Invalid operation instal
    root@Linuxbox:/home/knoppix# apt-get install kdegames
    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:
    kdegames: Depends: atlantik (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kasteroids (>= 4:3.1.5-1) but 4:3.1.3-1 is to be installed
    Depends: katomic (>= 4:3.1.5-1) but 4:3.1.3-1 is to be installed
    Depends: kbackgammon (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kbattleship (>= 4:3.1.5-1) but 4:3.1.3-1 is to be installed
    Depends: kblackbox (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kbounce (>= 4:3.1.5-1) but 4:3.1.3-1 is to be installed
    Depends: kenolaba (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kfouleggs (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kjumpingcube (>= 4:3.1.5-1) but it is not going to be installed
    Depends: klickety (>= 4:3.1.5-1) but it is not going to be installed
    Depends: klines (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kmahjongg (>= 4:3.1.5-1) but 4:3.1.3-1 is to be installed
    Depends: kmines (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kolf (>= 4:3.1.5-1) but it is not going to be installed
    Depends: konquest (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kpat (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kpoker (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kreversi (>= 4:3.1.5-1) but 4:3.1.3-1 is to be installed
    Depends: ksame (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kshisen (>= 4:3.1.5-1) but it is not going to be installed
    Depends: ksirtet (>= 4:3.1.5-1) but it is not going to be installed
    Depends: ksmiletris (>= 4:3.1.5-1) but it is not going to be installed
    Depends: ksnake (>= 4:3.1.5-1) but it is not going to be installed
    Depends: ksokoban (>= 4:3.1.5-1) but 4:3.1.3-1 is to be installed
    Depends: kspaceduel (>= 4:3.1.5-1) but it is not going to be installed
    Depends: ktron (>= 4:3.1.5-1) but it is not going to be installed
    Depends: ktuberling (>= 4:3.1.5-1) but it is not going to be installed
    Depends: kwin4 (>= 4:3.1.5-1) but it is not going to be installed
    Depends: lskat (>= 4:3.1.5-1) but it is not going to be installed
    Depends: megami (>= 4:3.1.5-1) 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:/home/knoppix# 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 742 not upgraded.
    38 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 ... 113830 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:/home/knoppix# apt-get install xlibs-dev
    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:
    libqt3-mt-dev: Depends: libxcursor-dev but it is not going to be installed
    xlibs-dev: Depends: libice-dev but it is not going to be installed
    Depends: libsm-dev but it is not going to be installed
    Depends: libx11-dev but it is not going to be installed
    Depends: libxext-dev but it is not going to be installed
    Depends: libxi-dev but it is not going to be installed
    Depends: libxmu-dev but it is not going to be installed
    Depends: libxmuu-dev but it is not going to be installed
    Depends: libxp-dev but it is not going to be installed
    Depends: libxpm-dev but it is not going to be installed
    Depends: libxrandr-dev but it is not going to be installed
    Depends: libxt-dev but it is not going to be installed
    Depends: libxtrap-dev but it is not going to be installed
    Depends: libxtst-dev but it is not going to be installed
    Depends: libxv-dev but it is not going to be installed
    Depends: pm-dev but it is not going to be installed
    Depends: x-dev but it is not going to be installed
    Depends: xlibs-static-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:/home/knoppix# 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 742 not upgraded.
    38 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 ... 113830 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:/home/knoppix#

  2. #2
    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

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

    Didn't work

    Thanks markus, it didnt work or I enterd it wrong
    Take a look

    root@Linuxbox:/home/knoppix# dpkg -i --force-overwrite
    dpkg: --install needs at least one package archive file argument

    Type dpkg --help for help about installing and deinstalling packages[*];
    Use dselect for user-friendly package management;
    Type dpkg -Dhelp for a list of dpkg debug flag values;
    Type dpkg --force-help for a list of forcing options;
    Type dpkg-deb --help for help about manipulating *.deb files;
    Type dpkg --licence for copyright licence and lack of warranty (GNU GPL)[*].

    Options marked[*] produce a lot of output - pipe it through `less' or `more' !
    root@Linuxbox:/home/knoppix# /var/cache/apt/archives/libxcursor-dev_1.0.2-4_i386.deb
    bash: /var/cache/apt/archives/libxcursor-dev_1.0.2-4_i386.deb: Permission denied
    root@Linuxbox:/home/knoppix#

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    You have to put in the whole line:
    Code:
    dpkg -i --force-overwrite /var/cache/apt/archives/libxcursor-dev_1.0.2-4_i386.deb
    Easiest to copy paste by highlighting here and mouse-middle-clicking in the root prompt.

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

    Thanks

    Thanks markus, that did the trick I was entering them on seprate lines
    I am going to print out the fix becouse if happend to me again I can just refer to that my copy rather than try to remember it. thanks again.

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    You can also save paper by trying out the search box at the top of this page

Similar Threads

  1. 3.6 installed - NOW what?
    By bcalder in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-06-2005, 03:57 PM
  2. Getting Frustrated.....
    By CII in forum General Support
    Replies: 2
    Last Post: 12-09-2004, 07:44 AM
  3. Just installed, need some help.
    By Harami in forum General Support
    Replies: 7
    Last Post: 09-18-2004, 03:09 AM
  4. Where is php installed
    By philipx in forum General Support
    Replies: 2
    Last Post: 08-04-2004, 06:03 AM
  5. ndiswrapper installed ?
    By Lazzarus in forum Ideas
    Replies: 1
    Last Post: 05-28-2004, 07:59 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
  •  


Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR picture

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR

$95.20



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB

$149.99



Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU picture

Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU

$229.95



NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER picture

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER

$1499.97



Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays picture

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays

$799.99



Dell PowerEdge VRTX 2.5

Dell PowerEdge VRTX 2.5"x25 Bay Blade Enclosure 4x1600W + 4X M640 (4X Blades)

$1599.99



Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working picture

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working

$149.99



Dell Poweredge VRTX 25Bay 2.5

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS

$578.08