Bug#703404: debootstrap wheezy Release InRelease error

2013-03-27 Thread Pierre BLONDEAU

In expert mode, you can pass this problem.

During the system base installation, the installer ask you to choice 
your kernel version.


Take a shell on the machine before answer and :
 - chroot on targer : chroot /target/ /bin/bash
 - delete list of packets : find /var/lib/apt/lists/ -type f -delete
 - update list : apt-get update

You can now choice your kernel and continue your installation.

Regards

--
--
Pierre BLONDEAU
Administrateur Systèmes  réseaux
Université de Caen
Laboratoire GREYC, Département d'informatique

tel : 02 31 56 75 42
bureau  : Campus 2, Science 3, 406
--


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



Bug#703404: debootstrap wheezy Release InRelease error

2013-03-22 Thread Christian PERRIER
Quoting Sebastian Bengtsson (sebastian.bengts...@openend.se):

 So this is my theory:
 At some point a debootstrap.invalid_dists_wheezy_InRelease is
 downloaded form the repository InRelease file. It is then renamed to
 debootstrap.invalid_dists_wheezy_Release with signature intact, and
 that is in turn renamed to
 cdn.debian.net_debian_dists_wheezy_Release.


So, in short, this bug is the same than #703146 which I should soon
fix with an upload?




signature.asc
Description: Digital signature


Bug#703404: debootstrap wheezy Release InRelease error

2013-03-22 Thread Tomas Chmiel
Apparently not the same as #703146, since I still get the same error
(busybox cannot be authenticated,
installation of the base system failed) when trying to install wheezy with
a new net-install stick, with every
mirror I try.

-- 
Tomas Chmiel
06.70.47.98.27
Développeur réseaux  Bases de Données chez Caldera Graphics (
http://www.caldera.com)
Associé - Administrateur Systèmes et Réseaux chez L'offreWeb (
http://www.loffreweb.com)
Autoentrepreneur - Administration systèmes et réseaux, Hébergements -
http://www.strasdev.com


Bug#703404: debootstrap wheezy Release InRelease error

2013-03-22 Thread Sebastian Bengtsson

On 03/22/2013 07:03 AM, Christian PERRIER wrote:

Quoting Sebastian Bengtsson (sebastian.bengts...@openend.se):


So this is my theory:
At some point a debootstrap.invalid_dists_wheezy_InRelease is
downloaded form the repository InRelease file. It is then renamed to
debootstrap.invalid_dists_wheezy_Release with signature intact, and
that is in turn renamed to
cdn.debian.net_debian_dists_wheezy_Release.


So, in short, this bug is the same than #703146 which I should soon
fix with an upload?



Well the Release/InRelease thing is an apparent error here. It might be 
that that transition causes similar problems in other parts 
(??base-installer??).


I guess I do not know that #703146 is the cause of the busybox problem 
common to reporters in this bug. It just seems likely that the 
authentication error is connected with a messed up Release file.


I am experiencing this error from the debian installer that which talks 
about base-installer and debootstrap. See relevant part of syslog attached.


Regards,
Sebastian Bengtsson
Mar 22 12:48:02 debootstrap: Setting up udev (175-7.1) ...
Mar 22 12:48:03 debootstrap: A chroot environment has been detected, udev not 
started.
Mar 22 12:48:03 debootstrap: Setting up iptables (1.4.14-3.1) ...
Mar 22 12:48:03 debootstrap: Setting up man-db (2.6.2-1) ...
Mar 22 12:48:04 debootstrap: Building database of manual pages ...
Mar 22 12:48:13 debootstrap: Setting up apt (0.9.7.8) ...
Mar 22 12:48:13 debootstrap: gpg: 
Mar 22 12:48:13 debootstrap: keyring `/etc/apt/trusted.gpg' created
Mar 22 12:48:13 debootstrap: gpg: 
Mar 22 12:48:13 debootstrap: key B98321F9: Squeeze Stable Release Key 
debian-rele...@lists.debian.org no
t changed
Mar 22 12:48:13 debootstrap: gpg: 
Mar 22 12:48:13 debootstrap: key 473041FA: Debian Archive Automatic Signing 
Key (6.0/squeeze) ftpmaster@de
bian.org not changed
Mar 22 12:48:13 debootstrap: gpg: 
Mar 22 12:48:13 debootstrap: key 65FFB764: Wheezy Stable Release Key 
debian-rele...@lists.debian.org not 
 changed
Mar 22 12:48:13 debootstrap: gpg: 
Mar 22 12:48:13 debootstrap: key 46925553: Debian Archive Automatic Signing 
Key (7.0/wheezy) ftpmaster@deb
ian.org not changed
Mar 22 12:48:13 debootstrap: gpg: 
Mar 22 12:48:13 debootstrap: Total number processed: 4
Mar 22 12:48:13 debootstrap: gpg: 
Mar 22 12:48:13 debootstrap:  unchanged: 4
Mar 22 12:48:13 debootstrap: gpg: 
Mar 22 12:48:13 debootstrap: /etc/apt//trustdb.gpg: trustdb created
Mar 22 12:48:13 debootstrap: Setting up wget (1.13.4-3) ...
Mar 22 12:48:13 debootstrap: Setting up libcwidget3 (0.5.16-3.4) ...
Mar 22 12:48:13 debootstrap: Setting up aptitude (0.6.8.2-1) ...
Mar 22 12:48:14 debootstrap: update-alternatives: 
Mar 22 12:48:14 debootstrap: using /usr/bin/aptitude-curses to provide 
/usr/bin/aptitude (aptitude) in auto 
mode
Mar 22 12:48:14 debootstrap: 
Mar 22 12:48:14 debootstrap: Setting up tasksel (3.14+nmu1) ...
Mar 22 12:48:14 debootstrap: Setting up tasksel-data (3.14+nmu1) ...
Mar 22 12:48:16 apt-install: Queueing package keyboard-configuration for later 
installation
Mar 22 12:48:16 apt-install: Queueing package console-setup for later 
installation
Mar 22 12:48:16 base-installer: Get:1 http://ftp.de.debian.org wheezy 
Release.gpg [836 B]
Mar 22 12:48:16 base-installer: Hit http://ftp.de.debian.org wheezy Release
Mar 22 12:48:16 base-installer: Ign http://ftp.de.debian.org wheezy Release
Mar 22 12:48:16 base-installer: Get:2 http://ftp.de.debian.org wheezy/main 
amd64 Packages/DiffIndex [7876 B]
Mar 22 12:48:16 base-installer: Get:3 http://ftp.de.debian.org wheezy/main 
Translation-en [3857 kB]
Mar 22 12:48:18 base-installer: Fetched 3866 kB in 1s (1952 kB/s)
Mar 22 12:48:18 base-installer: Reading package lists...
Mar 22 12:48:19 base-installer: 
Mar 22 12:48:19 base-installer: W
Mar 22 12:48:19 base-installer: : 
Mar 22 12:48:19 base-installer: GPG error: http://ftp.de.debian.org wheezy 
Release: The following signatures
 were invalid: BADSIG AED4B06F473041FA Debian Archive Automatic Signing Key 
(6.0/squeeze) ftpmaster@debian.
org
Mar 22 12:48:19 base-installer: 
Mar 22 12:48:19 in-target: Reading package lists...
Mar 22 12:48:19 in-target: 
Mar 22 12:48:19 in-target: Building dependency tree...
Mar 22 12:48:19 in-target: 
Mar 22 12:48:19 in-target: The following NEW packages will be installed:
Mar 22 12:48:19 in-target:   locales
Mar 22 12:48:19 in-target: 0 upgraded, 1 newly installed, 0 to remove and 0 not 
upgraded.
Mar 22 12:48:19 in-target: Need to get 5712 kB of archives.
Mar 22 12:48:19 in-target: After this operation, 15.5 MB of additional disk 
space will be used.
Mar 22 12:48:19 in-target: WARNING: The following packages cannot be 
authenticated!
Mar 22 12:48:19 in-target:   locales
Mar 22 12:48:19 in-target: E
Mar 22 12:48:19 in-target: : 
Mar 22 12:48:19 in-target: There are problems and -y was used without 
--force-yes
Mar 22 12:48:19 in-target: 
Mar 22 12:48:19 localechooser: error: the command 'validlocale' is not available
Mar 22 

Bug#703404: debootstrap wheezy Release InRelease error

2013-03-21 Thread Sebastian Bengtsson

This is biting me too.
I am trying to do a virt-install on a KVM host.

virt-install --os-type=linux --os-variant=debianwheezy \
--location=http://mirrors.kernel.org/debian/dists/wheezy/main/installer-amd64/ 
[...more args]


In trying to get a working system, and expanding on suggestions of Jens 
Stimpfle, I tried to prevent the Release file getting overwritten:

Executing a shell...
# chroot /target
# rm /var/lib/apt/lists/cdn.debian.net_debian_dists_wheezy_Release
# apt-get update
# chattr +i /var/lib/apt/lists/cdn.debian.net_debian_dists_wheezy_Release
Logout and then retry the Base installation step.

Now The debootstrap program exited with an error (return value 1).

From syslog:
Mar 21 21:51:32 debootstrap: mv: can't rename 
'debootstrap.invalid_dists_wheezy_Release': Operation not permitted


If I further
# chattr +i /var/lib/apt/lists/debootstrap.invalid_dists_wheezy_Release
I get in syslog:
Mar 22 00:07:49 debootstrap: mv: can't rename 
'/target/var/lib/apt/lists/debootstrap.invalid_dists_wheezy_InRelease': 
Operation not permitted


So this is my theory:
At some point a debootstrap.invalid_dists_wheezy_InRelease is downloaded 
form the repository InRelease file. It is then renamed to 
debootstrap.invalid_dists_wheezy_Release with signature intact, and that 
is in turn renamed to cdn.debian.net_debian_dists_wheezy_Release.


Seems like it could possibly be a globbing error.

(I'm suspicious about debootstrap and its 
/usr/share/debootstrap/functions but don't have enough bash-fu to 
understand it.)


Regards,
Sebastian Bengtsson


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