On Mon 08 Feb 2016 at 15:12:21 +0100, sb...@secure.mailbox.org wrote: > Brian (https://lists.debian.org/debian-user/2016/02/msg00137.html > > sources list (only one entry, the following) > deb [ trusted=yes ] file:/media/cdrom/debian-testing-amd64-DVD-1.iso/ > stretch main > DVD directory was already there and mounted > mount /dev/sdb1 /media/cdrom/debian-testing-amd64-DVD-1.iso/ > apt-get update > Failed to fetch > file:/media/cdrom/debian-testing-amd64-DVD-1.iso/dists/stretch/main/binary-amd64/Packages > File not found - > /media/cdrom/debian-testing-amd64-DVD-1.iso/dists/stretch/main/binary-amd64/Packages > (2: File or directory not found) Some index files failed to download. They > have been ignored, or old ones used instead.
This works with a Jessie DVD-1. The Stretch DVD has the same structure. ls -l /media/cdrom/debian-testing-amd64-DVD-1.iso/dists/stretch/main/binary-amd64/ should show Packages.gz. Comment out the sources.list entry and do 'apt-get update'; lock and /partial should now be the only files in /var/lib/apt/lists. /partial should be empty. Also do 'apt-get clean'. Now revert the commenting out and proceed with 'apt-get update'.