Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am new to Ubuntu and I think running certain commands have upgraded my system.

root@edutest:~# cat /etc/issue
Debian GNU/Linux 7.0 \n \l

cat /proc/version 
Linux version 2.6.32-5-686 (Debian 2.6.32-46) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun Sep 23 09:49:36 UTC 2012

when I do apt-get install build-essential:

root@edutest:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... 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.
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: g++ (>= 4:4.4.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have downloaded packages and tried to install them, it says the newest version is already installed

Please help

share|improve this question
    
Please post your /etc/apt/sources.list file. –  Michael Hampton Jan 29 '13 at 7:37
    
...and anything in /etc/apt/sources.list.d as well please. –  Dennis Kaarsemaker Jan 29 '13 at 7:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.