Upgrade script for libata transition

Jurij Smakov jurij at wooyd.org
Tue Feb 16 22:29:12 UTC 2010


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 at 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 at 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 at wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC



More information about the Pkg-grub-devel mailing list