--- Begin Message ---
Subject: d-i: fails to install grub-2
Package: d-i
Version: debian-504-i386-businesscard.iso
Severity: grave
Justification: renders package unusable
Installer used on 27/06/2010 to install squeeze, which failed to install
grub-2, then failed to revert to grub-legacy, so I used dd to copy
/dev/zero to the disc and started again, attempting to install
grub-legacy. The installer informed me that it was doing an automatic
update to grub-2, which failed. The syslog showed
Jun 28 05:49:48 grub-installer: Unrecognized option `-y'
Jun 28 05:49:48 grub-installer: error: Running 'update-grub -y' failed.
Full logs available if required.
--
Chris Bell www.chrisbell.org.uk (was www.overview.demon.co.uk)
Microsoft sells you Windows ... Linux gives you the whole house.
--- End Message ---
--- Begin Message ---
On Mon, Jun 28, 2010 at 09:25:41AM +0000, Chris Bell wrote:
> On Mon 28 Jun, Colin Watson wrote:
> > On Mon, Jun 28, 2010 at 08:12:58AM +0000, Chris Bell wrote:
> > > Installer used on 27/06/2010 to install squeeze, which failed to install
> > > grub-2, then failed to revert to grub-legacy, so I used dd to copy
> > > /dev/zero to the disc and started again, attempting to install
> > > grub-legacy. The installer informed me that it was doing an automatic
> > > update to grub-2, which failed. The syslog showed
> > > Jun 28 05:49:48 grub-installer: Unrecognized option `-y'
> > > Jun 28 05:49:48 grub-installer: error: Running 'update-grub -y' failed.
> >
> > I fixed this bug over a year ago in the squeeze installer; see the
> > changelog for grub-installer 1.38, uploaded on 12 June 2009. Are you
> > attempting to use a lenny installer to install squeeze? This won't work
> > well.
>
> As stated, I was using the 5.04 businesscard ISO which I thought
> downloaded the correct installer components.
Ah, no, in general you need to use an installer from at least as new a
release as what you're trying to install.
> I will try the weekly image unless you recommend the daily image.
I don't know which is better right now, I'm afraid.
> Please close the bug report.
Done.
Thanks,
--
Colin Watson [cjwatson@debian.org]
--- End Message ---