[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Probelms with apt-proxy

 --- Chris Halls <halls@debian.org> escribió: 
> Normally you should see inetd listening on that port for you: 
> $ sudo netstat -nlp | grep 9999
> tcp        0      0  *               LISTEN   
>   883/inetd
> My guess is that you will not have anything listening there.  Maybe you need
> to restart inetd?  Or change your hosts.allow/.deny, see tcpd(8).  If tcpd
> accepts a connection you should see a message in /var/log/daemon.log like
> this:

Thanks.  I just needed to add 'apt-proxy : LOCAL,'
to my /etc/hosts.allow.  I can connect to my local proxy now with no problem,
however I now get this error:

Err http://localhost stable/updates/main Packages
  404 directory does not exist on any server
Ign http://localhost stable/updates/main Release
Failed to fetch
404 directory does not exist on any server
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://localhost stable/updates/main
- 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.

If I use this in my sources.list:
deb http://localhost:9999/security/ stable/updates main
I get that above error.

If I use this:
deb http://security.debian.org/ stable/updates main
it works OK.

This is the excerpt from apt-proxy.conf:

add_backend /security/                                  \
        $APT_PROXY_CACHE/security/                      \
        http://security.debian.org/                     \

The same thing happens with all the other lines from my sources.list.


Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...

Reply to: