Operating System - Linux
1828220 Members
2104 Online
109975 Solutions
New Discussion

Problems with proxy setup, I cannot update my system any more

 
debian111
Regular Advisor

Problems with proxy setup, I cannot update my system any more

Hi all,
I am using debian sarge as desktop. My posotion is behind proxy, and internet connection is ok.
But when I issue command
apt-get update to update my system I got output like bellow
And I do not know what is the problem with my proxy server,.....I found that error 502 means the proxy is overloaded, but I alwazs got this error, but in other hand I can take packets ....I just take ethtool look below.

Any opinion?

#apt-get update
Err http://ftp.hr.debian.org stable/main Packages
502 Proxy Error ( Not implemented )
Err http://ftp.ch.debian.org stable/main Packages
502 Proxy Error ( Not implemented )
Hit http://ftp.ch.debian.org stable/main Release
Err http://ftp.ch.debian.org stable/main Sources
502 Proxy Error ( Not implemented )
Hit http://ftp.hr.debian.org stable/main Release
Hit http://ftp.ch.debian.org stable/main Release
Err http://ftp.hr.debian.org stable/main Sources
502 Proxy Error ( Not implemented )
Err http://security.debian.org stable/updates/main Packages
502 Proxy Error ( Not implemented )
Hit http://ftp.hr.debian.org stable/main Release
Hit http://security.debian.org stable/updates/main Release
Failed to fetch http://ftp.hr.debian.org/debian/dists/stable/main/binary-i386/Packages.gz 502 Proxy Error ( Not implemented )
Failed to fetch http://ftp.hr.debian.org/debian/dists/stable/main/source/Sources.gz 502 Proxy Error ( Not implemented )
Failed to fetch http://ftp.ch.debian.org/debian/dists/stable/main/binary-i386/Packages.gz 502 Proxy Error ( Not implemented )
Failed to fetch http://ftp.ch.debian.org/debian/dists/stable/main/source/Sources.gz 502 Proxy Error ( Not implemented )
Failed to fetch http://security.debian.org/dists/stable/updates/main/binary-i386/Packages.gz 502 Proxy Error ( Not implemented )
Reading Package Lists... Done
W: Couldn't stat source package list http://ftp.ch.debian.org stable/main Packages (/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.







apt-get install ethtool
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
ethtool
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.4kB of archives.
After unpacking 164kB of additional disk space will be used.
Get:1 http://ftp.hr.debian.org stable/main ethtool 2-1 [43.4kB]
Fetched 43.4kB in 0s (248kB/s)
W: Couldn't stat source package list http://ftp.ch.debian.org stable/main Packages (/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
Selecting previously deselected package ethtool.
(Reading database ... 92430 files and directories currently installed.)
Unpacking ethtool (from .../archives/ethtool_2-1_i386.deb) ...
Setting up ethtool (2-1) ...
W: Couldn't stat source package list http://ftp.ch.debian.org stable/main Packages (/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
4 REPLIES 4
Arno Kuyper_1
Trusted Contributor

Re: Problems with proxy setup, I cannot update my system any more

Hi,

What flavor of Firewall/Proxy server do you use?

Arno
Ajay Agarwal
Frequent Advisor

Re: Problems with proxy setup, I cannot update my system any more

I have seen this work after running the command:

export http_proxy="http://proxyaddress:port"

Hopw it works.
debian111
Regular Advisor

Re: Problems with proxy setup, I cannot update my system any more

Hi all, I solved the problem I had, there was some problem connected with my proxy configuration.....

Now it works

Thanks
debian111
Regular Advisor

Re: Problems with proxy setup, I cannot update my system any more

Thanks