This is what I did. deleted the symbolic link on /media/apt1 unmounted dvd1 deleted the folder /home/neo1691/dvd1-mountpoint
created a new folder /media/dvd1-mountpoint and mounted the iso using the command mount path/to/iso /media/dvd-mountpoint1 -o loop 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 ran apt-get update output Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release.gpg Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release Err cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib amd64 Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Err cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main amd64 Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib Translation-en_IN Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib Translation-en Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main Translation-en_IN Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main Translation-en Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B] Hit http://security.debian.org wheezy/updates Release 99% [Waiting for headers] [Waiting for headers] [Waiting for headers] 132 B/s 0s^ Last line indicates that it have started using the mirrors. ran the command apt-cdrom -d=/media/dvd1-mountpoint add output: Using CD-ROM mount point /media/cdrom/ Identifying.. [60d2d6d8ea51839a2ff8c56c8284e175-2] Scanning disc for index files.. Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures W: Failed to mount '/dev/sr0' to '/media/cdrom/' E: Unable to locate any package files, perhaps this is not a Debian Disc or the wrong architecture? Changed entry in /etc/fstab to /home/neo1691/iso-files/debian-7.1.0-amd64-DVD-1.iso /media/apt1 iso9660 loop,ro,user,noauto 0 0 ran apt-get update output Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release.gpg Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release Err cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib amd64 Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Err cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main amd64 Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib Translation-en_IN Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib Translation-en Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main Translation-en_IN Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main Translation-en Get:1 http://ftp.debian.org wheezy-updates Release.gpg [1,571 B] Get:2 http://ftp.debian.org wheezy-backports Release.gpg [1,571 B] Hit http://security.debian.org wheezy/updates Release.gpg Get:3 http://ftp.debian.org wheezy-updates Release [116 kB] Hit http://security.debian.org wheezy/updates Release Hit http://security.debian.org wheezy/updates/main Sources Hit http://security.debian.org wheezy/updates/contrib Sources Hit http://security.debian.org wheezy/updates/main amd64 Packages Hit http://security.debian.org wheezy/updates/contrib amd64 Packages 12% [Waiting for headers] [Waiting for headers] [3 Release 11.0 kB/116 kB 9%] 689 B/s 2min 32s^ ran apt-cdrom -d=/media/dvd1-mountpoint add output Using CD-ROM mount point /media/cdrom/ Identifying.. [60d2d6d8ea51839a2ff8c56c8284e175-2] Scanning disc for index files.. Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures W: Failed to mount '/dev/sr0' to '/media/cdrom/' E: Unable to locate any package files, perhaps this is not a Debian Disc or the wrong architecture? Different roads lead to the same roads I guess! Well you must have guessed by now why I want to use CDROM for installation of packages. On 8/13/13, Anubhav Yadav <anubhav1...@gmail.com> wrote: > dvd1-mountpoint is a folder where I mount the iso and /media/apt1 is a > symbolic link to dvd1-mountpoint. > > So now what I will do is I will just mount the iso directly into > /media/apt1 where apt1 is a directory not a link. Will this work? > -- Regards, Anubhav Yadav -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AEzH=MUOJ=93fjcmxrwke+rsf8cy4kgzd_uz-68gkh...@mail.gmail.com