Thanks. But I got the following error message after

sudo apt-get install -f

Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main grub-common 
1.98-1ubuntu12 [1,627kB]
Fetched 1,627kB in 1s (1,058kB/s)      
Selecting previously deselected package grub-common.
(Reading database ... 343861 files and directories currently installed.)
Preparing to replace grub-common 1.98-1ubuntu7 (using 
.../grub-common_1.98-1ubuntu12_amd64.deb) ...
/etc/init.d/grub-common: 1: Syntax error: redirection unexpected
invoke-rc.d: initscript grub-common, action "stop" failed.
dpkg: warning: old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
/etc/init.d/grub-common: 1: Syntax error: redirection unexpected
invoke-rc.d: initscript grub-common, action "stop" failed.
dpkg: error processing 
/var/cache/apt/archives/grub-common_1.98-1ubuntu12_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
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: redirection unexpected
invoke-rc.d: initscript grub-common, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/grub-common_1.98-1ubuntu12_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


--- On Wed, 11/30/11, Joseph Salisbury <[email protected]> wrote:

> From: Joseph Salisbury <[email protected]>
> Subject: [Bug 894525] Re: package linux-image-2.6.32-35-generic 2.6.32-35.78 
> failed to install/upgrade: ErrorMessage: subprocess installed 
> post-installation script returned error exit status 2
> To: [email protected]
> Date: Wednesday, November 30, 2011, 1:26 PM
> It sounds like the deb file is
> corrupt. You may need to run the
> following:
> 
> sudo apt-get install -f
> sudo apt-get clean
> sudo apt-get update
> 
> Then re-install the package.
> 
> 
> ** Changed in: linux (Ubuntu)
>        Status: Confirmed =>
> Invalid
> 
> -- 
> You received this bug notification because you are
> subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/894525
> 
> Title:
>   package linux-image-2.6.32-35-generic 2.6.32-35.78
> failed to
>   install/upgrade: ErrorMessage: subprocess installed
> post-installation
>   script returned error exit status 2
> 
> Status in “linux” package in Ubuntu:
>   Invalid
> 
> Bug description:
>   There are following error messages:
> 
>   E:
> /var/cache/apt/archives/grub-common_1.98-1ubuntu12_amd64.deb:
>   subprocess new pre-removal script returned error
> exit status 2
> 
>   E: grub-common: Package is in a very bad
> inconsistent state - you
>   should  reinstall it before attempting a
> removal.
> 
>   ProblemType: Package
>   DistroRelease: Ubuntu 10.04
>   Package: linux-image-2.6.32-35-generic 2.6.32-35.78
>   Regression: No
>   Reproducible: No
>   ProcVersionSignature: Ubuntu 2.6.32-35.78-generic
> 2.6.32.46+drm33.20
>   Uname: Linux 2.6.32-35-generic x86_64
>   NonfreeKernelModules: fglrx
>   AlsaVersion: Advanced Linux Sound Architecture
> Driver Version 1.0.21.
>   Architecture: amd64
>   ArecordDevices:
>    **** List of CAPTURE Hardware Devices
> ****
>    card 0: NVidia [HDA NVidia], device 0:
> ALC662 rev1 Analog [ALC662 rev1 Analog]
>      Subdevices: 1/1
>      Subdevice #0: subdevice #0
>   AudioDevicesInUse:
>    USER        PID
> ACCESS COMMAND
>    /dev/snd/controlC0:  kjamd 
>     1659 F.... pulseaudio
>    /dev/snd/controlC1:  kjamd 
>     1659 F.... pulseaudio
>   CRDA: Error: [Errno 2] No such file or directory
>   Card0.Amixer.info:
>    Card hw:0 'NVidia'/'HDA NVidia at
> 0xfe028000 irq 23'
>      Mixer name    :
> 'Realtek ALC662 rev1'
>      Components    :
> 'HDA:10ec0662,10192609,00100101'
>      Controls      : 28
>      Simple ctrls  : 16
>   Card1.Amixer.info:
>    Card hw:1 'Speaker'/'Logitech Logitech
> USB Speaker at usb-0000:00:02.0-1, full speed'
>      Mixer name    :
> 'USB Mixer'
>      Components    :
> 'USB046d:0a04'
>      Controls      : 6
>      Simple ctrls  : 5
>   Card2.Amixer.info:
>    Card hw:2 'HDMI'/'HDA ATI HDMI at
> 0xfdcfc000 irq 16'
>      Mixer name    :
> 'ATI R6xx HDMI'
>      Components    :
> 'HDA:1002aa01,00aa0100,00100000'
>      Controls      : 4
>      Simple ctrls  : 1
>   Card2.Amixer.values:
>    Simple mixer control 'IEC958',0
>      Capabilities: pswitch
> pswitch-joined penum
>      Playback channels: Mono
>      Mono: Playback [on]
>   Date: Thu Nov 24 10:37:00 2011
>   ErrorMessage: ErrorMessage: subprocess installed
> post-installation script returned error exit status 2
>   Frequency: Once a day.
>   HibernationDevice:
> RESUME=UUID=7f33266b-b4e6-4119-8b94-4cde06939eaa
>   Lsusb:
>    Bus 002 Device 002: ID 046d:0a04
> Logitech, Inc. V20 portable speakers (USB powered)
>    Bus 002 Device 001: ID 1d6b:0001 Linux
> Foundation 1.1 root hub
>    Bus 001 Device 001: ID 1d6b:0002 Linux
> Foundation 2.0 root hub
>   MachineType: Unknow Unknow
>   ProcCmdLine:
> root=UUID=9d8962c7-68b6-4f9b-90f9-94513166be66 ro 
> single
>   RelatedPackageVersions: linux-firmware 1.34.7
>   RfKill:
>    0: phy0: Wireless LAN
>        Soft blocked: no
>        Hard blocked: no
>   SourcePackage: linux
>   Title: package linux-image-2.6.32-35-generic
> 2.6.32-35.78 failed to install/upgrade: ErrorMessage:
> subprocess installed post-installation script returned error
> exit status 2
>   WpaSupplicantLog:
>    
>   dmi.bios.date: 05/26/2008
>   dmi.bios.vendor: Phoenix Technologies, LTD
>   dmi.bios.version: 6.00 PG
>   dmi.board.name: NF-MCP61
>   dmi.board.version: Unknow
>   dmi.chassis.asset.tag: Unknow
>   dmi.chassis.type: 3
>   dmi.chassis.vendor: Unknow
>   dmi.chassis.version: Unknow
>   dmi.modalias:
> dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd05/26/2008:svnUnknow:pnUnknow:pvrUnknow:rvn:rnNF-MCP61:rvrUnknow:cvnUnknow:ct3:cvrUnknow:
>   dmi.product.name: Unknow
>   dmi.product.version: Unknow
>   dmi.sys.vendor: Unknow
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/894525/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/894525

Title:
  package linux-image-2.6.32-35-generic 2.6.32-35.78 failed to
  install/upgrade: ErrorMessage: subprocess installed post-installation
  script returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/894525/+subscriptions

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

Reply via email to