This doesn't seem related to the depmod problem.
    First try removing the package 
linux-restricted-modules-2.6.28-15-generic.
    If the error persist when trying to remove that package and if you 
know posix shell scripting, then edit the 
/var/lib/dpkg/info/linux-restricted-modules-2.6.28-15-generic.postrm , 
put debug statements to see where it fails and try to avoid the error or 
ignore it.
    If the error persist when trying to remove that package and if you 
don't know posix shell scripting, then delete the file 
/var/lib/dpkg/info/linux-restricted-modules-2.6.28-15-generic.postrm.
    Then try to remove the package again, it should work now.
    After that, install both packages again: "sudo apt-get install 
linux-image-2.6.28-15-generic linux-restricted-modules-2.6.28-15-generic".
    Hope this helps! Good luck!


El 08/09/09 14:46, BrettMckee escribió:
> The steps that Leann posted did not work for me.
> Well, the remove and rm -rf did, but the install failed 
> again with the following.
>
> sudo apt-get install linux-image-2.6.28-15-generic
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> The following packages were automatically installed and are no longer 
> required:
>   linux-headers-2.6.28-11 linux-headers-2.6.28-11-generic
> Use 'apt-get autoremove' to remove them.
> Suggested packages:
>   fdutils linux-doc-2.6.28 linux-source-2.6.28
> The following packages will be REMOVED:
>   linux-restricted-modules-2.6.28-15-generic
> The following NEW packages will be installed:
>   linux-image-2.6.28-15-generic
> 0 upgraded, 1 newly installed, 1 to remove and 2 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/24.6MB of archives.
> After this operation, 93.4MB of additional disk space will be used.
> Do you want to continue [Y/n]? Y
> (Reading database ... 120640 files and directories currently installed.)
> Removing linux-restricted-modules-2.6.28-15-generic ...
> dpkg (subprocess): unable to execute post-removal script: Exec format error
> dpkg: error processing linux-restricted-modules-2.6.28-15-generic (--remove):
>  subprocess post-removal script returned error exit status 2
> Errors were encountered while processing:
>  linux-restricted-modules-2.6.28-15-generic
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> Any ideas?
>
> /Brett
>
>   

-- 
Ivan Baldo - [email protected] - http://ibaldo.codigolibre.net/
>From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: [email protected] - http://go.to/ibaldo

-- 
[apport] depmod crashed with SIGSEGV in strcmp()
https://bugs.launchpad.net/bugs/99547
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to