Web lists-archives.com

Re: Problems {PEBKAC?} running mmdebstrap for 1st time




On 05/27/2019 10:46 AM, Jonas Smedegaard wrote:
Quoting Richard Owlett (2019-05-27 17:23:17)
On 05/26/2019 10:05 AM, Richard Owlett wrote:
On 05/26/2019 09:52 AM, Jonas Smedegaard wrote:
Quoting Richard Owlett (2019-05-26 16:34:17)
I was investigating using multistrap, but it has been orphaned.
mmdebstrap apparently has the desired features of multistrap but
is available only in Buster.

I do not have the available bandwidth to install Buster. In
Stretch perl is 5.24.1-3+deb9u5 but is 5.28.1-6 in Buster.

Is it feasible to run under Stretch? How?

mmdebstrap has no tight dependencies so you should be able to
simply install the Buster package in Stretch and try use it.


My command was:
mmdebstrap --variant=required stretch test1.tar
file:///media/richard/dvds/dvd1.iso

The error received was:
sh: 1: fakechroot: not found
sh: 1: proot: not found
E: unable to pick chroot mode automatically

That was resolved by installing "fakechroot". I had read the man page
as implying the use of a tar file did not require it.

That left me with the problem of telling the instance of apt being run
internally by mmdebstrap that dvd1.iso is trusted. I unsuccessfully
tried using the distribution DVD itself.

What is the proper syntax to use dvd1.iso {preferred} or DVD in drive
{last resort} as my repository?

mmdebstrap (and multistrap which you originally mentioned) are unrelated
to dealing with ISO files.

You misunderstood.
debootstrap, multistrap, mmdebstrap and any future cousins require a repository of deb files.

apt and cousins can install from an unsigned repository by EXPLICITLY identifying it as "trusted". {see man page for sources.list}

By inference I only need the proper syntax to do same with mmdebstrap.

Further re-reading of man pages suggests that my command should begin:
mmdebstrap --variant=required --aptopt="APT::Get::AllowUnauthenticated true" ...

I hesitate to try that on this machine.





What do you expect to achieve by "investigating using multistrap" and
mmdebstrap?

  - Jonas