Have you tried the steps listed here

    " http://ubuntuforums.org/archive/index.php/t-1149675.html "


Hope, this helps.


Regards,
Karthik

On Tue, Nov 10, 2009 at 6:02 PM, JAGANADH G <[email protected]> wrote:

> Dear all
> I upgraded my machine from jaunty to karamic kola. Now Iam facing some
> strange problems. Sometimes the system goes to *stuck* mode. At that time
> mouse will be moving  but keyboard is not working.
>
> If I try to install some packages I am getting the following error. For
> this
> I tried all the solutions given in the Ubuntu forum. Still I am getting the
> below given error. Any solution
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> vim is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
> 8 not fully installed or removed.
> After this operation, 0B of additional disk space will be used.
> Setting up linux-image-2.6.31-15-generic (2.6.31-15.49) ...
> Running depmod.
> update-initramfs: Generating /boot/initrd.img-2.6.31-15-generic
> Running postinst hook script /usr/sbin/update-grub.
> Generating grub.cfg ...
> /etc/grub.d/00_header: 1: Syntax error: word unexpected (expecting ")")
> User postinst hook script [/usr/sbin/update-grub] exited with value 2
> dpkg: error processing linux-image-2.6.31-15-generic (--configure):
>  subprocess installed post-installation script returned error exit status 2
> Setting up grub-common (1.97~beta4-1ubuntu4) ...
> update-rc.d: warning: /etc/init.d/grub-common missing LSB information
> update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
> /etc/init.d/grub-common: 1: Syntax error: "(" unexpected
> invoke-rc.d: initscript grub-common, action "start" failed.
> dpkg: error processing grub-common (--configure):
>  subprocess installed post-installation script returned error exit status 2
> dpkg: dependency problems prevent configuration of grub-pc:
>  grub-pc depends on grub-common (= 1.97~beta4-1ubuntu4); however:
>  Package grub-common is not configured yet.
> dpkg: error processing grub-pc (--configure):
>  dependency problems - leaving unconfigured
> Setting up libkate1 (0.3.3-1) ...
> No apport report written because the error message indicates its a followup
> error from a previous failure.
>                          dpkg (subprocess): unable to execute installed
> post-installation script: Exec format error
> dpkg: error processing libkate1 (--configure):
>  subprocess installed post-installation script returned error exit status 2
> Setting up libmagick++2 (7:6.5.1.0-1.1ubuntu3) ...
> No apport report written because MaxReports is reached already
>                                                              dpkg
> (subprocess): unable to execute installed post-installation script: Exec
> format error
> dpkg: error processing libmagick++2 (--configure):
>  subprocess installed post-installation script returned error exit status 2
> dpkg: dependency problems prevent configuration of linux-image-generic:
>  linux-image-generic depends on linux-image-2.6.31-15-generic; however:
>  Package linux-image-2.6.31-15-generic is not configured yet.
> dpkg: error processing linux-image-generic (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of linux-generic:
>  linux-generic depends on linux-image-generic (= 2.6.31.15.28); however:
>  Package linux-image-generic is not configured yet.
> dpkg: error processing linux-generic (--configure):
>  dependency problems - leaving unconfigured
> Setting up libass3 (0.9.6-1) ...
> No apport report written because MaxReports is reached already
>                                                              No apport
> report written because MaxReports is reached already
>                                            No apport report written because
> MaxReports is reached already
>                          dpkg (subprocess): unable to execute installed
> post-installation script: Exec format error
> dpkg: error processing libass3 (--configure):
>  subprocess installed post-installation script returned error exit status 2
> No apport report written because MaxReports is reached already
>                                                              Errors were
> encountered while processing:
>  linux-image-2.6.31-15-generic
>  grub-common
>  grub-pc
>  libkate1
>  libmagick++2
>  linux-image-generic
>  linux-generic
>  libass3
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> --
> **********************************
> JAGANADH G
> http://jaganadhg.freeflux.net/blog
> _______________________________________________
> To unsubscribe, email [email protected] with
> "unsubscribe <password> <address>"
> in the subject or body of the message.
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to