PDA

View Full Version : Newb, Getting error on Apt-get install



efi360
02-22-2004, 05:50 PM
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:~#

cyKeMatica
02-22-2004, 06:50 PM
have you tried 'apt-get update' first to update the packages that are available for you?

efi360
02-22-2004, 06:58 PM
Hi, cyKeMatica
Yes I have updated apt-get on same night before tring to install some pakages
it updated ok.

Markus
02-22-2004, 06:59 PM
Do as root:

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

efi360
02-22-2004, 07:41 PM
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#

Markus
02-22-2004, 07:55 PM
Try doing:
apt-get install libc6-dev
If that fails, try:

apt-get install libc6
Can't remember which I had to do when overwriting libxcursor-dev.
Might as well try:

apt-get -f install
Sometimes it helps to do it a couple of times.

efi360
02-22-2004, 08:15 PM
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

Stephen
02-22-2004, 09:10 PM
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.

efi360
02-22-2004, 09:23 PM
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.

efi360
02-22-2004, 09:40 PM
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.