저장소를 업데이트하면 오류가 반환됩니다.

저장소를 업데이트하면 오류가 반환됩니다.

DansGuardian을 설치하는 동안 다음 링크의 지침에 따라:Ubuntu 9.10 Karmic에서 투명 프록시를 사용한 Dansguardian 콘텐츠 필터링sudo iptables -t nat -A OUTPUT -p tcp -m owner ! --uid-owner proxy --dport 80 -j REDIRECT --to-port 8080, 프록시가 아닌 다른 사람이 보내는 웹 요청이 프록시로 리디렉션되도록 iptables를 설정했습니다 . /etc/init.d/tproxy이러한 변경 사항을 영구적으로 적용하기 위해 이를 에 저장했습니다 .

이 작업을 수행한 후 DansGuardian, squid 및 iptables를 삭제하여 전체 절차를 다시 실행했습니다.sudo apt autoremove dansguardian squid iptables

실행할 때마다 sudo apt-get update또는 sudo apt-get install ..지금 다음과 같은 오류가 발생합니다.

    dell@dell-Inspiron-5558:/etc$ sudo apt-get update
    Err:1 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu zesty InRelease
    Could not connect to ppa.launchpad.net:80 (91.189.95.83). - connect (111: Connection refused)
    Err:2 http://archive.canonical.com/ubuntu zesty InRelease
    Could not connect to archive.canonical.com:80 (91.189.91.15). - connect (111: Connection refused) [IP: 91.189.91.15 80]
    Err:3 http://in.old-releases.ubuntu.com/ubuntu zesty InRelease
    Could not resolve 'in.old-releases.ubuntu.com'
    Err:4 http://archive.ubuntu.com/ubuntu zesty InRelease
    Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) [IP: 91.189.88.162 80]
    Err:5 http://in.old-releases.ubuntu.com/ubuntu zesty-updates InRelease
    Could not resolve 'in.old-releases.ubuntu.com'
    Err:6 http://in.old-releases.ubuntu.com/ubuntu zesty-backports InRelease
    Could not resolve 'in.old-releases.ubuntu.com'
    Err:7 http://in.old-releases.ubuntu.com/ubuntu zesty-security InRelease
    Could not resolve 'in.old-releases.ubuntu.com'
    Reading package lists... Done
    W: Failed to fetch http://in.old-releases.ubuntu.com/ubuntu/dists/zesty/InRelease  Could not resolve 'in.old-releases.ubuntu.com'
    W: Failed to fetch http://in.old-releases.ubuntu.com/ubuntu/dists/zesty-updates/InRelease  Could not resolve 'in.old-releases.ubuntu.com'
    W: Failed to fetch http://in.old-releases.ubuntu.com/ubuntu/dists/zesty-backports/InRelease  Could not resolve 'in.old-releases.ubuntu.com'
    W: Failed to fetch http://archive.canonical.com/ubuntu/dists/zesty/InRelease  Could not connect to archive.canonical.com:80 (91.189.91.15). - connect (111: Connection refused) [IP: 91.189.91.15 80]
    W: Failed to fetch http://in.old-releases.ubuntu.com/ubuntu/dists/zesty-security/InRelease  Could not resolve 'in.old-releases.ubuntu.com'
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/zesty/InRelease  Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) [IP: 91.189.88.162 80]
    W: Failed to fetch http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu/dists/zesty/InRelease  Could not connect to ppa.launchpad.net:80 (91.189.95.83). - connect (111: Connection refused)
    W: Some index files failed to download. They have been ignored, or old ones used instead.

언급된 리소스나 우분투 아카이브와 같은 저장소는 브라우저를 통해서도 액세스할 수 없습니다. 이는 언급된 세 파일을 삭제하기 전에 저장한 IP 설정 때문인 것으로 의심됩니다.

iptables -t nat -A OUTPUT -p tcp -m owner ! --uid-owner proxy --dport 80 -j REDIRECT --to-port 8080더 이상 iptables가 없음에도 불구하고 변경 사항을 취소할 수 있는 방법이 있습니까 ?

동일한 작업을 수행하라는 제안이나 대체 진단을 환영합니다.

관련 정보