Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209177 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2019-05-26 16:40 +0200 |
| Last post | 2019-05-30 17:40 +0200 |
| Articles | 18 — 4 participants |
Back to article view | Back to linux.debian.user
Feasibility of running mmdebstrap under Stretch (not Buster) Richard Owlett <rowlett@cloud85.net> - 2019-05-26 16:40 +0200
Re: Feasibility of running mmdebstrap under Stretch (not Buster) Jonas Smedegaard <jonas@jones.dk> - 2019-05-26 17:00 +0200
Re: Feasibility of running mmdebstrap under Stretch (not Buster) Richard Owlett <rowlett@cloud85.net> - 2019-05-26 17:10 +0200
Problems {PEBKAC?} running mmdebstrap for 1st time Richard Owlett <rowlett@cloud85.net> - 2019-05-27 17:30 +0200
Re: Problems {PEBKAC?} running mmdebstrap for 1st time Jonas Smedegaard <jonas@jones.dk> - 2019-05-27 17:50 +0200
Re: Problems {PEBKAC?} running mmdebstrap for 1st time Richard Owlett <rowlett@cloud85.net> - 2019-05-27 18:30 +0200
Re: Problems {PEBKAC?} running mmdebstrap for 1st time Cindy Sue Causey <butterflybytes@gmail.com> - 2019-05-27 19:10 +0200
Re: Problems {PEBKAC?} running mmdebstrap for 1st time Richard Owlett <rowlett@cloud85.net> - 2019-05-27 19:40 +0200
Re: Problems {PEBKAC?} running mmdebstrap for 1st time Cindy Sue Causey <butterflybytes@gmail.com> - 2019-05-27 19:30 +0200
Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] Richard Owlett <rowlett@cloud85.net> - 2019-05-29 19:10 +0200
Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] Jonas Smedegaard <jonas@jones.dk> - 2019-05-29 20:10 +0200
Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] Richard Owlett <rowlett@cloud85.net> - 2019-05-29 20:40 +0200
Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] Jonas Smedegaard <jonas@jones.dk> - 2019-05-29 22:10 +0200
Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] Richard Owlett <rowlett@cloud85.net> - 2019-05-30 13:10 +0200
Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] Jonas Smedegaard <jonas@jones.dk> - 2019-05-30 14:40 +0200
Re: Problems {PEBKAC?} running mmdebstrap for 1st time Curt <curty@free.fr> - 2019-05-30 15:00 +0200
Re: Problems {PEBKAC?} running mmdebstrap for 1st time Richard Owlett <rowlett@cloud85.net> - 2019-05-30 17:20 +0200
Re: Problems {PEBKAC?} running mmdebstrap for 1st time Curt <curty@free.fr> - 2019-05-30 17:40 +0200
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-05-26 16:40 +0200 |
| Subject | Feasibility of running mmdebstrap under Stretch (not Buster) |
| Message-ID | <y22tz-10U-9@gated-at.bofh.it> |
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? TIA
[toc] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-05-26 17:00 +0200 |
| Message-ID | <y22MV-17V-3@gated-at.bofh.it> |
| In reply to | #209177 |
[Multipart message — attachments visible in raw view] — view raw
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. Just make sure to mention clearly in eventual bugreports if you are using the package outside its officially target suite. There are known limitations esp. when running under fake(ch)root, but I think that is well documented in the man page. mmdebstrap is great! - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-05-26 17:10 +0200 |
| Message-ID | <y22WB-1qL-1@gated-at.bofh.it> |
| In reply to | #209179 |
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. Today == *rain* Tomorrow = holiday Should have lots of time ;/ > > Just make sure to mention clearly in eventual bugreports if you are > using the package outside its officially target suite. In any case, typically PEBKAC > bugs > > There are known limitations esp. when running under fake(ch)root, but I > think that is well documented in the man page. That is one of the things I wanted to check out. As I read the limitations, they should be fairly simple to remedy. Thanks > > mmdebstrap is great! > > > - Jonas >
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-05-27 17:30 +0200 |
| Subject | Problems {PEBKAC?} running mmdebstrap for 1st time |
| Message-ID | <y2pJv-717-3@gated-at.bofh.it> |
| In reply to | #209180 |
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?
[toc] | [prev] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-05-27 17:50 +0200 |
| Subject | Re: Problems {PEBKAC?} running mmdebstrap for 1st time |
| Message-ID | <y2q2R-77X-1@gated-at.bofh.it> |
| In reply to | #209232 |
[Multipart message — attachments visible in raw view] — view raw
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.
What do you expect to achieve by "investigating using multistrap" and
mmdebstrap?
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-05-27 18:30 +0200 |
| Subject | Re: Problems {PEBKAC?} running mmdebstrap for 1st time |
| Message-ID | <y2qFA-7Aw-5@gated-at.bofh.it> |
| In reply to | #209235 |
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
>
[toc] | [prev] | [next] | [standalone]
| From | Cindy Sue Causey <butterflybytes@gmail.com> |
|---|---|
| Date | 2019-05-27 19:10 +0200 |
| Subject | Re: Problems {PEBKAC?} running mmdebstrap for 1st time |
| Message-ID | <y2rii-846-5@gated-at.bofh.it> |
| In reply to | #209238 |
On 5/27/19, Richard Owlett <rowlett@cloud85.net> wrote: > > 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. Is there any way to attempt a "--dry-run", or is that not offered? Or it's possibly not even useful in this particular case usage? I've encountered "--dry-run" as a nice option a couple times lately. That's why it came to mind just now. Would be nice to see it here, too. DISCLAIMER: Where available, "--dry-run" is still not perfect. I've seen it gloss over, i.e. not mention/reference at all, some forgotten action that I had specifically needed to test-drive first before attempting for reals. Cindy :) -- Cindy-Sue Causey Talking Rock, Pickens County, Georgia, USA * runs with birdseed *
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-05-27 19:40 +0200 |
| Subject | Re: Problems {PEBKAC?} running mmdebstrap for 1st time |
| Message-ID | <y2rLj-8f2-9@gated-at.bofh.it> |
| In reply to | #209239 |
On 05/27/2019 12:08 PM, Cindy Sue Causey wrote: > On 5/27/19, Richard Owlett <rowlett@cloud85.net> wrote: >> >> 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. > > > Is there any way to attempt a "--dry-run", or is that not offered? Or > it's possibly not even useful in this particular case usage? The man page for mmdebstrap does mention one. As its original motivation was to replace a sub-set of multistrap uses, I wouldn't be surprised if it exists. I've just done a Debian install intended for doing dangerous experiments. But its lunch time. > > I've encountered "--dry-run" as a nice option a couple times lately. > That's why it came to mind just now. Would be nice to see it here, > too. > > DISCLAIMER: Where available, "--dry-run" is still not perfect. I've > seen it gloss over, i.e. not mention/reference at all, some forgotten > action that I had specifically needed to test-drive first before > attempting for reals. That's essentially why I specified a tarball as output. Limits collateral damage while I find out what mmdebstrap does or can do. > > Cindy :) >
[toc] | [prev] | [next] | [standalone]
| From | Cindy Sue Causey <butterflybytes@gmail.com> |
|---|---|
| Date | 2019-05-27 19:30 +0200 |
| Subject | Re: Problems {PEBKAC?} running mmdebstrap for 1st time |
| Message-ID | <y2rBD-8bH-3@gated-at.bofh.it> |
| In reply to | #209238 |
On 5/27/19, Cindy Sue Causey <butterflybytes@gmail.com> wrote:
> On 5/27/19, Richard Owlett <rowlett@cloud85.net> wrote:
>>
>> 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.
>
>
> Is there any way to attempt a "--dry-run", or is that not offered? Or
> it's possibly not even useful in this particular case usage?
Sorry about that yet again. I thought it was being funky when it took
too long after clicking "Send". It occurred on the newest Opera-Stable
installed 24 hours ago.
When this occurs, as I've seen it happen for others, too, I THINK it's
possibly about a browser's refresh rate or something similar ("redraw,
whatever that is"?) *hiccup* causing a malfunction in tandem with less
than optimal networking connections.
Websites used to "yell at me", a "whoa, cowboy" kind of deal, where
the'd sometimes even threaten to lock me out a couple years ago. Their
complaint was about the browser being too eager, making too many
refresh requests in too short a time. Opera had something called a
"redraw" [rate] that seemed to be the cause. Back then, it could be
changed slightly but NOT STOPPED, unfortunately. :)
Opera finally evolved to where that hasn't been such an issue. Every
once in a while, though, instances like this newest double-sent email
give a quick peek back at those not so long ago "it's not you, it's
not me, it's THEM" days.
Cindy :)
--
* runs with birdseed *
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-05-29 19:10 +0200 |
| Subject | Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] |
| Message-ID | <y3afn-2S3-5@gated-at.bofh.it> |
| In reply to | #209238 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-05-29 20:10 +0200 |
| Subject | Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] |
| Message-ID | <y3bbr-3sK-5@gated-at.bofh.it> |
| In reply to | #209382 |
[Multipart message — attachments visible in raw view] — view raw
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.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-05-29 20:40 +0200 |
| Subject | Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] |
| Message-ID | <y3bEt-3Dw-5@gated-at.bofh.it> |
| In reply to | #209385 |
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?
[toc] | [prev] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-05-29 22:10 +0200 |
| Subject | Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] |
| Message-ID | <y3d3z-4ET-1@gated-at.bofh.it> |
| In reply to | #209388 |
[Multipart message — attachments visible in raw view] — view raw
Quoting Richard Owlett (2019-05-29 20:35:52)
> 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?
Define "legitimate".
A debian-installer ISO fits the needs of debian-installer.
mmdebstrap does not take debian-installer organized data as input.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-05-30 13:10 +0200 |
| Subject | Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] |
| Message-ID | <y3r6x-5d9-1@gated-at.bofh.it> |
| In reply to | #209391 |
On 05/29/2019 03:04 PM, Jonas Smedegaard wrote: > > mmdebstrap does not take debian-installer organized data as input. According to the man page: [https://manpages.debian.org/testing/mmdebstrap/mmdebstrap.1.en.html] > In contrast to debootstrap it uses apt to resolve dependencies > and is thus able to use more than one mirror and resolve more > complex dependencies. AND later > --aptopt > Pass arbitrary options to apt. As apt has no problem with ISOs. Why then should mmdebstrap have problem? Also note the error message. > E: apt-get update -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false failed It explicitly states "apt-get" has error. Therefore I need the right mmdebstrap syntax.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-05-30 14:40 +0200 |
| Subject | Re: Fresh run of mmdebstrap - was [Re: Problems {PEBKAC?} running mmdebstrap for 1st time] |
| Message-ID | <y3svD-5WV-1@gated-at.bofh.it> |
| In reply to | #209413 |
[Multipart message — attachments visible in raw view] — view raw
Quoting Richard Owlett (2019-05-30 13:01:10) > On 05/29/2019 03:04 PM, Jonas Smedegaard wrote: > > > > mmdebstrap does not take debian-installer organized data as input. > > According to the man page: > [https://manpages.debian.org/testing/mmdebstrap/mmdebstrap.1.en.html] > > In contrast to debootstrap it uses apt to resolve dependencies > > and is thus able to use more than one mirror and resolve more > > complex dependencies. > AND later > > --aptopt > > Pass arbitrary options to apt. > As apt has no problem with ISOs. Why then should mmdebstrap have problem? > > Also note the error message. > > E: apt-get update -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false failed > > It explicitly states "apt-get" has error. > Therefore I need the right mmdebstrap syntax. I think I got my point through to you now. You clearly disagree. I suggest you file a bugreport and discuss further with the maintainer of the package (which is also the author of the packaged tool). - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2019-05-30 15:00 +0200 |
| Subject | Re: Problems {PEBKAC?} running mmdebstrap for 1st time |
| Message-ID | <y3sP0-641-23@gated-at.bofh.it> |
| In reply to | #209232 |
On 2019-05-27, Richard Owlett <rowlett@cloud85.net> wrote:
>
> 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?
>
I'm uncertain how mmdebstrap works exactly, but I wonder, as it can be
fed a '/etc/apt/sources.list' file, if the latter contained a line for
your in-drive dvd (via 'apt-cdrom add', for example) whether that would work
(unsure just how and when mmdebstrap updates apt's package index).
cat /etc/apt/sources.list | mmdebstrap > stable-chroot.tar
or is it
mmdebstrap < /etc/apt/sources.list > stable-chroot.tar
Those must be equivalent, I guess.
--
“Decisions are never really made – at best they manage to emerge, from a chaos
of peeves, whims, hallucinations and all around assholery.” – Thomas Pynchon
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-05-30 17:20 +0200 |
| Subject | Re: Problems {PEBKAC?} running mmdebstrap for 1st time |
| Message-ID | <y3v0t-7D3-3@gated-at.bofh.it> |
| In reply to | #209416 |
On 05/30/2019 07:51 AM, Curt wrote:
> On 2019-05-27, Richard Owlett <rowlett@cloud85.net> wrote:
>>
>> 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?
>>
>
> I'm uncertain how mmdebstrap works exactly, but I wonder, as it can be
> fed a '/etc/apt/sources.list' file, if the latter contained a line for
> your in-drive dvd (via 'apt-cdrom add', for example) whether that would work
> (unsure just how and when mmdebstrap updates apt's package index).
>
> cat /etc/apt/sources.list | mmdebstrap > stable-chroot.tar
>
> or is it
>
> mmdebstrap < /etc/apt/sources.list > stable-chroot.tar
>
> Those must be equivalent, I guess.
>
Equivalent? Don't know.
2nd looks like quote from man page <chuckle>
I had made explicit choice to use "--xyz" format. Why? Forgot ;/
Up until a couple of years ago I only had dial-up. Install DVDs {or
their images} were my only choice for a repository. There are {now
forgotten} apt related quirks to be aware of. I'm now giving myself a
refresher course on using an install DVD ( or image ) as a repository.
Earlier this morning I proved why you don't experiment in your default
setup. I have a partition set aside for experiments. This morning I
managed to trash my 'experimenter' partition.
More later.
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2019-05-30 17:40 +0200 |
| Subject | Re: Problems {PEBKAC?} running mmdebstrap for 1st time |
| Message-ID | <y3vjQ-7Ke-5@gated-at.bofh.it> |
| In reply to | #209427 |
On 2019-05-30, Richard Owlett <rowlett@cloud85.net> wrote:
> Up until a couple of years ago I only had dial-up. Install DVDs {or
> their images} were my only choice for a repository. There are {now
> forgotten} apt related quirks to be aware of. I'm now giving myself a
> refresher course on using an install DVD ( or image ) as a repository.
When you install from DVD it is effectively the repository.
--
“Decisions are never really made – at best they manage to emerge, from a chaos
of peeves, whims, hallucinations and all around assholery.” – Thomas Pynchon
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web