[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to use the debian installation iso for installing packages using aptitude



Anubhav Yadav wrote:
> created a new folder /media/dvd1-mountpoint and mounted the iso using
> the command
>  mount path/to/iso /media/dvd-mountpoint1 -o loop

Looks okay.

> then  in etc/fstab added the line
> /home/neo1691/iso-files/debian-7.1.0-amd64-DVD-1.iso /media/apt1 iso9660 loop,ro,user,noauto 0 0

To verify that your /etc/fstab line is correct you should mount using
it instead of doing all of it above.

  # umount /media/dvd-mountpoint1
  # mount /media/dvd-mountpoint1

Both of those should be silent with no errors.  They will use the
entries in the /etc/fstab for the configuration.

> recoverym4n@gmail.com wrote:
> > deb file:/media/apt1 debian main contrib non-free

The file:/ syntax is the one to use.  But the line there is not
correct.  For one there is no release "debian".  It will be "wheezy".
And if it is an official Debian image then there won't be non-free
there since the DFSG (Debian Free Software Guidelines) do not allow
nonfree.

Try this one:

  deb file:/media/dvd-mountpoint1 wheezy main contrib

> > 2) Comment out anything else in sources.list.
> >
> > 3) Run apt-get update.

Agreed.  Try it again with the above.  I just tried it on my system to
test it.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: