LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2006, 06:34 AM   #1
snutter
LQ Newbie
 
Registered: Dec 2006
Location: sydney
Distribution: debian
Posts: 9

Rep: Reputation: 0
debian dependency problem


could someone explain what this means?

Code:
debian:/home/snutter# apt-get install realplayer
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:
  libstdc++6: Depends: gcc-4.1-base (= 4.1.1-21) but 4.1.1-19 is to    be installed  

realplayer: Depends: libstdc++5 (>= 1:3.3.4-1) but it is not going to be installed

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

thanks
 
Old 12-23-2006, 06:51 AM   #2
snutter
LQ Newbie
 
Registered: Dec 2006
Location: sydney
Distribution: debian
Posts: 9

Original Poster
Rep: Reputation: 0
ive just updated the gcc-base package, now i get all these new problems

Code:
debian:/home/snutter/Desktop# apt-get install realplayer
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:
  cpp-4.1: Depends: gcc-4.1-base (= 4.1.1-19) but 4.1.1-21 is to be installed
  g++-4.1: Depends: gcc-4.1-base (= 4.1.1-19) but 4.1.1-21 is to be installed
  gcc-4.1: Depends: gcc-4.1-base (= 4.1.1-19) but 4.1.1-21 is to be installed
  libgcc1: Depends: gcc-4.1-base (= 4.1.1-19) but 4.1.1-21 is to be installed
  libssp0: Depends: gcc-4.1-base (= 4.1.1-19) but 4.1.1-21 is to be installed
  libstdc++6-4.1-dev: Depends: gcc-4.1-base (= 4.1.1-19) but 4.1.1-21 is to be installed
  realplayer: Depends: libstdc++5 (>= 1:3.3.4-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
also, whats the format for adding repository to sources.list, so i don't have to keep downloading from debian website.

thanks
 
Old 12-23-2006, 09:32 AM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Do just what apt-get says, and run
Code:
apt-get -f install
That forces the install without checking dependencies. Once that is done, run apt-get update and apt-get upgrade, and everything should be cool. If something gets screwed up, run apt-get dist-upgrade. If you downloaded the gcc .deb file from the debian website and installed it, that was not a good idea. Gcc is the basis for a ton of programs, and it has a ton of specific dependencies. Always let the apt-get system handle major programs like gcc, so that you don't get into trouble.

You add repositories to /etc/apt/sources.list. You can open that file and see the format. It looks something like
Code:
deb http://ftp.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.debian.org/debian/ unstable main non-free contrib

deb http://download.videolan.org/pub/videolan/debian sid main
deb-src http://download.videolan.org/pub/videolan/debian sid main
Where I have unstable/sid you may have testing/etch or stable/sarge.

Peace,
JimBass
 
  


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
dependency problem black_man Debian 3 12-04-2005 07:55 PM
dependency problem canyon289 Linux - Software 3 11-23-2004 01:03 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM
dependency problem - need help please lpriyamb Linux - Software 9 10-09-2003 03:45 AM
Dependency problem. glenn69 Linux - Newbie 1 09-01-2003 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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