Bug#633525: multistrap fails when aptsources not specified
July 11th, 2011 - 03:10 am ET by Wachholz, Ruediger | Report spam
Subject: multistrap fails when aptsources not specified
Package: multistrap
Version: 2.1.7
Severity: normal
*** Please type your report below this line ***
multistrap fails when aptsources is not specified within multistrap.conf:
# multistrap -f multistrap-occmp.conf
multistrap 2.1.7 using multistrap-occmp.conf
multistrap: No sources defined for a foreign multistrap.
Using your existing apt sources. To use different sources,
list them with aptsources= in 'multistrap-occmp.conf'.
Using foreign architecture: powerpcspe
multistrap building powerpcspe multistrap on 'i386'
INF: Setting ./lib64 -> ./lib symbolic link.
Getting package lists: [...]
E: Type 'ARRAY(0xa098de0)ARRAY(0xa098de0)' is not known on line 1 in source list /homes/nfs/multistrap/chroot/etc/apt/sources.list.d/multistrap.sources.list
E: Type 'ARRAY(0xa098de0)ARRAY(0xa098de0)' is not known on line 1 in source list /homes/nfs/multistrap/chroot/etc/apt/sources.list.d/multistrap.sources.list
E: The list of sources could not be read.
apt update failed. Exit value: 100
# cat /homes/nfs/multistrap/chroot/etc/apt/sources.list.d/multistrap.sources.list
ARRAY(0xa098de0)ARRAY(0xa098de0)
# cat multistrap-occmp.conf
###-*-conf-*-
###
### Configuration file for 'multistrap' to generate a debian sysroot from
### official debian mirrors. Use it vor verifying DebParanoia, by comparing
### results against multistrap used with 'multistrap-debparanoia.conf'
###
### Author: Mtronix GmbH <mtxdk@users.sourceforge.net<mailto:mtxdk@users.sourceforge.net>>
### Created: Apr 2011
###
### Usage: mkdir -p packages-deb && multistrap -f multistrap-debian.conf
[General]
# target cpu architecture:
arch=powerpcspe
# output-directory for generated multistrap chroot:
directory=./chroot-powerpcspe
# move packages outside of target chroot and collect source packages:
#retainsources=./packages-deb
# remove apt cache data, downloaded Packages files and the apt package cache:
cleanup=true
# allow the use of unauthenticated repositories:
noauth=true
# extract all downloaded archives (default is true):
unpack=true
# ???
# whether to add the suite to be explicit about where apt
# needs to look for packages. (default is false):
explicitsuite=false
# ???:
aptsources=occmp-unstable occmp-unreleased
# list of target chroot sections to ...strap
# (order of sections not relevant)
bootstrap=occmp-unstable occmp-unreleased
# definition of sections of the target chroot
# (multiple sections required if more than on suite is used [???])
[occmp-unstable]
#source=http://ftp.de.debian.org/debian-ports
source=http://192.168.171.190/debian-ports_20110403T005802Z
suite=unstable
omitdebsrc=true
packages=ssh debootstrap build-essential fakeroot dpkg-dev apt-build
[occmp-unreleased]
#source=http://ftp.de.debian.org/debian-ports
source=http://192.168.171.190/debian-ports_20110403T005802Z
suite=unreleased
omitdebsrc=true
packages=ssh debootstrap build-essential fakeroot dpkg-dev apt-build
It's easy to workaround this problem but as parameter aptsources seems not to be mandatory
it would be nice if multistrap does not fail when the parameter is omitted.
Debian Release: 6.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages multistrap depends on:
ii apt 0.8.10.3+squeeze1 Advanced front-end for dpkg
ii libconfig-auto-perl 0.20-2 Magical config file parser
ii libparse-debian-packag 0.01-2 parse the data from a Debian Packa
ii perl 5.10.1-17squeeze1 Larry Wall's Practical Extraction
ii realpath 1.15 Return the canonicalized absolute
Versions of packages multistrap recommends:
ii emdebian-archive-keyring 2.0.1 GnuPG archive keys for the emdebia
Versions of packages multistrap suggests:
ii fakeroot 1.14.4-1 Gives a fake root environment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19088"></HEAD>
<BODY>
<DIV><FONT size=2 face="Courier New">Subject: multistrap fails when aptsources
not specified<BR>Package: multistrap<BR>Version: 2.1.7<BR>Severity:
normal</FONT></DIV>
<DIV><FONT size=2 face="Courier New"></FONT> </DIV>
<DIV><FONT size=2 face="Courier New">*** Please type your report below this line
***</FONT></DIV>
<DIV><SPAN lang=DE>
<P><FONT size=2 face="Courier New">multistrap fails when aptsources is not
specified within multistrap.conf:</FONT></P>
<P><FONT size=2 face="Courier New"> # multistrap -f
multistrap-occmp.conf <BR> >> multistrap 2.1.7 using
multistrap-occmp.conf<BR> >> multistrap: No sources
defined for a foreign multistrap.<BR>
>> Using your existing apt
sources. To use different sources,<BR>
>> list them with
aptsources= in 'multistrap-occmp.conf'.<BR> >> Using
foreign architecture: powerpcspe<BR> >> multistrap
building powerpcspe multistrap on 'i386'<BR> >> INF:
Setting ./lib64 -> ./lib symbolic link.<BR> >>
Getting package lists: [...]<BR> >> E: Type
'ARRAY(0xa098de0)ARRAY(0xa098de0)' is not known on line 1 in source list
/homes/nfs/multistrap/chroot/etc/apt/sources.list.d/multistrap.sources.list<BR>
>> E: Type 'ARRAY(0xa098de0)ARRAY(0xa098de0)' is not known on line 1 in
source list
/homes/nfs/multistrap/chroot/etc/apt/sources.list.d/multistrap.sources.list<BR>
>> E: The list of sources could not be read.<BR>
>> apt update failed. Exit value: 100<BR>
<BR> # cat
/homes/nfs/multistrap/chroot/etc/apt/sources.list.d/multistrap.sources.list<BR>
>> ARRAY(0xa098de0)ARRAY(0xa098de0)<BR>
<BR> # cat multistrap-occmp.conf <BR>
>> ###-*-conf-*-<BR> >> ###<BR>
>> ### Configuration file for 'multistrap' to generate a debian sysroot
from<BR> >> ### official debian mirrors. Use it
vor verifying DebParanoia, by comparing<BR> >> ###
results against multistrap used with
'multistrap-debparanoia.conf'<BR> >>
###<BR> >> ### Author: Mtronix GmbH <<A
href="mailto:mtxdk@users.sourceforge.net">mtxdk@users.sourceforge.net</A>><BR>
>> ### Created: Apr 2011<BR> >>
###<BR> >> ### Usage: mkdir -p packages-deb
&& multistrap -f multistrap-debian.conf<BR> >>
<BR> >> [General]<BR> >> #
target cpu architecture:<BR> >>
arch=powerpcspe<BR> >> <BR> >> #
output-directory for generated multistrap chroot:<BR> >>
directory=./chroot-powerpcspe<BR> >>
<BR> >> # move packages outside of target chroot and
collect source packages:<BR> >>
#retainsources=./packages-deb<BR> >>
<BR> >> # remove apt cache data, downloaded Packages
files and the apt package cache:<BR> >>
cleanup=true<BR> >> <BR> >> #
allow the use of unauthenticated repositories:<BR> >>
noauth=true<BR> >> <BR> >> #
extract all downloaded archives (default is true):<BR>
>> unpack=true<BR> >> <BR>
>> # ???<BR> >> # whether to add the suite to be
explicit about where apt<BR> >> # needs to look for
packages. (default is false):<BR> >>
explicitsuite=false<BR> >> <BR>
>> # ???:<BR> >> aptsources=occmp-unstable
occmp-unreleased<BR> >> <BR> >>
# list of target chroot sections to ...strap<BR> >> #
(order of sections not relevant)<BR> >>
bootstrap=occmp-unstable occmp-unreleased<BR> >>
<BR> >> <BR> >>
<BR> >> # definition of sections of the target
chroot<BR> >> # (multiple sections required if more than
on suite is used [???])<BR> >> <BR>
>> [occmp-unstable]<BR> >>
#source=http://ftp.de.debian.org/debian-por... >>
source=http://192.168.171.190/debian-ports_20110403T005802Z<BR>
>> suite=unstable<BR> >>
omitdebsrc=true<BR> >> packages=ssh debootstrap
build-essential fakeroot dpkg-dev apt-build<BR> >>
<BR> >> [occmp-unreleased]<BR>
>> #source=http://ftp.de.debian.org/debian-por...
>>
source=http://192.168.171.190/debian-ports_20110403T005802Z<BR>
>> suite=unreleased<BR> >>
omitdebsrc=true<BR> >> packages=ssh debootstrap
build-essential fakeroot dpkg-dev apt-build</FONT></P>
<P><FONT size=2 face="Courier New">It's easy to workaround this problem but as
parameter aptsources seems not to be mandatory<BR>it would be nice if multistrap
does not fail when the parameter is omitted.<BR></FONT></P></SPAN></DIV>
<DIV><FONT size=2 face="Courier New"></FONT> </DIV>
<DIV><BR><FONT size=2 face="Courier New">-- System Information:<BR>Debian
Release: 6.0.2<BR> APT prefers stable<BR> APT policy: (500,
'stable')<BR>Architecture: i386 (i686)</FONT></DIV>
<DIV><FONT size=2 face="Courier New"></FONT> </DIV>
<DIV><FONT size=2 face="Courier New">Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU
core)<BR>Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8
(charmap=UTF-8)<BR>Shell: /bin/sh linked to /bin/bash</FONT></DIV>
<DIV><FONT size=2 face="Courier New"></FONT> </DIV>
<DIV><FONT size=2 face="Courier New">Versions of packages multistrap depends
on:<BR>ii
apt
0.8.10.3+squeeze1 Advanced front-end for dpkg<BR>ii
libconfig-auto-perl
0.20-2 Magical
config file parser<BR>ii libparse-debian-packag
0.01-2 parse
the data from a Debian Packa<BR>ii
perl
5.10.1-17squeeze1 Larry Wall's Practical Extraction<BR>ii
realpath
1.15
Return the canonicalized absolute</FONT></DIV>
<DIV><FONT size=2 face="Courier New"></FONT> </DIV>
<DIV><FONT size=2 face="Courier New">Versions of packages multistrap
recommends:<BR>ii emdebian-archive-keyring
2.0.1 GnuPG archive keys for the
emdebia</FONT></DIV>
<DIV><FONT size=2 face="Courier New"></FONT> </DIV>
<DIV><FONT size=2 face="Courier New">Versions of packages multistrap
suggests:<BR>ii
fakeroot
1.14.4-1 Gives a fake root environment</FONT></DIV>
<DIV><FONT size=2 face="Courier New"></FONT> </DIV>
<DIV><FONT size=2 face="Courier New">-- no debconf
information<BR></FONT></DIV></BODY></HTML>
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Similar topics
- Bug#695244: which_deb fails when trying to build source cds from an archive that doesn't have i386 or amd64 binaries
- Bug#686845: upgrade fails when using sympa with sqlite3
- Bug#696122: nautilus-dropbox: "dropbox update" fails when https_proxy is set.
- Bug#684520: debootstrap: package validation fails when running on Android+busybox
- Bug#688701: dpkg-dev: dpkg-checkbuilddeps fails when run from pdebuild-cross
- Bug#680260: php5-curl: Fails when setting CURLOPT_COOKIEFILE to empty string, cookies disabled.
- Bug#675507: wps.adb: Fails when the requested document is a 5 Gb file
- Bug#681925: libimage-size-perl: imgsize script fails when a local perl is in $PATH
- Bug#697069: weechat: SSL connect fails when using persistent server config
- Bug#686845: upgrade fails when using sympa with sqlite3
Make your own search :
Tags
Create a new topic
Follow the discussion
1 reply
Make a reply
May 21st, 2013 - 5:26 PM ET
Join now


Replies