cannot install gcc

John R. Sowden jsowden at americansentry.net
Tue Mar 11 13:05:28 UTC 2014


On 03/11/2014 05:30 AM, Liam Proven wrote:
> On 11 March 2014 11:53, John R. Sowden <jsowden at americansentry.net> wrote:
>> I am trying to install pure basic.  It give me a program that confirms what
>> programs it needs.  It found that gcc is not installed.  This is the error
>> that I got upon running sudo apt-get install gcc:
>>
>>
>> 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:
>>   gcc : Depends: gcc-4.8 (>= 4.8.1-4~) but it is not going to be installed
>> E: Unable to correct problems, you have held broken packages.
>>
>> Now what?
> When I get something that requires the C compiler, I install the
> `build-essential` metapackage which brings in lots of other Unix
> programming tools such as `make` and so on.
>
> But you may have some situation that prevents this. Can you try:
>
> apt-get install -f
>
>
got the following:

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.





More information about the ubuntu-users mailing list