[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#817066: marked as done (multistrap fails with cryptic errors if there are duplicate sections in configuration file)



Your message dated Fri, 24 Jan 2025 16:20:10 +0000
with message-id <[🔎] E1tbMPi-000wOS-UL@fasolo.debian.org>
and subject line Bug#1093962: Removed package(s) from unstable
has caused the Debian Bug report #817066,
regarding multistrap fails with cryptic errors if there are duplicate sections in configuration file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
817066: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817066
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: multistrap
Version: 2.2.1
Severity: wishlist

Hi,

suppose the following configuration file:

	[General]
	arch=amd64
	directory=/tmp/multistrap/
	cleanup=true
	noauth=false
	explicitsuite=false
	unpack=true
	bootstrap=Debian
	aptsources=Debian
	
	[Debian]
	packages=
	source=http://http.debian.net/debian
	keyring=debian-archive-keyring
	suite=stable
	omitdebsrc=false
	
	[Debian]
	packages=
	source=http://http.debian.net/debian
	keyring=debian-archive-keyring
	suite=stable
	omitdebsrc=false

When running multistrap with this file, I get the following output:

	multistrap 2.2.1 using multistrap-example.conf
	multistrap 2.2.1 using multistrap-example.conf
	Defaulting architecture to native: amd64
	multistrap building amd64 multistrap on 'amd64'
	I: Installing ARRAY(0x21962f0) 
	sh: 1: Syntax error: "(" unexpected
	sh: 1: Syntax error: "(" unexpected
	multistrap: Unable to download keyring package: '/tmp/multistrap/'

It took me quite some time until I figured out from reading the perl
code what the error was. The problem is easy to see in the configuration
file above but becomes way harder to spot in more complicated setups. In
the ideal case, the configuration file parser would either not allow
duplicate sections or multistrap would abort with a helpful error
message if it sees that variables that it expects to be scalars were
read as arrays.

Thanks!

cheers, josch

--- End Message ---
--- Begin Message ---
Version: 2.2.11+rm

Dear submitter,

as the package multistrap has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1093962

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Paul Tagliamonte (the ftpmaster behind the curtain)

--- End Message ---

Reply to: