I tried fixing broken apt-get -f install purging, removing the package and nothing helped. I found one working solution in a forum which bypasses the broken package.
If anyone needs installing anything after this bug occured (while we are waiting for fix) you need to temporary bypass the broken package in doing the following: in the terminal open dpkg's status file gksudo gedit /var/lib/dpkg/status remove all packages containing the words linux, generic and raring then you will be able to install with apt-get as usual. Please inform me if this doesn't help. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1235166 Title: package linux-image-3.8.0-31-generic (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 Status in “linux” package in Ubuntu: Confirmed Bug description: I am not able to install linux-image-3.8.0-31 package Ubuntu 3.2.0-54.82-generic 3.2.50 ProblemType: Package DistroRelease: Ubuntu 12.10 Package: linux-image-3.8.0-31-generic (not installed) ProcVersionSignature: Ubuntu 3.2.0-54.82-generic 3.2.50 Uname: Linux 3.2.0-54-generic i686 ApportVersion: 2.6.1-0ubuntu12 Architecture: i386 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: asif 1715 F.... pulseaudio CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. CurrentDmesg: [ 40.568160] eth0: no IPv6 routers present Date: Fri Oct 4 15:20:39 2013 DpkgTerminalLog: Unpacking linux-image-3.8.0-31-generic (from .../linux-image-3.8.0-31-generic_3.8.0-31.46_i386.deb) ... This kernel does not support a non-PAE CPU. dpkg: error processing /var/cache/apt/archives/linux-image-3.8.0-31-generic_3.8.0-31.46_i386.deb (--unpack): subprocess new pre-installation script returned error exit status 1 DuplicateSignature: package:linux-image-3.8.0-31-generic:(not installed):subprocess new pre-installation script returned error exit status 1 ErrorMessage: subprocess new pre-installation script returned error exit status 1 HibernationDevice: RESUME=UUID=f2f48a0e-c815-45d6-9b01-82de8ec8a1ca InstallationDate: Installed on 2013-10-01 (2 days ago) InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012) IwConfig: lo no wireless extensions. eth0 no wireless extensions. Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet MachineType: innotek GmbH VirtualBox MarkForUpload: True ProcFB: 0 VESA VGA ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-54-generic root=UUID=e70b7b6f-bc9a-4bc0-b71f-3adf6f1df3f0 ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: grub-pc 2.00-7ubuntu11 RfKill: SourcePackage: linux Title: package linux-image-3.8.0-31-generic (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 UpgradeStatus: Upgraded to quantal on 2013-10-04 (0 days ago) dmi.bios.date: 12/01/2006 dmi.bios.vendor: innotek GmbH dmi.bios.version: VirtualBox dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2: dmi.product.name: VirtualBox dmi.product.version: 1.2 dmi.sys.vendor: innotek GmbH To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1235166/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp