[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




On Aug 13, 2013 3:29 PM, <recoverym4n@gmail.com> wrote:
>
> Hi.
>
> According to apt-cdrom(8), '-d' means:
>
> Mount point; specify the location to mount the CD-ROM. This mount point
> must be listed in /etc/fstab and properly configured. Configuration
> Item: Acquire::cdrom::mount.
>
> Note /etc/fstab part.
>
> Apparently you have entry for /media/cdrom in your fstab, but don't
> have one for /media/apt1.
>
> Reco
 

I added the following line to my etc/fstab file

/home/neo1691/dvd1-mountpoint /media/apt1 iso9660 rw,user,noauto 0        0

And my first line in /etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06]/ wheezy contrib main 

deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06]/ wheezy contrib main 

But now if I run say for example apt-get install xchat  

This time it never ask me to insert the cd rom it will search the mirrors.

I guess I am close to achieving what I want.


Reply to: