package linux-headers-4.4.0-64-generic (not installed) failed to install/upgrade: unable to open '/usr/src/linux-headers-4.4.0-64-generic/include/config/punit/atom/debug.h.dpkg-new': Operation not permitted

Bug #1666921 reported by Klaus Naujok
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Used:

sudo apt-get install --install-recommends xserver-xorg-hwe-16.04

now I get this error. I also upgraded kernel to 4.8.0

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-headers-4.4.0-64-generic (not installed)
ProcVersionSignature: Ubuntu 4.8.0-36.36~16.04.1-generic 4.8.11
Uname: Linux 4.8.0-36-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: klaus 5330 F.... pulseaudio
Date: Wed Feb 22 06:18:17 2017
DuplicateSignature:
 package:linux-headers-4.4.0-64-generic:(not installed)
 Unpacking linux-image-4.4.0-64-generic (4.4.0-64.85) ...
 dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb (--unpack):
  unable to create new file '/var/lib/dpkg/info/linux-image-4.4.0-64-generic.list-new': Operation not permitted
ErrorMessage: unable to open '/usr/src/linux-headers-4.4.0-64-generic/include/config/punit/atom/debug.h.dpkg-new': Operation not permitted
HibernationDevice: RESUME=UUID=e05960d5-d585-4894-8b37-5630bb33524a
InstallationDate: Installed on 2016-08-24 (181 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: Hewlett-Packard HP EliteBook 8460p
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.8.0-36-generic root=UUID=e88dbab6-fe84-42f9-a7a4-93ece9c3a770 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.02~beta2-36ubuntu3.7
SourcePackage: linux
Title: package linux-headers-4.4.0-64-generic (not installed) failed to install/upgrade: unable to open '/usr/src/linux-headers-4.4.0-64-generic/include/config/punit/atom/debug.h.dpkg-new': Operation not permitted
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/15/2013
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68SCF Ver. F.42
dmi.board.name: 161C
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 97.4D
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68SCFVer.F.42:bd07/15/2013:svnHewlett-Packard:pnHPEliteBook8460p:pvrA0001D02:rvnHewlett-Packard:rn161C:rvrKBCVersion97.4D:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 8460p
dmi.product.version: A0001D02
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Klaus Naujok (knaujok) wrote :
tags: removed: need-duplicate-check
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 → Medium
status: Confirmed → Incomplete
Klaus Naujok (knaujok)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Klaus Naujok (knaujok) wrote :

sudo apt-get install -f

Command failed:

Unpacking linux-image-4.4.0-64-generic (4.4.0-64.85) over (4.4.0-64.85) ...
Preparing to unpack .../linux-headers-4.4.0-64_4.4.0-64.85_all.deb ...
Unpacking linux-headers-4.4.0-64 (4.4.0-64.85) ...
dpkg: error processing archive /var/cache/apt/archives/linux-headers-4.4.0-64_4.4.0-64.85_all.deb (--unpack):
 unable to create new file '/var/lib/dpkg/info/linux-headers-4.4.0-64.list-new': Operation not permitted
Segmentation fault (core dumped)

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.