Results 1 to 2 of 2

Thread: g++

  1. #1
    Join Date
    Feb 2013
    Beans
    1

    g++

    sudo apt-get install g++

    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:
    g++ : Depends: g++-4.7 (>= 4.7.0-1~) but it is not going to be installed
    E: Unable to correct problems, you have held broken packag

    help please

  2. #2
    Join Date
    Sep 2012
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: g++

    Try

    Code:
    sudo apt-get update && apt-get -f install && sudo apt-get upgrade
    This should fix it. If you get errors however, post all the results back here so we can advise further

    Source:
    https://help.ubuntu.com/community/AptGet/Howto
    Last edited by Warren Hill; February 3rd, 2013 at 03:04 PM. Reason: link added

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •