package linux-image-3.5.0-18-generic (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

Bug #1082688 reported by Joe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I was trying to upgrade from 10.04 to 12.10. I initiated the following commands:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

Until there were no more packages to install. After rebooting the computer told me that there was a new release, and I should do a

sudo do-release-upgrade

So I did and I think I had to execute this twice. The final time I did this I got an error which I've attached via the commandline prompt to report a bug.

I have no issue with rebuilding my machine from scratch, but I am reporting this bug in the event the community finds the information useful.

Thanks
Joe

ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: linux-image-3.5.0-18-generic (not installed)
ProcVersionSignature: Ubuntu 3.2.0-33.52-generic 3.2.31
Uname: Linux 3.2.0-33-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/dsp3', '/dev/dsp2', '/dev/dsp1', '/dev/dsp', '/dev/snd/controlC0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D2c', '/dev/snd/pcmC0D3c', '/dev/snd/pcmC0D4p', '/dev/snd/by-path', '/dev/snd/controlC29', '/dev/snd/seq', '/dev/snd/timer', '/dev/sequencer'] failed with exit code 1:
CRDA:
 country CN:
  (2402 - 2482 @ 40), (N/A, 20)
  (5735 - 5835 @ 40), (N/A, 30)
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
Card29.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card29.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
Date: Sat Nov 24 09:49:01 2012
ErrorMessage: subprocess new pre-installation script returned error exit status 1
HibernationDevice: RESUME=UUID=15168dde-1e47-4ca5-8091-28349d78ac41
InstallationDate: Installed on 2012-11-23 (0 days ago)
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release i386 (20110426)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: IBM 183222U
MarkForUpload: True
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-33-generic root=/dev/mapper/hostname-root ro quiet
RelatedPackageVersions: grub-pc 2.00-7ubuntu11
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
Title: package linux-image-3.5.0-18-generic (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: Upgraded to quantal on 2012-11-24 (0 days ago)
dmi.bios.date: 06/18/2007
dmi.bios.vendor: IBM
dmi.bios.version: 1RETDRWW (3.23 )
dmi.board.name: 183222U
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr1RETDRWW(3.23):bd06/18/2007:svnIBM:pn183222U:pvrThinkPadR50p:rvnIBM:rn183222U:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 183222U
dmi.product.version: ThinkPad R50p
dmi.sys.vendor: IBM

Revision history for this message
Joe (josephpford) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joe (josephpford) wrote :

Please see this command/output. I'm guessing this may be related, no?

I am running this on a IBM ThinkPad R50p which has a Intel Pentium M 1.6 processor in it, which I KNOW does not work with 12.10 because of the non-pae bug.

Again, I don't care if this bug gets fixed or not, just adding information that may be useful for the community.

jford@ubuntu:/$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gcc-4.6-base libapt-inst1.4 libboost-iostreams1.46.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-image-3.5.0-18-generic
Suggested packages:
  fdutils linux-doc-3.5.0 linux-source-3.5.0 linux-tools
The following NEW packages will be installed:
  linux-image-3.5.0-18-generic
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/11.5 MB of archives.
After this operation, 25.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 72899 files and directories currently installed.)
Unpacking linux-image-3.5.0-18-generic (from .../linux-image-3.5.0-18-generic_3.5.0-18.29_i386.deb) ...
This kernel does not support a non-PAE CPU.
dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-18-generic_3.5.0-18.29_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-18-generic /boot/vmlinuz-3.5.0-18-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-18-generic /boot/vmlinuz-3.5.0-18-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.5.0-18-generic_3.5.0-18.29_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
jford@ubuntu:/$

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.