El Mon, 21 Apr 2008 21:15:03 +0200
Stefan Fritsch <[EMAIL PROTECTED]> escribió:

> On Sunday 20 April 2008, Manolo Díaz wrote:
> > I'm unable to update file list because it fails with
> >
> > Can't get
> > http://ftp.debian.org/debian/dists/testing/Contents-amd64.gz Can't
> > get
> > http://www.debian-multimedia.org/dists/testing/Contents-amd64.gz
> >
> > I must say these archives exists and I can download them with wget
> > or curl.
> 
> apt-file 2.1.1 tries to use the proxy information 
> from /etc/apt/apt.conf.d/* . Do you use any proxy?

No, my machine is directly connected to internet.

> 
> Also, you could try to remove the ">/dev/null 2>&1" from the line
> 
> http = $curl_cmd "<uri>/dists/<dist>/Contents-<arch>.gz" >/dev/null 
> 2>&1 && $curl_post_dl_cmd
> 
> in your /etc/apt-file.conf and see if you get a better error message.
> 

Of course:


curl: (5) Couldn't resolve proxy 'false'
Can't get http://ftp.debian.org/debian/dists/testing/Contents-amd64.gz
Warning: Illegal date format for -z/--timecond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.

curl: (5) Couldn't resolve proxy 'false'
Can't get http://security.debian.org/dists/testing/updates/Contents-amd64.gz

curl: (5) Couldn't resolve proxy 'false'
Can't get http://www.debian-multimedia.org/dists/testing/Contents-amd64.gz

Well, I think there is not proxy information in my /etc/apt/apt.conf.d/*
'grep -i proxy /etc/apt/apt.conf.d/*' returns an empty line.

> Cheers,
> Stefan

Cheers,
Manolo

-- 
Manolo Díaz


Reply via email to