Systems Architecture when importing apt repos does not match $(ARCH) in sources.list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Orchestra |
Invalid
|
Low
|
Andres Rodriguez | ||
cobbler (Ubuntu) |
Invalid
|
Low
|
Andres Rodriguez |
Bug Description
When the "orchestra-
This would be fine, except that for 64-bit repos it creates x86_64 as the architecture suffix and $(ARCH) in /etc/apt/
This means that you cannot use the following line in /etc/apt/
deb http://
This resolves to "oneiric-amd64" yet on disk the repo is oneiric-x86_64
This is a fresh install of Ubuntu 11.10 server with orchestra-
Changed in orchestra: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in cobbler (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in orchestra: | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in cobbler (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
More information and an example:
======= ======= ======= ===
sources.list:
deb http:// 192.168. 100.41/ cblr/repo_ mirror/ oneiric- $(ARCH) / oneiric main restricted multiverse universe 192.168. 100.41/ cblr/repo_ mirror/ oneiric- $(ARCH) -security/ oneiric-security main restricted multiverse universe
deb http://
======= ======= ======= =====
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/ i386-security/ security/ 64-security/ i386-security/ x86_64- security/
drwxr-xr-x 6 root www-data 4096 2012-01-26 09:10 maverick-
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-
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_
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-
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-
======= ======= ======= ======= ======= ======
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/
======= ======= ======= ======= ======= ======