Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #235155

Re: How to reference xxxdvd1.iso in sources.list

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: How to reference xxxdvd1.iso in sources.list
Date 2021-05-13 12:00 +0200
Message-ID <Cegim-1xa-13@gated-at.bofh.it> (permalink)
References <Ce2p3-12m-1@gated-at.bofh.it> <Ce31L-1f9-1@gated-at.bofh.it> <CefZ0-1pF-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, May 13, 2021 at 04:35:38AM -0500, Richard Owlett wrote:
> On 05/12/2021 02:44 PM, tomas@tuxteam.de wrote:

[...]

> >This wiki [1] suggests using apt-cdrom to do the magic for you

> >[1] https://wiki.debian.org/SourcesList#CD-ROM

[...]

> But I have an iso file on a disk drive -- be it internal HDD or a
> USB flash drive.

"If all else fails, read the instructions" ;-)

The wiki I pointed you to above has this to say (that section
is just a couple of lines, less than this mail is long!):

   "If you'd rather use your CD-ROM [...] you can put it in your
    /etc/apt/sources.list. To do so, you can use the apt-cdrom
    program like this:

    # apt-cdrom add

    with the Debian CD-ROM in the drive."

And now this is for you:

   "You can use -d for the directory of the CD-ROM mount point
    or add a non-CD mount point (i.e. a USB keydrive)."

If I were you, I'd try and see what

  "apt-cdrom -d /path/to/mounted/usb/stick/or/whatever"

does to my sources.list(.d)

Of course, you'll have to actually *mount* that ISO file to
achieve that. You don't expect apt to duplicate the inner
workings of every file system driver under the moon to be
able to extract files from any random file system image [1],
do you?

Cheers

[1] Grub already tries to do this, alas :-/

 - t

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-12 21:50 +0200
  Re: How to reference xxxdvd1.iso in sources.list Richard Owlett <rowlett@cloud85.net> - 2021-05-13 11:40 +0200
    Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 12:00 +0200
      Re: How to reference xxxdvd1.iso in sources.list "Thomas Schmitt" <scdbackup@gmx.net> - 2021-05-13 12:50 +0200
        Re: How to reference xxxdvd1.iso in sources.list Richard Owlett <rowlett@cloud85.net> - 2021-05-13 13:50 +0200
          Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 15:40 +0200
            Re: How to reference xxxdvd1.iso in sources.list David Wright <deblis@lionunicorn.co.uk> - 2021-05-13 17:10 +0200
            Re: How to reference xxxdvd1.iso in sources.list Richard Owlett <rowlett@cloud85.net> - 2021-05-13 17:10 +0200
              Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 17:20 +0200
            Re: How to reference xxxdvd1.iso in sources.list "Andrew M.A. Cater" <amacater@einval.com> - 2021-05-13 17:50 +0200
              Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 19:00 +0200
                Re: How to reference xxxdvd1.iso in sources.list "Andrew M.A. Cater" <amacater@einval.com> - 2021-05-13 19:40 +0200
                Re: How to reference xxxdvd1.iso in sources.list "Thomas Schmitt" <scdbackup@gmx.net> - 2021-05-13 21:20 +0200
                Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 21:20 +0200

csiph-web