Bug#37688: apt plus amnt cdrom is broke again
Package: apt
Version: 0.3.6
arroz: /etc/apt# apt-cdrom -d /amnt/cd -m add
Using CD-ROM mount point /amnt/cd/
Identifying.. [3eb4fd9ea01f329ce408558ee2ed7d24]
Scanning Disc for index files.. Found 3 package index files.
Found label 'Debian GNU/Linux slink (2.1) 1/5 main binary-sparc section 1 SAM19990224'
This Disc is called 'Debian GNU_Linux slink (2.1) 1_5 main binary-sparc section 1 SAM19990224'
Reading Package Lists... Done
Wrote 1040 package records.
Writing new source list
Source List entries for this Disc are:
deb "cdrom:Debian GNU_Linux slink (2.1) 1_5 main binary-sparc section 1 SAM19990224/" debian/dists/frozen/contrib/binary-sparc/
deb "cdrom:Debian GNU_Linux slink (2.1) 1_5 main binary-sparc section 1 SAM19990224/" debian/dists/frozen/main/binary-sparc/
deb "cdrom:Debian GNU_Linux slink (2.1) 1_5 main binary-sparc section 1 SAM19990224/" debian/dists/frozen/non-US/binary-sparc/
arroz:/etc/apt# apt-get update
Hit http://cafe.onshore.com local/ Packages
Hit http://http.us.debian.org unstable/main Packages
Hit http://cafe.onshore.com local/ Release
Hit http://sunsite.org.uk unstable/non-US Packages
Hit http://http.us.debian.org unstable/main Release
Hit http://http.us.debian.org unstable/contrib Packages
Hit http://http.us.debian.org unstable/contrib Release
Hit http://http.us.debian.org unstable/non-free Packages
Hit http://http.us.debian.org unstable/non-free Release
Ign http://sunsite.org.uk unstable/non-US Release
Reading Package Lists... Done
Building Dependency Tree... Done
arroz:/etc/apt# apt-get install ash
Reading Package Lists... Done
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
ash
0 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0b/77.2kb of archives. After unpacking 146kb will be used.
Media Change: Please insert the disc labeled 'Debian GNU_Linux slink (2.1) 1_5 main binary-sparc section 1 SAM19990224' in the drive '/cdrom/' and press enter
Media Change: Please insert the disc labeled 'Debian GNU_Linux slink (2.1) 1_5 main binary-sparc section 1 SAM19990224' in the drive '/cdrom/' and press enter
Media Change: Please insert the disc labeled 'Debian GNU_Linux slink (2.1) 1_5 main binary-sparc section 1 SAM19990224' in the drive '/cdrom/' and press enter
arroz:/etc/apt# mv apt.conf_automount apt.conf
arroz:/etc/apt# cat apt.conf
APT {
CDROM {
NoMount "true";
};
};
Acquire {
cdrom {
Mount "/amnt/cd";
};
};
arroz:/etc/apt# apt-get install ash
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
ash
0 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0b/77.2kb of archives. After unpacking 146kb will be used.
Media Change: Please insert the disc labeled 'Debian GNU_Linux slink (2.1) 1_5 main binary-sparc section 1 SAM19990224' in the drive '/amnt/cd/' and press enter
Media Change: Please insert the disc labeled 'Debian GNU_Linux slink (2.1) 1_5 main binary-sparc section 1 SAM19990224' in the drive '/amnt/cd/' and press enter
...
etc.
Reply to: