Viewing 1 post (of 1 total)
  • Author
  • ezdude
    Post count: 2

    Hello everyone,

    First of all thanks for all the help on the forums!

    I am having a problem installing the Power Block. During installation it says it is “Unable to locate package g++-4.9”.

    I have it connected properly and powered up. I am attempting to the follow the instructions on the PowerBlock webpage.

    I enter the following commands:
    1. sudo apt-get update
    -a long list of commands comes up, and everything seems to work just fine.

    2. sudo apt-get upgrade -y
    – it says Reading package lists… Done
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

    3. sudo apt-get install -y git cmake g++-4.9
    -when I enter the last line it says:
    Reading package lists… done
    Building depedency tree
    Reading state information… Done
    E: Unable to locate package g++-4.9
    E: Couldn’t find any package by regex ‘g++-4.9’

    I went ahead and continued on with the PowerBlock setup.
    git clone git://
    cd PowerBlock
    sudo make install
    sudo make installservice

    But, I just get an error at the end saying it cannot locate g++-4.9. There seems to be a problem with installing g++-4.9.

    I would appreciate if anyone could help me with this.


    For what it’s worth, here’s my system information:
    Pi Model: 2 B
    RetroPie Version Used: 3.6
    Built From: SD Image
    USB Devices connected: Wifi dongle, iPac and keyboard
    Controller used: ipac
    Error messages received: see above
    Guide used: PowerBlock installation page
    File: n/a
    Attachment of config files: will submit if needed

Viewing 1 post (of 1 total)
  • The forum ‘GPIO Adapter, ControlBlock etc.’ is closed to new topics and replies.