The description of problem

The steps for installing
sudo apt-add-repository ppa:octave/stable sudo apt-get update sudo apt-get install octave
We could just use the command sudo apt-get clean to fix the problem mentioned above.
Then I just input the command sudo apt-get install octave and get the following results:()

I am sorry to hear that the above command cannot achieve my promising results.
The I just find some clues that told me that the above problem is related about the proxy problem. Therefore, I just found this site.
sudo touch /etc/apt/apt.conf.d/proxy.conf
sudo vim /etc/apt/apt.conf.d/proxy.conf
Then just write the following content into the above file created recently.
Acquire {
HTTP::proxy "http://127.0.0.1:8080";
HTTPS::proxy "http://127.0.0.1:8080";
}
NOTE that the port needs to be replaced by your proxy port. The following just show that the octave has been installed into my Ubuntu successfully. 
|