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

Re: Difficulties while installing additional packages from .iso (USB stick) after successful stretch install



Hi,
> Brian <ad44@cityscape.co.uk> hat am 8. Februar 2016 um 19:50
> geschrieben:
> 
> 
> On Mon 08 Feb 2016 at 15:12:21 +0100, sbeck@secure.mailbox.org wrote:
[...trimming the old message...]
> 
> 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'.

Thanks, Brian, I commented out the entry in the sources.list file as you
proposed, but in my case it did not work. :-( Remember that I have a USB
stick with an DVD.iso, I do not have a real DVD

root@mymachine:~# LC_ALL=C cd /var/lib/apt/lists
root@mymachine:/var/lib/apt/lists# LC_ALL=C ls -l
total 4
-rw-r----- 1 root root    0 Feb  5 14:41 lock
drwx------ 2 _apt root 4096 Feb  8 23:47 partial
root@mymachine:/var/lib/apt/lists# LC_ALL=C cd /var/lib/apt/lists/partial
root@mymachine:/var/lib/apt/lists/partial# LC_ALL=C ls -l
total 0
root@mymachine:/var/lib/apt/lists/partial# cd
root@mymachine:~# LC_ALL=C apt-get clean
root@mymachine:~# LC_ALL=C apt-get update
Get:1 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch InRelease
Ign:1 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch InRelease
Get:2 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch Release
Ign:2 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch Release
Get:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Ign:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Get:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Ign:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Get:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Ign:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Get:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Ign:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Get:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Ign:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Get:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Ign:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Get:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Ign:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Get:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Ign:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Get:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Ign:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Get:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Ign:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Get:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Ign:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Get:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Ign:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Get:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Ign:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Get:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Ign:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Get:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Ign:5 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main
Translation-en
Get:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
Err:3 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main amd64
Packages
  File not found -
/media/cdrom/debian-testing-amd64-DVD-1.iso/dists/stretch/main/binary-amd64/Packages
(2: No such file or directory)
Get:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Ign:4 file:/media/cdrom/debian-testing-amd64-DVD-1.iso stretch/main all
Packages
Reading package lists... Done
W: 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: No such file or directory)
E: Some index files failed to download. They have been ignored, or old
ones used instead.

Then I took a closer look at the directory structure on the USB stick, and
look

root@mymachine:/media/cdrom# LC_ALL=C ls -l
total 4
drwxr-xr-x 3 root root 4096 Feb  9 00:30 debian-testing-amd64-DVD-1.iso
root@mymachine:/media/cdrom# cd
/media/cdrom/debian-testing-amd64-DVD-1.iso
root@mymachine:/media/cdrom/debian-testing-amd64-DVD-1.iso# LC_ALL=C ls -l

total 16
drwxr-xr-x 2 root root 16384 Jan  1  1970 debian-testing-amd64-DVD-1.iso
root@mymachine:/media/cdrom/debian-testing-amd64-DVD-1.iso# cd
/media/cdrom/debian-testing-amd64-DVD-1.iso/debian-testing-amd64-DVD-1.iso
root@mymachine:/media/cdrom/debian-testing-amd64-DVD-1.iso/debian-testing-amd64-DVD-1.iso#
LC_ALL=C ls -l
total 3889184
-rwxr-xr-x 1 root root      72011 Feb  4 00:36 SHA256SUMS
-rwxr-xr-x 1 root root       1461 Feb  4 00:58 SHA256SUMS-iso
-rwxr-xr-x 1 root root        819 Feb  4 00:58 SHA256SUMS.sign
-rwxr-xr-x 1 root root       2421 Feb  4 00:59 SHA512SUMS
-rwxr-xr-x 1 root root        819 Feb  4 00:59 SHA512SUMS.sign
-rwxr-xr-x 1 root root 3968434176 Feb  1 17:49
debian-testing-amd64-DVD-1.iso
-rwxr-xr-x 1 root root   10306917 Feb  4 00:25 initrd.gz
-r-xr-xr-x 1 root root      32256 Feb  4 00:02 ldlinux.sys
-rwxr-xr-x 1 root root         42 Feb  4 02:58 syslinux.cfg
-rwxr-xr-x 1 root root    3557264 Feb  4 00:24 vmlinuz
root@mymachine:/media/cdrom/debian-testing-amd64-DVD-1.iso/debian-testing-amd64-DVD-1.iso#
cd
/media/cdrom/debian-testing-amd64-DVD-1.iso/debian-testing-amd64-DVD-1.iso/debian-testing-amd64-DVD-1.iso/

Strange, is that the same on your Jessie DVD? I downloaded it from what
turned out to be a secondary mirror and I saved the download details.
Maybe I made a mistake in which directory I downloaded it...
I tried to adjust the sources.list but at the moment it hasn't worked. 

Thanks
Stephan


Reply to: