Re: Upgrade script for libata transition
- To: Ben Hutchings <ben@decadent.org.uk>
- Cc: Jurij Smakov <jurij@wooyd.org>, grub@packages.debian.org, grub2@packages.debian.org, lilo@packages.debian.org, silo@packages.debian.org, quik@packages.debian.org, elilo@packages.debian.org, palo@packages.debian.org, yaboot@packages.debian.org, arcboot@packages.debian.org, extlinux@packages.debian.org, aboot@packages.debian.org, Debian kernel team <debian-kernel@lists.debian.org>
- Subject: Re: Upgrade script for libata transition
- From: Jurij Smakov <jurij@wooyd.org>
- Date: Tue, 16 Feb 2010 22:29:12 +0000
- Message-id: <20100216222912.GA2757@droopy.oc.cox.net>
- In-reply-to: <1266274319.10567.522.camel@localhost>
- References: <20091229120602.GY2721@decadent.org.uk> <1262904596.2480.65.camel@localhost> <1265952484.2227.98.camel@localhost> <20100215181357.GA5632@droopy.oc.cox.net> <1266274319.10567.522.camel@localhost>
On Mon, Feb 15, 2010 at 10:51:59PM +0000, Ben Hutchings wrote:
> Oops, I'm sure I had that working at one point. Please try
> <http://people.debian.org/~benh/linux-2.6_2.6.32-8a~test1.dsc>.
Here's what happens upon installation of this package:
jurij@debian:~/linux$ sudo dpkg -i linux-base_2.6.32-8a~test1_all.deb
Selecting previously deselected package linux-base.
(Reading database ... 64420 files and directories currently
installed.)
Unpacking linux-base (from linux-base_2.6.32-8a~test1_all.deb) ...
Setting up linux-base (2.6.32-8a~test1) ...
Error parsing silo config file /etc/silo.conf
Error setting debconf substitutions in linux-base/disk-id-manual:
Unsupported command "config" (full line was "Config file error: Syntax
error near line 2 in file /etc/silo.conf") received from confmodule.
at /var/lib/dpkg/info/linux-base.postinst line 1406, <STDIN> line 11.
dpkg: error processing linux-base (--install):
subprocess installed post-installation script returned error exit
status 9
Errors were encountered while processing:
linux-base
Trying to install it again succeeds, I guess because it skips some
already-asked debconf question, as it does not try to modify
/etc/silo.conf the second time. The new silo.conf looks like this:
# root = /dev/sdb2
root = UUID=c6cd1add-df06-4bea-a511-76a0802d74b0
partition=1
default=Linux
read-only
timeout=100
image=/vmlinuz
label=Linux
initrd=/initrd.img
image=/vmlinuz.old
label=LinuxOLD
initrd=/initrd.img.old
which, quite predictably, is not understood by silo:
jurij@debian:~/linux$ sudo silo -f
Config file error: Syntax error near line 2 in file /etc/silo.conf
Error parsing silo config file /etc/silo.conf
I glanced through the SILO code and have not find any evidence that
it supports device identification by UUID. Do you have any reason to
believe that it should work, because I fail to see one.
Best regards,
--
Jurij Smakov jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
Reply to: