severity 358397 important stop hello Manoj,
On Wed, 22 Mar 2006, Manoj Srivastava wrote: > The package fails to install (failure to check if the image is > modifiable), is the first part. Failure to install makes is > unuseable. ro /boot is not a standard debian config. initramfs-tools need to error out or full /boot would allow the linux-image to stay configured without having a correct initrd.img > ,---- > | Errors were encountered while processing: > | initramfs-tools > | E: Sub-process /usr/bin/dpkg returned an error code (1) > | A package failed to install. Trying to recover: > | Setting up initramfs-tools (0.57b) ... > | touch: cannot touch `/boot/initrd.img-2.6.15.4-skas3-v9-pre8': Read-only > file system > | /usr/sbin/mkinitramfs: line 218: /boot/initrd.img-2.6.15.4-skas3-v9-pre8: > Read-only file system > | cpio: write error: Broken pipe > | dpkg: error processing initramfs-tools (--configure): > | subprocess post-installation script returned error exit status 1 > | Errors were encountered while processing: > | initramfs-tools > `---- > > The init ram fs was not created using initramfs-tools, and yet > it tries to recreate the initramfs on upgrade, without asking the > admin, which is an problem in its own right: Why is automated > regeneration of the initramfs being done? If I want to, I should be > able to refresh the initrd when I wish it should be updated. ok so an upgrade of initramfs-tools tried to alter an yaird generated initramfs. i'm sorry but i can't reproduce that: $ egrep ramdisk /etc/kernel-img.conf ramdisk = /usr/sbin/mkinitrd.yaird /usr/sbin/mkinitrd $ sudo dpkg-reconfigure linux-image-2.6.16-1-686 Running depmod. Finding valid ramdisk creators. Using /usr/sbin/mkinitrd.yaird to build the ramdisk. .. $ sudo dpkg -i ../initramfs-tools_0.58_all.deb (Reading database ... 121726 files and directories currently installed.) Preparing to replace initramfs-tools 0.57 (using .../initramfs-tools_0.58_all.deb) ... Unpacking replacement initramfs-tools ... Setting up initramfs-tools (0.58) ... /boot/initrd.img-2.6.16-1-686 has been altered. Cannot update. -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]