LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg (https://www.linuxquestions.org/questions/linux-general-1/failed-to-fetch-http-http-kali-org-kali-dists-kali-release-gpg-4175547721/)

aymeric75 07-10-2015 07:58 PM

Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg
 
Hi everyone,

When i run apt-get update i have some packages that can't be fetches:

Quote:

Err ftp://security.debian.org stable/updates/main amd64 Packages
Unable to fetch file, server said 'Failed to open file. ' [IP: 195.20.242.89 21]
Get:15 ftp://security.debian.org stable/updates/main Translation-en
Ign ftp://security.debian.org stable/updates/main Translation-en
Fetched 135 kB in 3s (39.7 kB/s)
Reading package lists... Done
W: Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg Could not resolve 'proxy'

W: Failed to fetch http://http.kali.org/dists//wheezy/Release.gpg Could not resolve 'proxy'

W: Failed to fetch http://http.kali.org/kali/dists/kali-dev/Release.gpg Could not resolve 'proxy'

W: Failed to fetch http://security.kali.org/kali-securi...es/Release.gpg Could not resolve 'proxy'

W: Failed to fetch http://repo.kali.org/kali/dists/kali...ge/Release.gpg Could not resolve 'proxy'

W: Failed to fetch ftp://security.debian.org/dists/stab...amd64/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 195.20.242.89 21]

W: Some index files failed to download. They have been ignored, or old ones used instead.



I really don't see the origin of this error, any idea ?

Thanks

Aymeric

dijetlo 07-11-2015 01:27 AM

Hi Aymeric

The first and eigth errors are the same.
Quote:

Err ftp://security.debian.org stable/updates/main amd64 Packages
Unable to fetch file, server said 'Failed to open file. ' [IP: 195.20.242.89 21]
These error may be simple to resolve, I quick DNS search says ftp://security.debian.org resides elsewhere.
If I curl your page.. I get this.
Quote:

bash-4.3$ curl 195.20.242.89
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Welcome to wieck!</TITLE>
</HEAD>
<BODY>

<H1>Welcome to wieck!</H1>

This is wieck, a system run by and for the <a href="http://www.debian.org/">Debian Project</a>.
She does stuff.
What kind of stuff and who our kind sponsors are you might learn on
<a href="http://db.debian.org/machines.cgi?host=wieck">db.debian.org</a>.

<P>
<HR NOSHADE />
<FONT size="-1">DSA</FONT>

</BODY>
</HTML>
Which is all good, but it's not the front end to any FTP server I'm familiar with, so I went to DNS and did a little digging...
Quote:

bash-4.3$ dig ftp://security.debian.org/

; <<>> DiG 9.10.2-P2 <<>> ftp://security.debian.org/
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 11808
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ftp://security.debian.org/. IN A

;; AUTHORITY SECTION:
. 887 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2015071001 1800 900 604800 86400

;; Query time: 10 msec
;; SERVER: 68.105.28.11#53(68.105.28.11)
;; WHEN: Sat Jul 11 02:17:06 EDT 2015
;; MSG SIZE rcvd: 130

The next six errors reference "can't resolve proxy", which is a local issue, are you behind a proxy?

aymeric75 07-11-2015 05:10 AM

Thank you.

I did not get how you solved the first error...

For the "could not resolve 'proxy'", i checked checked my mozzila options (as root or not) and i'm not behind a proxy. I also erased a file that i created earlier for wget option called .wgetrc, in this file was mentionned a proxy named 'proxy' (i used it in my university), but i still have the same error..


All times are GMT -5. The time now is 10:11 PM.