Public bug reported:
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.
[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...
[expected results]
apt-mirror will download precise-armhf packages.
[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
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.
[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
** Affects: apt-mirror (Ubuntu)
Importance: Undecided
Status: New
** Tags: arnhf lucid
--
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:
[lucid] 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