cannot install gcc

Liam Proven lproven at gmail.com
Tue Mar 11 12:30:35 UTC 2014


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


-- 
Liam Proven * Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk * GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: lproven at hotmail.com * Skype/AIM/Yahoo/LinkedIn: liamproven
Tel: +44 20-8685-0498 * Cell: +44 7939-087884




More information about the ubuntu-users mailing list