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

'Releases' is needed by debootstrap



retag 100623 normal 
thanks

hi

I have a Debian mirror (of woody) here, that I manage with apt-move;
 I made some CDs from my mirror (using debian-cd);
today I wanted to install a PC using my CDs and/or my mirror

it happens that 'debootstrap' (that is inside the latest debian boot disks),
when it  installs the base system from a medium, it wants to find a valid
'Release' file in that medium

so I have tried to install the base system from my CDs and also 
from my mirror, with no result

to be able to use my mirror, I have had to tweak into the
debian root disk; to be more precise,
I have downloaded the 'Release' files from official sites;
 and, around line 138 in 
/usr/lib/debootstrap/functions there is this check
---
 if [ "$md5" = "" ] || check_md5 $dest $md5 $siz; then
...
---
that is performed using the md5sum that is in the 'Release' file;
once I disabled it, I was able to use my mirror to install.

So: I am retagging bug 100623, from 'wishlist' to 'normal':
if indeed 'Release' is needed to install Debian, then
apt-move should generate it

On the other hand, it would be nice if 'debootstrap' 
would let people use an unofficial mirror or CDs
which does not contain  a 'Release' file;
moreover, an Unofficial CD will never contain a 
valid 'Release.gpg' file; so there is no way that 
'debootstrap' may check if Unofficial CD is to be trusted
(unless this CD contains the same Release and Packages.gz files as are in
official mirrors).

If there is no 'Release' file, then 'debootstrap' 
may print a warning, and warn the user that the 'Packages'
files could not be checked, and let the user choose if 
s/he wants to go on. 

a.

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Renato Carotone)



Reply to: