Package: mmdebstrap
Version: 0.5.0-2
Severity: normal

Hi,

mmdebstrap's man page says about --component: "Comma separated list of
components like main, contrib and non-free which will be used for all
URI-only MIRROR arguments.". But using comma as separator fails:

$ mmdebstrap -v \
  "--aptopt=Dir::Etc::Trusted 
\"/usr/share/keyrings/debian-archive-keyring.gpg\"" \
  --component=main,contrib buster example.tar.xz
I: automatically chosen mode: unshare
I: chroot architecture amd64 is equal to the host's architecture
I: using /tmp/mmdebstrap.1yCnFabKq6 as tempdir
I: running apt-get update...
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [39.1 
kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Fetched 210 kB in 0s (623 kB/s)
Reading package lists...
W: Skipping acquire of configured file 'main,contrib/binary-amd64/Packages' as
repository 'http://security.debian.org/debian-security buster/updates
InRelease' doesn't have the component 'main,contrib' (component misspelt in
sources.list?)
W: Skipping acquire of configured file 'main,contrib/binary-amd64/Packages' as
repository 'http://deb.debian.org/debian buster InRelease' doesn't have the
component 'main,contrib' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main,contrib/binary-amd64/Packages' as
repository 'http://deb.debian.org/debian buster-updates InRelease' doesn't have
the component 'main,contrib' (component misspelt in sources.list?)
E: apt-get update -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false failed
I: removing tempdir /tmp/mmdebstrap.1yCnFabKq6...

Using spaces as separator works. So there is either a bug in mmdebstrap or the
documentation is misleading.

-- 
Benjamin Drung

Debian & Ubuntu Developer
Platform Engineering Compute (Enterprise Cloud)

1&1 IONOS SE | Greifswalder Str. 207 | 10405 Berlin | Germany
E-mail: benjamin.dr...@cloud.ionos.com | Web: www.ionos.de

Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498
Vorstand: Dr. Christian Böing, Hüseyin Dogan, Hans-Henning Kettler, Matthias
Steinberg, Achim Weiß
Aufsichtsratsvorsitzender: Markus Kadelke
Member of United Internet

Reply via email to