reassign 369448 mkvmlinuz thanks On Mon, May 29, 2006 at 05:16:15PM -0400, Michael Furr wrote: > Package: linux-image-2.6.16-2-powerpc > Severity: grave > Justification: renders package unusable > > I recently started booting my TiBook into linux again after not using it > for a while. It was running 2.6.8 and after running into the well-known > udev problems, I now have a self built 2.6.16 kernel and the lastest udev > running. However, when I now try to install the stock Debian kernel, it > fails: > > [EMAIL PROTECTED]:~# aptitude install linux-image-2.6.16-2-powerpc > Reading package lists... Done > Building dependency tree... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > Building tag database... Done > The following NEW packages will be installed: > linux-image-2.6.16-2-powerpc > 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > Need to get 0B/15.7MB of archives. After unpacking 48.7MB will be used. > Writing extended state information... Done > Preconfiguring packages ... > (Reading database ... 94739 files and directories currently installed.) > Unpacking linux-image-2.6.16-2-powerpc (from > .../linux-image-2.6.16-2-powerpc_2.6.16-14_powerpc.deb) ... > Ok, Aborting > dpkg: error processing > /var/cache/apt/archives/linux-image-2.6.16-2-powerpc_2.6.16-14_powerpc.deb > (--unpack): > subprocess pre-installation script returned error exit status 1 > Examining /etc/kernel/postrm.d . > run-parts: executing /etc/kernel/postrm.d/mkvmlinuz > Errors were encountered while processing: > > /var/cache/apt/archives/linux-image-2.6.16-2-powerpc_2.6.16-14_powerpc.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > A package failed to install. Trying to recover: > > I've tried looking through the preinst, but I'm not sure what is going > wrong since there isn't much in the way of an error message. Since it > seems to start by setting up the initrd, I tried both initramfs-tools and > yaird (after setting the ramdisk option in /etc/kernel-img.conf) just in > case. However, I still get the same error. > > Any ideas?
You are on a powermac system, and as thus, you should have goten the default reply of yaboot to the mkvmlinuz question. Please do a : dpkg-reconfigure mkvmlinuz and make sure you chose yaboot and not mkvmlinuz. Then, please add a set -x to the front of /etc/kernel/postrm.d/mkvmlinuz, and do a : dpkg-reconfigure linux-image-2.6.16-2-powerpc and send us the output of this. This should just notice that you have yaboot configured, and skip any mkvmlinuz invocation, and this script has not really changed since like forever, so i don't understand what went wrong here, apart maybe some mis-detection of the subarch, which would have the system default to mkvmlinuz instead of yaboot. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]