Package: mmdebstrap
Version: 1.0.1-1
Severity: normal

Hi,

I have just tried to use mmdebstrap on a Devuan system. It failed with

 e: need apt >= 2.3.14 but have 0

Devuan's verison of apt is 2.5.0devuan1 and the regexp to parse the version at
mmdebstrap:4417 is too tight to recognise that.

Using

 /^apt ([0-9]+\.[0-9]+\.[0-9]+)[a-z0-9]* \([a-z0-9-]+\)$/m

is adequate for this case, but other derivatives may require other characters.

Thanks

Mark


-- System Information:
Debian Release: bookworm/sid
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-4-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages mmdebstrap depends on:
ii  apt      2.5.0devuan1
ii  perl     5.34.0-4
ii  python3  3.10.4-1+b1

Versions of packages mmdebstrap recommends:
pn  arch-test            <none>
pn  fakechroot           <none>
ii  fakeroot             1.29-1
ii  gpg                  2.2.35-2
ii  libdistro-info-perl  1.1
ii  libdpkg-perl         1.21.8
ii  mount                2.38-4devuan1
ii  uidmap               1:4.11.1+dfsg1-2

Versions of packages mmdebstrap suggests:
ii  apt [apt-transport-https]  2.5.0devuan1
pn  apt-transport-tor          <none>
ii  apt-utils                  2.5.0devuan1
ii  binfmt-support             2.2.2-1
ii  ca-certificates            20211016
ii  debootstrap                1.0.126+nmu1devuan1
ii  distro-info-data           0.53devuan1
ii  dpkg-dev                   1.21.8
pn  genext2fs                  <none>
ii  perl-doc                   5.34.0-4
pn  proot                      <none>
pn  qemu-user                  <none>
pn  qemu-user-static           <none>
pn  squashfs-tools-ng          <none>

-- no debconf information

Reply via email to