LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-18-2007, 09:34 PM   #1
serg.kr
LQ Newbie
 
Registered: Jul 2007
Distribution: Debian
Posts: 15

Rep: Reputation: 2
apt dependency problems - firefox


Hello,

I am running Debian 3.1 and I'm trying to install a newer version of firefox using apt-get install. Unfortunately, there appears to be some sort of a dependency problem. I thought that apt would automatically take care of dependencies, but this was not the case.

I issue this command to install firefox:
sudo apt-get install firefox

This results in the following output:

Code:
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:
  firefox: Depends: iceweasel (>= 2.0.0.4-0etch1) but it is not going to be installed
           Depends: iceweasel (< 2.0.0.4-0etch1.1~) but it is not going to be installed
  libc6-dev: Depends: libc6 (= 2.3.2.ds1-22sarge4) but 2.3.6.ds1-13 is to be installed
  libncurses5-dev: Depends: libncurses5 (= 5.4-4) but 5.5-5 is to be installed
  locales: Depends: glibc-2.3.2.ds1-22sarge4
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Unfortunately, using the -f option does not help. It results in the same output.

What might cause apt-get to fail this way? How can I resolve this?
 
Old 07-19-2007, 11:07 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Can you post the contents of /etc/apt/sources.list?

It sounds to me like you installed Debian 3.1 (Sarge) and your sources.list is pointing to "stable" branch. Well, a few months ago, Sarge became "oldstable" and Etch became "stable". So you might be trying to install firefox from Etch, but the rest of your system is currently Sarge. So it's barfing because some of your libraries are older and iceweasel (firefox) depends on newer libraries, but the newer libraries depend on other things that aren't on your system, so it just quits with error.
 
Old 07-19-2007, 11:56 AM   #3
serg.kr
LQ Newbie
 
Registered: Jul 2007
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 2
Thanks for the help, I didn't even think of that. I am running sarge, and my sources.list is pointing towards stable.

I'll probably run apt-get -u dist-upgrade now and see how that goes.
 
Old 07-19-2007, 12:05 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
That's one reason why one of the first things I always do is to change the branch name to the codename (i.e. when I upgraded to etch, I changed all the "stable" instances in sources.list to "etch").
 
Old 07-22-2007, 11:19 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
It's always safer to do a fresh install rather than a dist-upgrade.

The dangers may be fewer than they used to be, but I would still never do a dist-upgrade other than w/ a willingness to lose everything & start over -- w/ that fresh install I am recommending .
 
  


Reply



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 install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM
Apt dependency problem.. AdBus Ubuntu 3 09-02-2006 09:28 AM
Apt Dependency Deadlock Quantumstate Debian 7 04-23-2006 09:33 AM
apt-get dependency problems with alternative package Frits of waterplant Debian 3 06-01-2005 04:45 PM
apt-get dependency problems with libqt3c102-mt smith847be Debian 1 01-01-2004 04:58 PM

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

All times are GMT -5. The time now is 08:32 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