On Mon 08 Feb 2016 at 02:15:31 +1300, Chris Bannister wrote:

> On Sat, Feb 06, 2016 at 11:06:56AM +0100, sb...@secure.mailbox.org wrote:
> > Hi list members,
> > 
> > I have successfully installed stretch from a usb stick onto which I had
> > downloaded the latest amd64 weekly-build DVD-1.iso and other necessary
> > init files.
> > Well, after the install process had finished, I rebooted from harddisk and
> > everything worked, but when I now try to use apt to install more files
> > FROM THE DVD.iso on the stick (not over the network), it tells me to
> > insert the cdrom:[DEBIAN_TESTING...DVD-iso-1], even when the USB
> > stick is already inserted in the slot - no, apt wants a cdrom (and that's
> > what the source.list indicates: cdrom. 
> > It's an iso-hybrid as you know, but I can't find a way to tell apt to use
> > this very same USB stick (with the named ISO) from which the installing
> > process had been carried out. 
> > When I put different forms of identifying the USB stick into the
> > sources.list apt says something like "there is no driver for that device
> > installed" or "there is no release file" (when I put
> > file://var/lib/apt/lists directory) and does not proceed. But the
> 
> Have a look at 'man sources.list'
> 
> e.g. in examples it has deb file:/home/jason/debian unstable main contrib 
> non-free
> note it's not 'file://'
> 
> Please inform the list of your progress, I too would like to know the
> solution for future reference.

The OP has DVD-1 on a USB stick. We will work with that.

First adjust sources.list to only have

  deb [ trusted=yes ] file:/media/DVD-1/ jessie main

'trusted=yes' avoids being warned that a package cannot be authenticated.
You do trust the ISO you downloaded, don't you?

Make the DVD-1 directory:

  mkdir /media/DVD-1/

and insert the USB stick. Obtain the device name from dmesg or lsblk.
Then (for example)

  mount /dev/sdg1 /media/DVD-1/

It is now a matter of 'apt-get update' and 'apt-get install'.

How about giving this a quick whirl and a report to add to other users'
future references?

Reply via email to