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.
I'm pretty new at this and so far I'm loving the apt-get command. I was under the impression that it would find dependencies and then install the packages needed. I've been trying to install gnucash, and it's giving me all kinds of unmet dependencies:
Code:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gnucash: Depends: gnucash-common (>= 1.8.12-6) but it is not going to be installed
Depends: bonobo (>= 1.0.22) but it is not going to be installed
Depends: gdk-imlib11 but it is not going to be installed
Depends: libart2 (>= 1.2.13-5) but it is not going to be installed
Depends: libbonobo2 (>= 1.0.22) but it is not going to be installed
Depends: libdb3 (>= 3.2.9-23) but 3.2.9-22 is to be installed
Depends: libgal23 (>= 0.24) but it is not going to be installed
Depends: libgconf11 (>= 1.0.7) but it is not going to be installed
Depends: libgdk-pixbuf-gnome2 (>= 0.22.0) but it is not going to be installed
Depends: libgdk-pixbuf2 (>= 0.22.0) but it is not going to be installed
Depends: libghttp1 but it is not going to be installed
Depends: libglade-gnome0 but it is not going to be installed
Depends: libglade0 but it is not going to be installed
Depends: libglib1.2 (>= 1.2.0) but it is not going to be installed
Depends: libgnome32 (>= 1.2.13-5) but it is not going to be installed
Depends: libgnomeprint15 (>= 0.29-1) but it is not going to be installed
Depends: libgnomesupport0 (>= 1.2.13-5) but it is not going to be installed
Depends: libgnomeui32 (>= 1.4.2-3) but it is not going to be installed
Depends: libgtk1.2 (>= 1.2.10-4) but it is not going to be installed
Depends: libgtkhtml1.1-3 (>= 1.1.10) but it is not going to be installed
Depends: libguppi16 but it is not going to be installed
Depends: libgwrapguile1 (>= 1.3.4-5) but it is not going to be installed
Depends: libltdl3 (>= 1.5.2-2) but it is not going to be installed
Depends: liboaf0 (>= 0.6.10) but it is not going to be installed
Depends: libofx2c2a but it is not going to be installed
Depends: liborbit0 (>= 0.5.17) but it is not going to be installed
Depends: libstdc++6 (>= 4.0.2-4) but it is not going to be installed
Depends: libxml1 (>= 1:1.8.14-3) but it is not going to be installed
Depends: libzvt2 (>= 1.4.1.3-3) but it is not going to be installed
Depends: oaf (>= 0.6.10) but it is not going to be installed
Depends: slib (>= 3a2-5) but it is not going to be installed
Depends: guile-1.6-slib but it is not going to be installed
Depends: libfinance-quote-perl but it is not going to be installed
Depends: libdate-manip-perl but it is not going to be installed
Depends: psfontmgr but it is not going to be installed
Depends: x-ttcidfont-conf but it is not going to be installed
Depends: libgconf11 (>= 1.0.9-7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
What is causing this? Are there some packages that I'm looking for that are not in the repository or is there something else that I'm missing?
Sorry about not being specific. Yes, I tried the -f and still got the same messages. I'm running Sarge and my kernel is 2.4. Here is my sources.list
Code:
#deb file:///cdrom/ sarge main
deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)]
/ unstable contrib main
deb http://security.debian.org/ stable/updates main contrib
deb http://http.us.debian.org/debian unstable main
OK, I put both of those things into my sources.list and I also tried running it with the -f in there. Same result. I have the .deb package of gnucash as well. I tried an install of it first and saw those massive dependency errors which is why I switched to the apt-get installation. Could that have caused a problem?
I'm only seeing one line with sarge, the rest is unstable. Unstable and especially contrib are known to have issues like these.
If you truly want to find out the exact package that is causing this, try to apt-get each of the conflicting packages one by one. Usually most of them are in conflict with one package and perhaps you can do something about that
I went ahead and did apt-get remove gnucash and it said that it freed up like 15 MB so I assume it cleaned out the bad install from the .deb. This time when I ran apt-get -f install gnucash, I got this
Code:
The following packages have unmet dependencies:
gnucash: Depends: slib (>= 3a2-5) but it is not going to be installed
Depends: guile-1.6-slib but it is not going to be installed
It's down to 2 unmet dependencies so it looks like we're getting somewhere. I'll have to wait until I get home to apt-get slib because it said it was a massive package and my boss doesn't like me blasting our bandwidth all the time . I'll let you know how it goes tomorrow. Thanks for all the help so far!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.