Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-25-2005, 04:40 PM
|
#1
|
LQ Newbie
Registered: Jun 2004
Distribution: debian
Posts: 25
Rep:
|
apt-get install not working due to unmet dependencies
I have sometime in the recent past, started getting this dependency problem whenever I try to apt-get install anything.
Code:
root@box:/etc/init.d# apt-get install gnump3d
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:
udev: Depends: initscripts (>= 2.85-16) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@box:/etc/init.d#
Reading this, I've tried various solutions, just shooting in the dark.
apt-get -f install
like suggested, no luck.
apt-get install and remove udev and initscripts. No Luck.
How can I get out of this seemingly infinite GOTO loop?
Sorry for a question that is so simple probably to answer. I did do a search on the forums first.
Thanks
|
|
|
07-25-2005, 04:49 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
So what does apt-get install initscripts return?
|
|
|
07-25-2005, 04:54 PM
|
#3
|
LQ Newbie
Registered: Jun 2005
Distribution: ubuntu - hoary hedgehog
Posts: 13
Rep:
|
This seems to be a problem with the apt-get and I hope something can be done in future releases to either make the user more aware of how to fix this problem or to not cause this problem at all. With that said -
It looks like your issue is unmet dependencies with udev. What I have traditionally done is:
and
Code:
sudo dpkg -r *any title which has unmet dependencies*
mind you, sometimes after you remove the initial title, other titles will pop up with umet dependencies, just run through that sequence again until it works.
Do try the
Code:
sudo apt-get -f install
, it works wonders on occasion.
By the way - gnump3d rocks and is so sweeeet...
|
|
|
07-25-2005, 06:03 PM
|
#4
|
LQ Newbie
Registered: Jun 2004
Distribution: debian
Posts: 25
Original Poster
Rep:
|
gtwilliams
I've dpkg -r udev, hal and now unmet is gnome-volume-manager.
This is starting to make me a little uneasy.
But, now this jogs my memory a little. I did go through an install of gnome, as it wasn't installed with my original debian based distro (knoppix 3.9).
Could this be leftovers from that install.?
Should I keep on dpkg -r as they keep showing up?
Leonscape, I will look up how to check my apt-get install initscripts and reply back to you.
Thanks to both of you.
|
|
|
07-25-2005, 06:08 PM
|
#5
|
LQ Newbie
Registered: Jun 2004
Distribution: debian
Posts: 25
Original Poster
Rep:
|
Quote:
Originally posted by leonscape
So what does apt-get install initscripts return?
|
Sorry about not including this:
Code:
apt-get install initscripts
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
initscripts
0 upgraded, 1 newly installed, 0 to remove and 66 not upgraded.
5 not fully installed or removed.
Need to get 0B/30.5kB of archives.
After unpacking 246kB of additional disk space will be used.
(Reading database ... 147516 files and directories currently installed.)
Unpacking initscripts (from .../initscripts_2.86.ds1-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/initscripts_2.86.ds1-1_i386.deb (--unpack):
trying to overwrite `/etc/init.d/checkroot.sh', which is also in package sysvinit
Errors were encountered while processing:
/var/cache/apt/archives/initscripts_2.86.ds1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
|
|
|
07-25-2005, 06:42 PM
|
#6
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
Ah, we have to packages here with both trying to take control of checkroot.sh, So we need to remove one of them. Since sysvinit is base part of your system, removing it is a very bad idea.
So basically your stuck with the method ibrewale has suggested.
Do you have some external repositries that you got some stuff from, becuase I just checked the bug reports and none of the packages appears to have this as a bug marked against them.
maybe you picked a bad one from a backport?
|
|
|
07-25-2005, 06:54 PM
|
#7
|
LQ Newbie
Registered: Jun 2004
Distribution: debian
Posts: 25
Original Poster
Rep:
|
I'm not sure what a 'backport' is, yet, so I dont believe I retrieved any packages from one. I used the standard apt-get install when I did this. Here is a copy of my /etc/apt/sources.list file though, it is the default one that was installed with knoppix 3.9.
I will continue the dpkg -r fun then, unless someone has any other ideas.
Thanks again guys.
|
|
|
07-25-2005, 07:35 PM
|
#8
|
LQ Newbie
Registered: Jun 2004
Distribution: debian
Posts: 25
Original Poster
Rep:
|
Well, i've been working backwards, dpkg -r
udev
hal
gnome-volume-manager
gnome-desktop-environment (im not running gnome)
well, here is the error messages now, has me a bit worried:
Code:
root@box:/home/jkeeney# apt-get install gnump3d
Reading Package Lists... Error!
E: Unable to write mmap - msync (28 No space left on device)
E: The package lists or status file could not be parsed or opened.
root@box:/home/jkeeney# apt-get install -f
Reading Package Lists... Error!
E: Unable to write mmap - msync (28 No space left on device)
E: The package lists or status file could not be parsed or opened.
I may have dpkg -r my way out of a working packaging system.
I would appreciate any support.
Thanks
|
|
|
07-26-2005, 03:28 AM
|
#9
|
Member
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186
Rep:
|
Quote:
Originally posted by ibrewale
well, here is the error messages now, has me a bit worried:
Code:
Reading Package Lists... Error!
E: Unable to write mmap - msync (28 No space left on device)
|
---Seems like there is no space left on the harddisk....
Try and post the output....
|
|
|
07-26-2005, 03:55 AM
|
#10
|
Member
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186
Rep:
|
Quote:
Originally posted by ibrewale
Here is a copy of my /etc/apt/sources.list file though,
|
It seems you have 'cross-mixed' release-pointers in your sources.list. IMHO I would not recommend you to do that. I suggest you to comment the lines that point to releases that are not what you intend to use, i.e.: if you use "sarge", you should comment out the lines that point to 'testing', 'sid', 'experimental' and the like....
Again, hope it helps....keep us informed.
Greetings.
JuanJavier.
|
|
|
07-26-2005, 12:13 PM
|
#11
|
LQ Newbie
Registered: Jun 2004
Distribution: debian
Posts: 25
Original Poster
Rep:
|
JuanJavier
Thanks
I guess your right, that should be obvious, I df and found I was filled to the gills, all 20GB.
Must be the tons of music, the frail attempt to get gnome, and all the games I apt-get for my kids (who hardly used them).
Thanks everyone for the help in the forums.
My plan is to reload debian from knoppix, fix my pointers first thing, and then get rid of some of the software I don't need, before getting too excited about everything else.
Thanks
ibrewale
|
|
|
All times are GMT -5. The time now is 03:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|