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

problems setting up apt-proxy



Hi

I'm trying to set up apt-proxy. I got it so far that the client machine
can speak with the proxy machine, but then it seems that on the proxy
machine there are some problems. In the logfile I get many messages like
this one:

Got line Host: p100:9999
Got line Connection: keep-alive
Got line User-Agent: Debian APT-HTTP/1.2
Finished processing request
Tue Aug 22 09:48:25 CEST 2000 Got request
/debian/dists/potato/main/binary-i386/
Packages.gz
Updating compressed file
`/debian/dists/potato/main/binary-i386/Packages.gz'
debian/dists/potato/main/binary-i386/Packages : No such file or
directory
client: nothing to do
debian/dists/potato/main/binary-i386/Packages : No such file or
directory
client: nothing to do
Looking for file `/debian/dists/potato/main/binary-i386/Packages.gz'
Rsyncing `/debian/dists/potato/main/binary-i386/Packages.gz'
debian/dists/potato/main/binary-i386/Packages.gz : No such file or
directory
client: nothing to do
debian/dists/potato/main/binary-i386/Packages.gz : No such file or
directory
client: nothing to do
No such file `/debian/dists/potato/main/binary-i386/Packages.gz'

And so on. 


My /etc/apt-proxy/apt-proxy.conf looks like this:



# PLEASE DO NOT EDIT THIS FILE !
# Use dpkg-reconfigure --priority=low apt-proxy instead
APT_PROXY_BASE="/debian"
APT_PROXY_RSYNC_BACKENDS="ftp.de.debian.org::debian ftp.de.debian.org::debian-non-US"
#COPY_UNSAFE_LINKS="--copy-unsafe-links"
LOCK_TIMEOUT="60"
APT_PROXY_LOGFILE=/var/log/apt-proxy
DEBUG=true

Before I had also tried a few different setups, giving a bit different
messages. I still have a /mirrors/debian directory from apt-move, and I
chowned all of it to aptp. With that setup my log looked like:

Got line Host: p100:9999
Got line Connection: keep-alive
Got line User-Agent: Debian APT-HTTP/1.2
Finished processing request
Tue Aug 22 02:25:37 CEST 2000 Got request
/mirrors/debian/dists/potato/main/bina
ry-i386/Packages.gz
Updating compressed file
`/mirrors/debian/dists/potato/main/binary-i386/Packages
.gz'
lockfile: Try praying, giving up on
"/debian/mirrors/debian/dists/potato/main/bi
nary-i386/Packages.lock"
Looking for file
`/mirrors/debian/dists/potato/main/binary-i386/Packages.gz'
Rsyncing `/mirrors/debian/dists/potato/main/binary-i386/Packages.gz'
lockfile: Try praying, giving up on
"/debian/mirrors/debian/dists/potato/main/bi
nary-i386/Packages.gz.lock"
No such file `/mirrors/debian/dists/potato/main/binary-i386/Packages.gz'

So I created a new directory /debian/, also chowned it to aptp, and it
seems that aptp created the following directory structure in it:
/debian/
|-- debian
|   `-- dists
|       `-- potato
|           |-- contrib
|           |   `-- binary-i386
|           |-- main
|           |   `-- binary-i386
|           |-- non-US
|           |   |-- contrib
|           |   |   `-- binary-i386
|           |   |-- main
|           |   |   `-- binary-i386
|           |   `-- non-free
|           |       `-- binary-i386
|           `-- non-free
|               `-- binary-i386
`-- mirrors
    `-- debian
        `-- dists
            `-- potato
                |-- contrib
                |   `-- binary-i386
                |-- main
                |   `-- binary-i386
                `-- non-free
                    `-- binary-i386

(which I just discovered now and it seems to reflect parts of the
different setups I tried)

So I am a bit confused now how to continue. Someone here can help 
me to get a clearer understanding of how this should be set up and 
what is going wrong?

Thank you

Mukunda



Reply to: