** Description changed:
- In Lucid, apt-mirror does not support armhf arch. That is fixed at
- precise, and debian(see http://bugs.debian.org/cgi-
- bin/bugreport.cgi?bug=644630 ). Please pull
- debian/patches/additional_archs.patch from precise/sid.
+ [Impact]
+ Cannot be used to mirror armhf, one of the supported architectures.
- [How to reproduce]
- 0) install lucid
- 1) install apt-mirror package(apt-get install apt-mirror)
- 2) set up /etc/apt/mirror.list below[1]
- 3) exec apt-mirror command. so...
+ [Test Case]
+ # Configure apt-mirror to mirror armhf
+ $ sudo sed -i 's/archive.ubuntu.com\/ubuntu/ports.ubuntu.com\/ubuntu-ports/'
/etc/apt/mirror.list
+ $ sudo sed -i 's/^deb /deb-armhf /' /etc/apt/mirror.list
+ # Attempt to start apt-mirror
+ $ su - apt-mirror -c apt-mirror
- [expected results]
- apt-mirror will download precise-armhf packages.
+ On failure you'll see:
- [actual results]
- $ apt-mirror
- Downloading 630 index files using 20 threads...
- Begin time: Mon Apr 9 23:43:03 2012
- [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]...
[11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]...
[0]...
- End time: Mon Apr 9 23:43:49 2012
+ Downloading 48 index files using 20 threads...
+ Begin time: Wed Aug 15 09:37:21 2012
+ [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]...
[11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]...
[0]...
+ End time: Wed Aug 15 09:37:23 2012
- Proceed indexes: [PPPPPPsh: cannot open
ports.ubuntu.com///dists/karmic/main/binary-arm/Packages.gz: No such file
- apt-mirror: can't open index in proceed_index_gz at /usr/bin/apt-mirror line
449.
+ Proceed indexes: [Psh: 1: cannot open
ports.ubuntu.com/ubuntu-ports//dists/precise/main/binary-arm/Packages.gz: No
such file
+ apt-mirror: can't open index in proceed_index_gz at /usr/bin/apt-mirror line
445.
- [analysis]
- This problem caused by apt-mirror codes, L.269.
- ---------------------------------------
- if($config_line =~
/deb-(alpha|amd64|armel|arm|hppa|hurd-i386|i386|ia64|lpia|m68k|mipsel|mips|powerpc|s390|sh|sparc)/)
{
- push @config_binaries, [$1, @config_line];
- next;
- }
- ---------------------------------------
-
- This lack is patched by debian/patches/additional_archs.patch
-
- [1] sample mirror.list file:
- # ==============================================================
- ############# config ##################
- #
- set base_path /extra/data-ports
- #
- # if you change the base path you must create the directories below with
write privlages
- #
- set mirror_path $base_path/mirror
- set skel_path $base_path/skel
- set var_path $base_path/var
- set cleanscript $var_path/clean.sh
- set defaultarch armhf
- set nthreads 20
- set _tilde 0
-
- deb http://ports.ubuntu.com/ precise main restricted universe multiverse
- deb http://ports.ubuntu.com/ precise-updates main restricted universe
multiverse
- deb http://ports.ubuntu.com/ precise-backports main restricted universe
multiverse
- deb http://ports.ubuntu.com/ precise-security main restricted universe
multiverse
- deb http://ports.ubuntu.com/ precise-proposed main restricted universe
multiverse
- # ==============================================================
-
- ProblemType: Bug
- DistroRelease: Ubuntu 10.04
- Package: apt-mirror 0.4.7-0ubuntu1 [modified: usr/bin/apt-mirror]
- ProcVersionSignature: Ubuntu 2.6.32-38.83-server 2.6.32.52+drm33.21
- Uname: Linux 2.6.32-38-server x86_64
- Architecture: amd64
- Date: Mon Apr 9 23:47:35 2012
- PackageArchitecture: all
- ProcEnviron:
- LANGUAGE=C
- PATH=(custom, user)
- LANG=C
- SHELL=/bin/zsh
- SourcePackage: apt-mirror
+ [Regression Potential]
+ The most obvious risk with the upstream fix is that we break the regex for
other architectures. I'd recommend making sure that apt-mirror still
successfully mirrors i386/amd64 archs.
** Changed in: apt-mirror (Ubuntu Precise)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/977278
Title:
apt-mirror does not support armhf arch
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/977278/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs