LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-06-2006, 06:34 PM   #1
Xenoman1
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
Question Unmet Dependancies/Broken Packages - Can't apt-get Install Build-Essential???


I am trying to install a c compiler on Kubuntu, but when I apt-get Install "build-essential" I get a very long error message with unmet dependancies and broken packages.

Any help for this N00b would be much appreciated, Its been driving me nuts for dayz...

david@Home-Kubuntu:~$ sudo apt-get install build-essential

Reading package lists... Done
Building dependency tree... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: gcc (>= 3:3.3) but it is not going to be installed
Depends: g++ (>= 3:3.3) but it is not going to be installed
E: Broken packages
david@Home-Kubuntu:~$

Last edited by Xenoman1; 08-06-2006 at 08:35 PM.
 
Old 08-06-2006, 06:51 PM   #2
snowman81
Member
 
Registered: Aug 2006
Location: Michigan
Distribution: Ubuntu
Posts: 225

Rep: Reputation: 30
Have you tried updating gcc and g++ before you installed the package?
 
Old 08-06-2006, 07:13 PM   #3
Xenoman1
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Talking

Same Thing. I have followed the list of dependancies below and it ends up saying that:
cpp-3.3: Depends: gcc-3.3-base (< 1:3.3.6) but 1:3.3.6-10 is to be installed,
and then gcc-3.3-base is already the newest version.

Is cpp looking for an older version of gcc? If so how do I fix it?

Any Ideas out there? Help Please!

Here's the list:
The following packages have unmet dependencies:
gcc: Depends: cpp (>= 4:3.3.5-1) but it is not going to be installed
Depends: gcc-3.3 (>= 1:3.3.5-1) but it is not going to be installed
Depends: cpp-3.3 (>= 1:3.3.5-1) but it is not going to be installed

cpp: Depends: cpp-3.3 (>= 1:3.3.5-1) but it is not going to be installed

cpp-3.3: Depends: gcc-3.3-base (< 1:3.3.6) but 1:3.3.6-10 is to be installed

gcc: Depends: cpp (>= 4:3.3.5-1) but it is not going to be installed
Depends: gcc-3.3 (>= 1:3.3.5-1) but it is not going to be installed
Depends: cpp-3.3 (>= 1:3.3.5-1) but it is not going to be installed

cpp: Depends: cpp-3.3 (>= 1:3.3.5-1) but it is not going to be installed

cpp-3.3: Depends: gcc-3.3-base (< 1:3.3.6) but 1:3.3.6-10 is to be installed

gcc-3.3-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Last edited by Xenoman1; 08-06-2006 at 08:53 PM.
 
Old 08-07-2006, 03:38 AM   #4
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
try "sudo apt-get -f install" with no packages and see if that fixes it
 
  


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
unmet dependancies upgrading to SID MaTrIx709 Debian 6 08-03-2005 01:17 AM
apt-get install not working due to unmet dependencies ibrewale Debian 10 07-26-2005 12:13 PM
...packages have unmet dependencies? stribas Linux - Newbie 1 09-29-2004 09:55 AM
apt-get + broken packages = death ulaoulao Linux - Software 2 09-19-2004 09:55 AM
Manually Fix Broken Dependancies? kiteless Linux - Software 0 09-09-2003 02:33 PM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration