Hi JF ,

How to corrected the flash-kernel-installer.postinst script by hand,

could you post the steps ..

Thanks for help
Kenny

On Thu, Jul 30, 2009 at 8:45 AM, JF Straeten <[email protected]> wrote:

>
> Hi,
>
> I have some more news on this.
>
> On Wed, Jul 29, 2009 at 03:18:23PM +0200, JF Straeten wrote:
>
> > Everything went fine, till the flash-kernel process which failed.
> >
> > The relevant lines from the log are :
> >
> > Jul 29 09:44:16 in-target: Paramétrage de flash-kernel (2.21) ...
> > Jul 29 09:44:17 main-menu[2196]: (process:4978):
> /var/lib/dpkg/info/flash-kernel-installer.postinst:
> > Jul 29 09:44:17 main-menu[2196]: (process:4978): line 141:
> > Jul 29 09:44:17 main-menu[2196]: (process:4978): syntax error: ")"
> unexpected (expecting ";;")
> > Jul 29 09:44:17 main-menu[2196]: (process:4978):
> > Jul 29 09:44:17 main-menu[2196]: WARNING **: Configuring
> 'flash-kernel-installer' failed with error code 2
> > Jul 29 09:44:17 main-menu[2196]: WARNING **: Menu item
> 'flash-kernel-installer' failed.
>
>
> Finaly, I got the installation to finish.
>
> I've corrected the flash-kernel-installer.postinst script by hand,
> moved flash-kernel back into his place, and relaunched the flash
> kernel menu item.
>
> D-i has then finished his work.
>
> But after the restart, the machine doesn't boot :-(.
>
> It stops after uncompressing the kernel.
>
> I've saved the install logs if they are of any value for debugging,
> here :
>
> ftp://wouterV:[email protected]/install-logs-ss4000e.tgz
>
> md5sum af57955c141441d94ef11aa0f7924d46
>
>
> > And the culprit line (141) is a typo, as you will see in this excerp
> > from the postinst script :
> >
> > case "$machine" in
> >
> >      [...snip...]
> >
> >       "Thecus N2100" | "Thecus N4100")
> >               in-target update-initramfs -u || true
> >       ;;
> >       "QNAP TS-109/TS-209" | "QNAP TS-119/TS-219" | "QNAP TS-409")
> >               in-target update-initramfs -u || true
> >               if ! apt-install uboot-mkimage; then
> >                       error "apt-install uboot-mkimage failed"
> >               fi
> > 141-->        "Lanner EM7210")
> >               in-target update-initramfs -u || true
> >       ;;
> > esac
> >
> > The double semi-colon « ;; » to close the QNAP case item is missing...
>
> The typo is in the flash-kernel-installer package. (flash-kernel
> hasn't any postinst script.)
>
>
> Does someone have any idea the get the kernel in place ?
>
> TIA for any help,
>
>
> --
>
> J.-F. STRAETEN
>
> ---
> Mutt 1.5.18 - Debian GNU/Linux
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact
> [email protected]
>
>


-- 
Kenny Kwok

Reply via email to