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

Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time]



On 05/29/2019 01:00 PM, Jonas Smedegaard wrote:
Quoting Richard Owlett (2019-05-29 19:02:51)
On 05/27/2019 11:20 AM, Richard Owlett wrote:
[snip]
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 used whatever tool Caja invokes to extract the contents of dvd1.iso.
After receiving a warning I unzipped packages.gz

mmdebstrap is still not happy. I get:
richard@testingmisc:~$ mmdebstrap --variant=required --aptopt="APT::Get::AllowUnauthenticated true" stretch test1.tar file:///home/richard/Downloads/dvd1
I: automatically chosen mode: fakechroot
I: chroot architecture i386 is equal to the host's architecture
I: using /tmp/mmdebstrap.lKsmxY1Xl3 as tempdir
I: running apt-get update...
done
Get:1 file:/home/richard/Downloads/dvd1 stretch InRelease
Ign:1 file:/home/richard/Downloads/dvd1 stretch InRelease
Get:2 file:/home/richard/Downloads/dvd1 stretch Release [33.4 kB]
Get:2 file:/home/richard/Downloads/dvd1 stretch Release [33.4 kB]
Get:3 file:/home/richard/Downloads/dvd1 stretch Release.gpg
Ign:3 file:/home/richard/Downloads/dvd1 stretch Release.gpg
Get:4 file:/home/richard/Downloads/dvd1 stretch/main i386 Packages [892 kB]
Ign:4 file:/home/richard/Downloads/dvd1 stretch/main i386 Packages
Get:4 file:/home/richard/Downloads/dvd1 stretch/main i386 Packages [892 kB]
Reading package lists...
W: The repository 'file:/home/richard/Downloads/dvd1 stretch Release' is not signed.
E: apt-get update -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false failed
I: removing tempdir /tmp/mmdebstrap.lKsmxY1Xl3...

I don't know what the next to last line is telling me.
I've tried running mmdebstrap as root and received same error.

Help please.

I still think you are mistaken about mmdebstrap (or
multistrap or any other debootstrap variant/replacement) relating to ISO
files.

If an installation CD/DVD did not enclose a legitimate repository how would installs take place?




Reply to: