Web lists-archives.com

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

On Fri 31 May 2019 at 07:20:24 -0500, Richard Owlett wrote:

> With the first DVD of Debian 9.8.0 I did:
>    dd if=/dev/cdrom of=dvd.iso bs=4M
> I edited sources.list to read
>    deb file:///home/richard/dvd.iso stretch main contrib trusted=yes
> When running Synaptic's
>     Edit->Reload Package Information
> I receive an error message:
> > The repository 'file:/home/richard/dvd.iso stretch Release'
> > does not have a Release file.
> What is the problem?

>From sources.list(5):

       The currently recognized URI types are:

           The file scheme allows an arbitrary directory in the file
           system to be considered an archive.

An ISO is not an "arbitrary directory".