LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-26-2005, 03:48 PM   #1
knappster
Member
 
Registered: Mar 2004
Posts: 175

Rep: Reputation: 30
apt-get unmet dependencies, etc.


I am using Debian and I occasionally open synaptic and upgrade everything. The last time I did, it kinda FUBAR'd things. In any case, when I open synaptic it says there is a broken package. If I try to fix it, it wants to remove apt and 422 non-essential packages. If I try to install anything with apt-get it stated that:

Quote:
libstdc++6: Depends: gcc-4.0-base (= 4.0.2-3) but 4.0.2-2 is installed
So I went and downloaded the .deb package for gcc-4.0-base 4.0.2-4 and figured I'd try to install aptitude and now it says:

Quote:
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:
aptitude: Depends: libapt-pkg-libc6.3-5-3.3 but it is not installable
Depends: libsigc++-1.2-5c102 but it is not installable
cpp-4.0: Depends: gcc-4.0-base (= 4.0.2-2) but 4.0.2-4 is installed
g++-4.0: Depends: gcc-4.0-base (= 4.0.2-2) but 4.0.2-4 is installed
gcc-4.0: Depends: gcc-4.0-base (= 4.0.2-2) but 4.0.2-4 is installed
libstdc++6: Depends: gcc-4.0-base (= 4.0.2-3) but 4.0.2-4 is installed
libstdc++6-4.0-dev: Depends: gcc-4.0-base (= 4.0.2-2) but 4.0.2-4 is installed
E: Unmet dependencies. Try using -f.
Anybody have any suggestions? I'm beyond stumped.

-Knappster
 
Old 11-27-2005, 05:50 AM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
run

apt-get -f install
 
Old 11-27-2005, 11:27 AM   #3
knappster
Member
 
Registered: Mar 2004
Posts: 175

Original Poster
Rep: Reputation: 30
I should have mentioned that I ran that command before and it listed off all of the stuff it would remove, including apt which it says is essential. Then it says something like you should not do this unless you know exactly what you are doing. If you want to continue type something to the effect of "Yes, I am sure!"

Since I don't know exactly what I'm doing I thought I should probably cancel. Are you saying I should go ahead with it anyway?

-Knappster
 
Old 11-28-2005, 01:22 PM   #4
knappster
Member
 
Registered: Mar 2004
Posts: 175

Original Poster
Rep: Reputation: 30
Bump.

Anybody know?

-Knappster
 
Old 11-28-2005, 01:48 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
perhaps to wait a little while til they get it sorted
read this thread
http://lists.debian.org/debian-relea.../msg00080.html
or ask how to deal with it on debian mailing list
 
Old 11-28-2005, 02:16 PM   #6
knappster
Member
 
Registered: Mar 2004
Posts: 175

Original Poster
Rep: Reputation: 30
Thanks for the post, but it confused the Hell out of me. If it is just the newer versions of libstdc++6 that are causing problems? Could I download an older one and upgrade other stuff? Since I ran the synaptic upgrade it has pretty much crippled my machine. For sure the sound no longer works and k3b no longer works. There are probably a bunch of other things that aren't working that I haven't discovered yet. Is there anything I can do to temporarily fix that until they solve their libstdc++6 woes? Thanks.

-Knappster
 
Old 11-29-2005, 06:09 PM   #7
knappster
Member
 
Registered: Mar 2004
Posts: 175

Original Poster
Rep: Reputation: 30
Is there any way to rollback upgrades?
 
Old 11-29-2005, 11:14 PM   #8
arrenlex
Member
 
Registered: Jul 2005
Distribution: Debian Etch
Posts: 48

Rep: Reputation: 17
Quote:
Originally posted by knappster
Is there any way to rollback upgrades?
Try this:
In /etc/apt/preferences:

Package: *
Pin: release a=stable
Pin-Priority: 1001

Or testing instead of stable if you want to go back to etch.

Then

apt-get update && apt-get dist-upgrade

But I can't guarantee it'll be perfect. I've had only limited experience downgrading, myself.
 
Old 12-14-2005, 09:41 PM   #9
knappster
Member
 
Registered: Mar 2004
Posts: 175

Original Poster
Rep: Reputation: 30
Thanks for the post. I just now had time to try it out. First,
/etc/apt/preferences
doesn't exist on my computer.
I went ahead and did the dist-upgrade anyway and it seemed to go ok, except apt-get spits out a message of broken packages all the time now. I went in to synaptic and filtered for the broken packages but it said there aren't any. I'm trying to get k3b up and running again, but when I try to install it in synaptic I get:
k3b:
Depends: k3blibs but it is not going to be installed
Depends: kdelibs4c2a (>=4:3.4.3-1) but it is not installable
Depends: libmusicbrainz4c2a (>=2.1.1) but it is not installable

similar errors when installing with apt. I'm feeling kind of exasperated with the whole situation and I'm thinking about just taking everything back to Windows, because I don't have the time to reinstall all of this and I don't think I will ever resolve these problems.

-Knappster
 
Old 12-14-2005, 09:54 PM   #10
arrenlex
Member
 
Registered: Jul 2005
Distribution: Debian Etch
Posts: 48

Rep: Reputation: 17
I don't think k3b is actually installable at the moment from Debian in the Testing distribution. I would recommend compiling it from source.
 
Old 12-14-2005, 09:57 PM   #11
knappster
Member
 
Registered: Mar 2004
Posts: 175

Original Poster
Rep: Reputation: 30
I will try to look into that. I am also having kernel issues. I cannot seem to get my sound to work. Do you know if there are any fully compatible kernels available, or at least config files, where everything modular and I wouldn't have to customize?

-Knappster
 
Old 12-14-2005, 09:59 PM   #12
arrenlex
Member
 
Registered: Jul 2005
Distribution: Debian Etch
Posts: 48

Rep: Reputation: 17
Ouch. I don't know much about kernels. I believe Debian install set up my sound just fine and I've never had to worry about it... sorry.
 
Old 12-14-2005, 10:02 PM   #13
knappster
Member
 
Registered: Mar 2004
Posts: 175

Original Poster
Rep: Reputation: 30
Mine worked fine at the start (over a year ago), but I've updated the kernel several times since then. Hell, I can't even get gdm to load under the old kernels now, so I'm kind of stuck where I'm at. Why does it have to be so complicated?

-Knappster
 
Old 12-14-2005, 10:06 PM   #14
arrenlex
Member
 
Registered: Jul 2005
Distribution: Debian Etch
Posts: 48

Rep: Reputation: 17
Because it has to be complicated to be customisable. xD Sorry. For simplicity, go Windows.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get unmet dependencies jeffbarish Debian 9 10-27-2005 12:19 AM
apt-get install not working due to unmet dependencies ibrewale Debian 10 07-26-2005 12:13 PM
Unmet Dependencies on Fedora Core with Apt-get for redhat? jon_k Linux - Software 3 05-03-2004 12:23 PM
apt-get & unmet dependencies! beecee Debian 1 01-09-2004 07:44 AM
apt + KDE3 = unmet dependencies hypermegachi Debian 2 09-29-2003 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration