Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-08-01 Thread Steve McIntyre
On Sat, Jul 31, 2010 at 01:07:18PM +0200, Frans Pop wrote:
tags 590993 patch
thanks

 It would be better if debian-cd was modified to only include the symlink
 for the suite actually specified in the Release file.

The attached patch (tested) implements this.

Cool, thanks. Applying it now.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
There's no sensation to compare with this
Suspended animation, A state of bliss




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-31 Thread Rainer Glaschick


Frans Pop wrote:
 reassign 590993 debian-cd
 severity 590993 normal
 thanks
 
 Since you are trying something that's not really supported, this is 
 certainly *not* a grave issue. After all, a CD image is not a mirror 
 even if both contain a repository.
 
 It is correct that the error occurs because CD images have symlinks for all 
 suites to the release (codename) included on the CD. This is mostly for 
 historic reasons and no longer has any purpose (since current versions of 
 the installer select by codename instead of suite).
 
 In a bit more detail. The latest versions of choose-mirror (including the 
 current Etch and Lenny versions) perform validity checks on the Release 
 files and will reject a mirror as broken if the Release file under a 
 suite symlink lists a different suite inside the Release file.
 
 It would be better if debian-cd was modified to only include the symlink 
 for the suite actually specified in the Release file. Reassigning 
 accordingly.
 
 Looks like my whole attempt to use the ISO image as netboot installation
 source is futile, as the files are not signed on the CD,
 so netinst gives up in the next step.
 
 This can be worked around by telling the installer to ignore the 
 signatures. See the installation guide for details.
 
 Cheers,
 FJP

-- 
Rainer Glaschick
email: rai...@glaschick-pb.de
tel: +49 5254 6238
Paderborn, Germany
Persönliche nichtöffentliche Nachricht / personal private message




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-31 Thread Rainer Glaschick
Please excuse that I have sent back the original message to all;
this was not intended and a mistake that should not have happened.

And thank you, I now understand the case.

Rainer

Frans Pop wrote:
 reassign 590993 debian-cd
 severity 590993 normal
 thanks
 
 Since you are trying something that's not really supported, this is 
 certainly *not* a grave issue. After all, a CD image is not a mirror 
 even if both contain a repository.
 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-31 Thread Frans Pop
tags 590993 patch
thanks

 It would be better if debian-cd was modified to only include the symlink
 for the suite actually specified in the Release file.

The attached patch (tested) implements this.

diff --git a/tools/start_new_disc b/tools/start_new_disc
index cf00344..779f242 100755
--- a/tools/start_new_disc
+++ b/tools/start_new_disc
@@ -66,9 +66,6 @@ fi
 
 if [ ! -d $CDDIR/dists/$CODENAME ] ; then
 mkdir -p $CDDIR/dists/$CODENAME
-for name in stable unstable frozen testing; do
-	ln -sf $CODENAME $CDDIR/dists/$name
-done
 fi
 
 # Commodity link for tools which want local in dists/local/local ...
@@ -336,6 +333,12 @@ if [ -e $MIRROR/dists/$CODENAME/Release ] ; then
 	sed -i -e s/^Suite: .*$/Suite: stable/ dists/$CODENAME/Release
 	sed -i -e s/^Description: .*$/Description: Debian $DEBVERSION Released $RDATE/ dists/$CODENAME/Release
 	fi
+
+	# Create the suite symlink
+	SUITE=$(sed -n /^Suite:/ s/.*: //p dists/$CODENAME/Release)
+	if [ -n $SUITE ]  [ x$SUITE != x$CODENAME ]; then
+		ln -sf $CODENAME dists/$SUITE
+	fi
 else
 	echo ERROR: Release file ($MIRROR/dists/$CODENAME/Release) is missing !
 	exit 1


Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-30 Thread Rainer Glaschick
Package: installation-reports
Severity: grave
Justification: renders package unusable



-- Package-specific info:

Boot method: network
Image version: 
http://ftp.nl.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/debian-installer/i386/
Date: Date and time of the install

Machine: VMware
Partitions: not yet reached


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O]
Detect CD:  [ ]
Load installer modules: [ ]
Detect hard drives: [ ]
Partition hard drives:  [ ]
Install base system:[ ]
Clock/timezone setup:   [ ]
User/password setup:[ ]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:[E]

Comments/Problems:

Tried to do a netboot installation using the 5.05 xfce+lxde image
(obtained from 
http://cdimage.debian.org/debian-cd/5.0.5/i386/bt-cd/debian-505-i386-xfce+lxde-CD-1.iso.torrent)
as installation medium by loop-mounting the iso image and providing it locally 
as http://192.168.212.1/debian/


This is refused as invalid (see tail of syslog).
 
Output on running wget -q http://192.168.212.1/debian//dists/testing/Release -O 
- | grep -E '^(Suite|Codename):'
Suite: stable
 
Output on running wget -q http://ftp.debian.org/debian//dists/testing/Release 
-O - | grep -E '^(Suite|Codename):'
Suite: testing
 
Seems that linking all Release files to the same on the xfce+lxed installation 
CD is not appropriate.
 
Removing the linked releases solves the problem.
 
So this is finally a problem caused of the builders of the xfce+lxde image;
however, the distribution selection is very picky and refuses installation even 
if there
are still vaild Release files.
 
Because it stuck me in the installation for hours, I kept the severity as grave.
 
(Tried this already in 5.04 and gave up then).
--
Syslog output:

Jul 30 20:59:04 syslogd started: BusyBox v1.10.2
Jul 30 20:59:04 kernel: klogd started: BusyBox v1.10.2 (Debian 1:1.10.2-2)
Jul 30 20:59:04 kernel: [0.00] Initializing cgroup subsys cpu
Jul 30 20:59:04 kernel: [0.00] Linux version 2.6.26-2-486 (Debian 
2.6.26-23) (da...@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 
4.1.2-25)) #1 Sat Jun 12 02:15:32 UTC 2010
. (skipped) 
Jul 30 21:01:24 anna-install: Queueing udeb apt-mirror-setup for later 
installation
Jul 30 21:01:40 choose-mirror[2236]: DEBUG: command: wget -q 
http://192.168.212.1/debian//dists/oldstable/Release -O - | grep -E 
'^(Suite|Codename):'
Jul 30 21:01:40 choose-mirror[2236]: DEBUG: command: wget -q 
http://192.168.212.1/debian//dists/stable/Release -O - | grep -E 
'^(Suite|Codename):'
Jul 30 21:01:40 choose-mirror[2236]: DEBUG: command: wget -q 
http://192.168.212.1/debian//dists/lenny/Release -O - | grep -E 
'^(Suite|Codename):'
Jul 30 21:01:40 choose-mirror[2236]: DEBUG: command: wget -q 
http://192.168.212.1/debian//dists/testing/Release -O - | grep -E 
'^(Suite|Codename):'
Jul 30 21:01:40 choose-mirror[2236]: WARNING **: broken mirror: invalid Suite 
or Codename in Release file for testing
Jul 30 21:01:48 main-menu[1072]: (process:2228): wget: server returned error: 
HTTP/1.1 404 Not Found
Jul 30 21:01:48 main-menu[1072]: INFO: Menu item 'choose-mirror' succeeded but 
requested to be left unconfigured.
Jul 30 21:01:48 main-menu[1072]: DEBUG: resolver (libc6-udeb): package doesn't 
exist (ignored)
Jul 30 21:01:48 main-menu[1072]: DEBUG: resolver (libc6): package doesn't exist 
(ignored)
Jul 30 21:01:51 main-menu[1072]: INFO: Falling back to the package description 
for auto-install
Jul 30 21:01:51 main-menu[1072]: INFO: Falling back to the package description 
for ai-choosers
Jul 30 21:01:51 main-menu[1072]: INFO: Menu item 'save-logs' selected



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-30 Thread Rainer Glaschick
Looks like my whole attempt to use the ISO image as netboot installation source
is futile, as the files are not signed on the CD,
so netinst gives up in the next step.

Rainer



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#590993: installation-reports: netboot install report broken mirror if installation CD is used as mirror

2010-07-30 Thread Frans Pop
reassign 590993 debian-cd
severity 590993 normal
thanks

Since you are trying something that's not really supported, this is 
certainly *not* a grave issue. After all, a CD image is not a mirror 
even if both contain a repository.

It is correct that the error occurs because CD images have symlinks for all 
suites to the release (codename) included on the CD. This is mostly for 
historic reasons and no longer has any purpose (since current versions of 
the installer select by codename instead of suite).

In a bit more detail. The latest versions of choose-mirror (including the 
current Etch and Lenny versions) perform validity checks on the Release 
files and will reject a mirror as broken if the Release file under a 
suite symlink lists a different suite inside the Release file.

It would be better if debian-cd was modified to only include the symlink 
for the suite actually specified in the Release file. Reassigning 
accordingly.

 Looks like my whole attempt to use the ISO image as netboot installation
 source is futile, as the files are not signed on the CD,
 so netinst gives up in the next step.

This can be worked around by telling the installer to ignore the 
signatures. See the installation guide for details.

Cheers,
FJP



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org