Jump to content

Recommended Posts

Posted

Hi

I have bought a few Pibrellas to use with the school Raspberry Pi modules. On my Pi at home I have successfully used the following commands to get what is necessary to program the Pibrella:

Sudo apt-get update

Sudo apt-get upgrade

Sudo apt-get install python-pip

Sudo pip install Pibrella

 

When I try this on my modules in school I can't get the updates with the errors shown on this screen snapshot:

Pi screengrab.jpg

Even if I take one of the SD cards home and put it in my own Pi it does the same. I can get to the internet thro' the Pi in school.

 

Any ideas? :confused2:

Posted (edited)

You need to add the proxy info for them to connect

 

add your proxy to /etc/apt/apt.conf if I remember correctly with :-

 

Acquire::http::proxy "http://user:pass@yourproxyaddress:port/";

Edited by caffrey
Posted (edited)

Hi

Thanks for your reply but when I type this at the command prompt I get this:

bash: Acquire::http::proxy command not found

 

(the 'p' of proxy keeps turning into a smiley in my post....Grrr)

Edited by plexer
Posted
Hi

Thanks for your reply but when I type this at the command prompt I get this:

bash: Acquire::http::proxy command not found

 

(the 'p' of proxy keeps turning into a smiley in my post....Grrr)

 

To prevent that you can either use code tags or if you hit "go advanced" you can disable smileys in your text.

 

Ben

Posted (edited)

Thanks all,

I found this on another post in the end which worked:

 

sudo apt-get -o Acquire::http::proxy="http://proxyurl:port" update

Edited by plexer
Posted

The only bit I can't get to work is the last bit: sudo pip install pibrella.

 

sudo apt-get -o Acquire::http:proxy="http://proxyurlport" update

sudo apt-get -o Acquire::http:proxy="http://proxyurlport" upgrade

sudo apt-get -o Acquire::http:proxy="http://proxyurlport" install python-pip

all work ok.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...