Re: installing packages from iso file
On Jan 21, 2008 10:00 AM, Paul Csanyi <firstname.lastname@example.org> wrote:
> I installed Debian Etch on a PC box with netinstall CD.
> Now I want to remove CD driver from this box.
> But I want before that to copy the netisntall.iso file
> to HDD on that box.
> So, when I have removed the CD drive, I want that,
> that apt can use this iso file to install some packages.
> How can I do that?
> I try Google, but cant find a solution.
> I think I must first to mount these netinstall.iso with
> loop device:
> mount -o loop -t iso9660 netinstall.iso /mnt/iso
> but this is not the right way because I want to automate
> this, so I think I must edit fstab for this issue:
> /dev/lo /media/cdrom0 iso9660 loop 0 0
> Then I must run 'apt-cdrom add', so I run it:
> LANG=en_EN sudo apt-cdrom add
> Well, I think I find a solution, but what do you think,
> am I right?
Sure, that will work fine. But if you used netinst, you
must have a network connection, so why do you need
to get packages from the cd?