← Back to team overview

orchestra team mailing list archive

[Bug 921597] Re: Systems Architecture when importing apt repos does not match $(ARCH) in sources.list

 

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/

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

-- 
You received this bug notification because you are a member of
orchestra, which is the registrant for Orchestra.
https://bugs.launchpad.net/bugs/921597

Title:
  Systems Architecture when importing apt repos does not match $(ARCH)
  in sources.list

Status in Ubuntu Orchestra:
  New

Bug description:
  When the "orchestra-import-isos" command is executed, the apt repos
  are setup as /var/www/cobbler/repo_mirror/<version>-<architecture>

  This would be fine, except that for 64-bit repos it creates x86_64 as
  the architecture suffix and $(ARCH) in /etc/apt/sources.list resolves
  to amd64

  This means that you cannot use the following line in
  /etc/apt/sources.list (or any other package list file) to automate the
  deployment of packages:

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

  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-
  provisioning-server installed on it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/orchestra/+bug/921597/+subscriptions


References