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

Bug#533091: archive.gpg in amd64 netboot.tar.gz for etch



On 06/15/2009 11:32 PM, Otavio Salvador wrote:
Hello Pascal,

Pascal Vandeputte <debian-bugs@asmodeus.be> writes:

  
For some time now, I've been running into the problem where I just get
the error "Downloading a file failed" in the initial stages of
installation, but I didn't get around to finding the cause until
recently. As far as I can tell, the /usr/share/keyrings/archive.gpg
file in the initrd is out of date, but only in the amd64 netinstaller
for etch. The i386 netinstaller works just fine. Because it's out of
date it cannot verify the authenticity of the Release file.
    

Do you mind to download the image again and test?

It looks up to date:

otavio@merkel:/org/ftp.debian.org/ftp/dists/etch/main$ ls -l installer-{i386,amd64}/current/images/netboot/netboot.tar.gz
-rw-r--r-- 1 archvsync archvsync 5950078 Abr  8 03:08 installer-amd64/current/images/netboot/netboot.tar.gz
-rw-r--r-- 1 archvsync archvsync 5561045 Abr  8 09:03 installer-i386/current/images/netboot/netboot.tar.gz

  

Hi Otavio,

Thank you for your reply. You are absolutely correct that both netboot images have been updated on April 8. If you unpack the tarballs, you'll notice that the kernel and initrd files themselves have been updated around the same date as well.

My point is that if you unpack the initrd files, the contained /usr/share/keyrings/archive.gpg file isn't the same between the i386 initrd and the amd64 initrd (to be honest I'm not sure if it's supposed to be identical). Anyway, when trying to use the amd64 netboot.tar.gz for a netinstall, it fails with the error "Downloading a file failed" while the i386 version works just fine.
# mkdir amd64 i386
# ( cd amd64 && wget http://ftp.us.debian.org/debian/dists/etch/main/installer-amd64/current/images/netboot/netboot.tar.gz )
# ( cd i386 && wget http://ftp.us.debian.org/debian/dists/etch/main/installer-i386/current/images/netboot/netboot.tar.gz )
# ls -al amd64/netboot.tar.gz i386/netboot.tar.gz
-rw-r--r-- 1 pvdputte pvdputte 5950078 2009-04-08 05:08 amd64/netboot.tar.gz
-rw-r--r-- 1 pvdputte pvdputte 5561045 2009-04-08 11:03 i386/netboot.tar.gz

So these are the same files as yours (disregarding the timezone difference).

Unpack:
# ( cd amd64/ && tar zxf netboot.tar.gz )
# ( cd i386/ && tar zxf netboot.tar.gz )
# ls -al amd64/debian-installer/amd64/{initrd*,linux*}
-rw-r--r-- 1 pvdputte pvdputte 4483873 2009-04-08 05:08 amd64/debian-installer/amd64/initrd.gz
-rw-r--r-- 1 pvdputte pvdputte 1512399 2009-04-08 05:08 amd64/debian-installer/amd64/linux
# ls -al i386/debian-installer/i386/{initrd*,linux*}
-rw-r--r-- 1 pvdputte pvdputte 4351167 2009-04-08 11:03 i386/debian-installer/i386/initrd.gz
-rw-r--r-- 1 pvdputte pvdputte 1219068 2009-04-08 11:03 i386/debian-installer/i386/linux
Nothing out of the ordinary so far.
Now unpack the initrd's and compare the archive.gpg files:
# ( cd initrd-amd64/ && gzip -dc /tmp/amd64/debian-installer/amd64/initrd.gz | cpio -id )
# ( cd initrd-i386/ && gzip -dc /tmp/i386/debian-installer/i386/initrd.gz | cpio -id )
# ls -al initrd-{amd64,i386}/usr/share/keyrings/archive.gpg
-rw-r--r-- 1 pvdputte pvdputte 4148 2009-06-16 10:42 initrd-amd64/usr/share/keyrings/archive.gpg
-rw-r--r-- 1 pvdputte pvdputte 5801 2009-06-16 10:42 initrd-i386/usr/share/keyrings/archive.gpg
You can see that the i386 archive.gpg file is clearly larger.

If you were now to repack the amd64 initrd with the i386 archive.gpg file, you would see that the installer would now be back in working order (no more "Downloading a file failed" error causing installation to halt).
# cp /tmp/initrd-i386/usr/share/keyrings/archive.gpg /tmp/initrd-amd64/usr/share/keyrings/archive.gpg
# cd /tmp/initrd-amd64 && find . | cpio -H newc -o >/tmp/initrd
# gzip /tmp/initrd

Greetings,

Pascal Vandeputte


Reply to: