[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unable to boot linux-2.6.18.4



It means you have not installed the dependencies of the package. that it
tries to call mkvmlinuz is a hint that you are not on powermac, or that
you do something strange.

> ,----[ apt-get install linux-image-2.6.18-4-powerpc ]
> | Reading package lists... Done
> | Building dependency tree... Done
> | Suggested packages:
> |   linux-doc-2.6.18
> | The following NEW packages will be installed:
> |   linux-image-2.6.18-4-powerpc
> | 0 upgraded, 1 newly installed, 0 to remove and 513 not upgraded.
> | Need to get 0B/16.6MB of archives.
> | After unpacking 51.4MB of additional disk space will be used.
> | Preconfiguring packages ...
> | (Reading database ... 174438 files and directories currently installed.)
> | Unpacking linux-image-2.6.18-4-powerpc (from .../linux-image-2.6.18-4-powerpc_2.6.18.dfsg.1-12_powerpc.deb) ...
> | Could not find mkinitramfs-kpkg mkinitrd.yaird. at /var/lib/dpkg/tmp.ci/preinst line 238, <STDIN> line 9.
> | Ok, Aborting

Try apt-get install initramfs-tools. I wonder how you where able to
install linux-image-2.6.18-4-powerpc without it automatically pulling in
either yaird or initramfs-tools. This is a RC bug in itself if it is
confirmed. But :

It turns out that initramfs-tools does be installed already. And
i'm suprised that the error is different from previous.
(maybe due to the reinstallation of util-linux package ?)

,----[ sudo apt-get install linux-image-2.6.18-4-powerpc ]
| Reading package lists... Done
| Building dependency tree... Done
| Suggested packages:
|   linux-doc-2.6.18
| The following NEW packages will be installed:
|   linux-image-2.6.18-4-powerpc
| 0 upgraded, 1 newly installed, 0 to remove and 521 not upgraded.
| Need to get 0B/16.6MB of archives.
| After unpacking 51.4MB of additional disk space will be used.
| Preconfiguring packages ...
| (Reading database ... 176314 files and directories currently installed.)
| Unpacking linux-image-2.6.18-4-powerpc (from
.../linux-image-2.6.18-4-powerpc_2.6.18.dfsg.1-12_powerpc.deb) ...
| Ok, Aborting
| dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.18-4-powerpc_2.6.18.dfsg.1-12_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.18-4-powerpc_2.6.18.dfsg.1-12_powerpc.deb
| E: Sub-process /usr/bin/dpkg returned an error code (1)
`----

> While, my current partition table is:

[...]

This still seems like a mac. Please try :

  dpkg-reconfigure mkvmlinuz, and chose yaboot.

It already is..

--
William



Reply to: