package linux-headers-4.2.0-17 4.2.0-17.21 failed to install/upgrade: package linux-headers-4.2.0-17 is not ready for configuration cannot configure (current status 'half-installed')

Bug #1514959 reported by Irfan Sopiyan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

This is because my mistake, while process dpkg running I force stop that. so this what I get... unfortunately I do not how to solve that, even I try `sudo apt-get install --reinstall linux-image-`uname -r` just this is what I've got

 Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 0 B/26,4 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 324990 files and directories currently installed.)
Preparing to unpack .../linux-image-4.2.0-17-generic_4.2.0-17.21_i386.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic
Done.
Unpacking linux-image-4.2.0-17-generic (4.2.0-17.21) over (4.2.0-17.21) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic
dpkg: error processing package linux-headers-4.2.0-17 (--configure):
 package linux-headers-4.2.0-17 is not ready for configuration
 cannot configure (current status 'half-installed')
Setting up linux-image-4.2.0-17-generic (4.2.0-17.21) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(4.2.0-17.21 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(4.2.0-17.21 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic
update-initramfs: Generating /boot/initrd.img-4.2.0-17-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-4.2.0-17-generic
Found kernel: /boot/vmlinuz-4.2.0-16-generic
Found kernel: /boot/memtest86+.bin
Found kernel: /boot/vmlinuz-4.2.0-17-generic
Found kernel: /boot/vmlinuz-4.2.0-16-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Errors were encountered while processing:
 linux-headers-4.2.0-17
E: Sub-process /usr/bin/dpkg returned an error code (1)

just send an email to me (<email address hidden>) also can tell through gTalk/Hangouts if there's any advice to fix it.

ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: linux-headers-4.2.0-17 4.2.0-17.21
ProcVersionSignature: Ubuntu 4.2.0-17.21-generic 4.2.3
Uname: Linux 4.2.0-17-generic i686
ApportVersion: 2.19.1-0ubuntu5
AptOrdering:
 linux-headers-4.2.0-17: Configure
 NULL: ConfigurePending
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gdm 891 F.... pulseaudio
                      irfan 1385 F.... pulseaudio
Date: Wed Nov 11 01:35:35 2015
DpkgTerminalLog:
 dpkg: error processing package linux-headers-4.2.0-17 (--configure):
  package linux-headers-4.2.0-17 is not ready for configuration
  cannot configure (current status 'half-installed')
DuplicateSignature: package:linux-headers-4.2.0-17:4.2.0-17.21:package linux-headers-4.2.0-17 is not ready for configuration cannot configure (current status 'half-installed')
ErrorMessage: package linux-headers-4.2.0-17 is not ready for configuration cannot configure (current status 'half-installed')
HibernationDevice: RESUME=UUID=a64d8cc8-080b-459d-8153-8b7a2d8125c1
InstallationDate: Installed on 2015-11-06 (4 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release i386 (20151021)
MachineType: TOSHIBA T20
PackageArchitecture: all
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-17-generic root=UUID=ddebefac-3dfc-49ab-8bc0-d3fef3cf3a8b 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 N/A
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: yes
SourcePackage: linux
Title: package linux-headers-4.2.0-17 4.2.0-17.21 failed to install/upgrade: package linux-headers-4.2.0-17 is not ready for configuration cannot configure (current status 'half-installed')
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/28/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.80
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: T20
dmi.board.vendor: TOSHIBA
dmi.board.version: 1.0
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.80:bd12/28/2007:svnTOSHIBA:pnT20:pvrPSL40U-xxxxxx:rvnTOSHIBA:rnT20:rvr1.0:cvnTOSHIBA:ct10:cvr:
dmi.product.name: T20
dmi.product.version: PSL40U-xxxxxx
dmi.sys.vendor: TOSHIBA

Revision history for this message
Irfan Sopiyan (ryuffhant91) 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
Joseph Salisbury (jsalisbury) wrote :

You may need to run the following from a terminal:

sudo apt-get install -f
sudo apt-get clean
sudo apt-get update

Then re-install the package or updates.

If that does not resolve your issue, please mark the bug as "Confirmed"

Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: removed: need-duplicate-check
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.