Web lists-archives.com

Re: Using ISO image of installer DVD as repository - How?




On Fri 31 May 2019 at 09:08:52 -0500, Richard Owlett wrote:

> On 05/31/2019 08:53 AM, Thomas Schmitt wrote:
> > Hi,
> > 
> > Dan Ritter wrote:
> > > > >        deb file:///home/richard/dvdmount stretch main contrib
> > 
> > Richard Owlett wrote:
> > > > I now get a different error message:
> > 
> > How about adding "/pool" to the URI ?
> > 
> >    deb file:///home/richard/dvdmount/pool stretch main contrib
> > 
> > because i see in a mounted 9.4.0-amd64-DVD-1.iso
> > 
> >    /mnt/iso/pool/main/a/a2ps/a2ps_4.14-2_amd64.deb
> > 
> > (The man page and wiki are remarkably diffuse about "file:".)
> > 
> 
> Error message now:
> > The repository 'file:/home/richard/dvdmount/pool stretch Release'
> > does not have a Release file.
> 
> I've been using Synaptic primarily for current convenience.
> Would I be better off using one of the apt family of command line tools?

You would be better off with a bit of lateral thinking.

Your declared problem is to use the files on the ISO image of an
installer DVD as repository. So, you could create a package archive
from them as described at

https://wiki.debian.org/Installation+Archive+USBStick

and go from there.

But, you say, the ISO is not being directly accessed. Quite possibly.
However, the method advocated has the advantage of working and (up
'til now) nobody has come up with a working something to satisfy you.

-- 
Brian.