Can the update-manager be redirected to proxy ports for downloads?
I am in the college and they are have a proxy server here. The setting for it are: 172.18.0.1 :800
The problem is that they are blocking the ports which are needed for some downloads and updates. I was wondering if there is a way of redirecting the updates (downloads) through other ports? That would be of a great use to many people.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Yes, use the synaptic program from the administration menu.
System-
You will be promted for your password, then:
Settings -> Preferences -> Network -> Manual Proxy Configuration
Revision history for this message
|
#2 |
Open a terminal and type:
gksudo gedit /etc/apt/
put a row inside it:
Acquire:
Example:
The settings in my network ( i use apt-cacher-ng deb proxy ) are:
Acquire:
Then still using terminal type:
sudo apt-get update
sudo apt-get dist-upgrade
the system will ask you a password: give your user password, you will not see nothing when you type it, then press enter
If it works please i think you must then set the proxy into your
System→
under Settings→
Revision history for this message
|
#3 |
First of all thank you very much for answering on such a short-notice.
I think I have done as you said filling in the line in "gksudo gedit /etc/apt/
Any more ideas?
I can send a screenshot if needed.
Revision history for this message
|
#4 |
Please open a terminal and type:
sudo apt-get update
Then copy and paste here the result
Revision history for this message
|
#5 |
smaksym@
[sudo] password for maksym:
sudo: apr-get: command not found
maksym@
Ign http://
Ign cdrom://Kubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)/ maverick/main Translation-en_GB
Ign cdrom://Kubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)/ maverick/restricted Translation-en_GB
Ign cdrom://Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)/ lucid/main Translation-en_GB
Ign cdrom://Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)/ lucid/restricted Translation-en_GB
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
407 Proxy Authentication Required
Ign http://
Err http://
407 Proxy Authentication Required
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
Err http://
407 Proxy Authentication Required
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download, they have been ignored, or old ones used instead.
Revision history for this message
|
#6 |
This what I get from trying to update, the other problem which is arissing from now on is when I try to edit (proxy) document which I access trough (gksudo gedit etc/apt/
I have undone all the proxy setting, thinking that it might then let me edit the file, but no. I still have this problem.
Any ideas?
Revision history for this message
|
#7 |
on my 10.04 LTS I had to add the line
Acquire:
Acquire::ftp::proxy "ftp://http:
Acquire:
into /etc/apt/apt.conf
and then it worked.
uid is your userid for the proxyserver
pwd your passwor
server the address of your proxyserver
port the port at your proxyserver requesting calls for outside going requests
Can you help with this problem?
Provide an answer of your own, or ask Maksym Mykhaylenko for more information if necessary.