Comment 1 for bug 921597

Revision history for this message
Matthew Macdonald-Wallace (theprofessor) wrote :

More information and an example:

========================

sources.list:

deb http://192.168.100.41/cblr/repo_mirror/oneiric-$(ARCH)/ oneiric main restricted multiverse universe
deb http://192.168.100.41/cblr/repo_mirror/oneiric-$(ARCH)-security/ oneiric-security main restricted multiverse universe

==========================

apt-get update:

W: Failed to fetch http://192.168.100.41/cblr/repo_mirror/oneiric-amd64/dists/oneiric/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://192.168.100.41/cblr/repo_mirror/oneiric-amd64/dists/oneiric/restricted/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://192.168.100.41/cblr/repo_mirror/oneiric-amd64/dists/oneiric/multiverse/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://192.168.100.41/cblr/repo_mirror/oneiric-amd64/dists/oneiric/universe/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://192.168.100.41/cblr/repo_mirror/oneiric-amd64/dists/oneiric/main/binary-i386/Packages 404 Not Found

=============================

File listing in /var/www/cobbler/repo_mirror:

drwxr-xr-x 6 root www-data 4096 2012-01-26 09:10 maverick-i386/
drwxr-xr-x 6 root www-data 4096 2012-01-26 09:10 maverick-i386-security/
drwxr-xr-x 6 root www-data 4096 2012-01-26 09:01 natty-i386/
drwxr-xr-x 6 root www-data 4096 2012-01-26 09:10 natty-i386-security/
drwxr-xr-x 6 root www-data 4096 2012-01-26 09:01 natty-x86_64/
drwxr-xr-x 6 root www-data 4096 2012-01-26 09:01 natty-x86_64-security/
drwxr-xr-x 6 root www-data 4096 2012-01-26 09:01 oneiric-i386/
drwxr-xr-x 6 root www-data 4096 2012-01-26 09:01 oneiric-i386-security/
drwxrwxr-x 6 1001 1001 4096 2012-01-26 09:08 oneiric-x86_64/
drwxr-xr-x 6 root www-data 4096 2012-01-26 09:01 oneiric-x86_64-security/

=========================================

Note that if I link the to the repo as follows, $(ARCH) works:

=========================================

lrwxrwxrwx 1 root root 23 2012-01-25 15:00 oneiric-amd64-security -> oneiric-x86_64-security/

=========================================