DebianThis 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.
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.
Being a Gentoo user, am forced to use Debian at work. For the last 2 days, apt-get has driven me crazy. Never able to find any package, and if it does then more often than not it has trouble with unmet dependencies and broken packages.
I've often read nice things about apt, so I'm wondering whether apt is lousy or whether its my sources.list
Anyone know how to get it working nicely like emerge in Gentoo? Perhaps a sources.list that I can use?
apt IS good but you don't seem to know how to use it. Did you have a look at the apt manual? If you can't find packages it could be your sources.list too.
For those broken dependencies, it seems to me you are using Debian Unstable, Knoppix or something like that!!
Well the first post says that it could be the sources.list. Obviously, I know thats the problem. The question is, how to get a nice sources.list ? The last time I used Debian, I had to spend hours wandering on websites to find repositories to add :/
By the way, I'm using Woody with 2.4.2 and 2.6.9 installed
Then why do you think I have the broken dependencies? I need to get a working version of a softare called NAV (metanav.ntnu.no) working in 24 hours and I would like to avoid installing Gentoo on this right now
the positioning after the url has no effect. so all the duplication is a waste of time. get rid of the experimental repository. then do an 'apt update' to inform apt about the sources.list changes.
Well, :-) you have a mix of everything from stable to experimental in your sources.list anyway. Does it really supprise you that you have broken dependencies? By the way the command
Code:
apt-cache search 'description or packagename'
helps you locate packages if you are not using a gui(synaptic, kpackage,...)
Get rid of everything but stable and maybe the ones you added. You might want to think about doing a apt-get dist-upgrade since Sarge is the new stable and Woody is outdated. The unmet dependencies are most likely caused by 1) using Woody and 2) having Testing and Unstable repositories. Unstable is very unstable right now. If you need a package that is not in the repositories you can try searching at www.apt-get.org
I put the experimental only after it didn't work without it. I've run 'apt-get update' after every change.
Perhaps one of you guys could just post yours if it works well? For example, right now it won't insall something as common as postgresql, gives the 'unmet dependencies' and 'broken package' error. "Needs libperl5.6 (of which a newer version is already installed) but is not installable."
Thanks for the reply, people...I knew this post would get replies and get them quick
Since I have a short deadline, I'll try to remove the unstable and try, and try apt-setup. Otherwise put in a different drive with Gentoo for showing this NAV program.
Originally posted by ar1 Thanks for the reply, people...I knew this post would get replies and get them quick
Since I have a short deadline, I'll try to remove the unstable and try, and try apt-setup. Otherwise put in a different drive with Gentoo for showing this NAV program.
just in case you still get dependency errors and want to get rid of the experimental packages already installed on your system try this
since you're running a server I'd recommend using sarge as the default release and add/uncomment the sid repositories in your sources.list just for installing NAV (I think some sid packages are required) without doing apt-get (dist-)upgrade.
thanks for the reply. Can I use the sarge repositories for woody?? I don't think I can change the distro to sarge though, at least not tomorrow when I need to get it done.
By the way, one of the big problems with NAV was that the "deb http://www.cihar.com/debian ./" repository is not working, cannot find the Packages.gz. So I had to install NAV from source, which also gave a lot of trouble because apt-get was not working well and NAV needs so many dependencies. Finally I created a .deb from the RPM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.