package linux-headers-4.10.0-20 (not installed) failed to install/upgrade: unable to open '/usr/src/linux-headers-4.10.0-20/include/linux/agp_backend.h.dpkg-new': Operation not permitted

Bug #1687241 reported by Edward Newman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

Trying to upgrade Linux

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: linux-headers-4.10.0-20 (not installed)
ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
Uname: Linux 4.10.0-19-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: edwardnewman 2325 F.... pulseaudio
 /dev/snd/controlC0: edwardnewman 2325 F.... pulseaudio
Date: Sat Apr 29 21:45:39 2017
DuplicateSignature:
 package:linux-headers-4.10.0-20:(not installed)
 Unpacking linux-image-extra-4.10.0-20-generic (4.10.0-20.22) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-CzdVt6/13-linux-image-extra-4.10.0-20-generic_4.10.0-20.22_amd64.deb (--unpack):
  unable to open '/lib/modules/4.10.0-20-generic/kernel/drivers/nfc/fdp/fdp.ko.dpkg-new': Operation not permitted
ErrorMessage: unable to open '/usr/src/linux-headers-4.10.0-20/include/linux/agp_backend.h.dpkg-new': Operation not permitted
HibernationDevice: RESUME=UUID=387f71ce-92f9-40b3-9ad6-937b9da0b515
InstallationDate: Installed on 2017-04-22 (7 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
Lsusb:
 Bus 002 Device 002: ID 05ac:8406 Apple, Inc.
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 05ac:0273 Apple, Inc.
 Bus 001 Device 002: ID 05ac:8290 Apple, Inc.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Apple Inc. MacBookPro12,1
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-19-generic.efi.signed root=/dev/mapper/ubuntu--vg-root 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
SourcePackage: linux
Title: package linux-headers-4.10.0-20 (not installed) failed to install/upgrade: unable to open '/usr/src/linux-headers-4.10.0-20/include/linux/agp_backend.h.dpkg-new': Operation not permitted
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/23/2016
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP121.88Z.0167.B21.1612230252
dmi.board.name: Mac-E43C1C25D4880AD6
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro12,1
dmi.chassis.type: 9
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-E43C1C25D4880AD6
dmi.modalias: dmi:bvnAppleInc.:bvrMBP121.88Z.0167.B21.1612230252:bd12/23/2016:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
dmi.product.name: MacBookPro12,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Edward Newman (edwardnewman) 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
tags: removed: need-duplicate-check
Revision history for this message
Edward Newman (edwardnewman) wrote :
Download full text (3.6 KiB)

@jsalisbury

Ran steps with same result

root@edwardnewman-MacBookPro:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  linux-headers-4.10.0-20
The following NEW packages will be installed:
  linux-headers-4.10.0-20
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
27 not fully installed or removed.
Need to get 0 B/10.6 MB of archives.
After this operation, 74.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 194747 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.10.0-20_4.10.0-20.22_all.deb ...
Unpacking linux-headers-4.10.0-20 (4.10.0-20.22) ...
dpkg: error processing archive /var/cache/apt/archives/linux-headers-4.10.0-20_4.10.0-20.22_all.deb (--unpack):
 unable to open '/usr/src/linux-headers-4.10.0-20/include/linux/parser.h.dpkg-new': Operation not permitted
Errors were encountered while processing:
 /var/cache/apt/archives/linux-headers-4.10.0-20_4.10.0-20.22_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@edwardnewman-MacBookPro:~# apt-get clean
root@edwardnewman-MacBookPro:~# apt-get update
Hit:1 http://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest xenial InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu zesty InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu zesty-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu zesty-backports InRelease
Hit:6 http://dl.google.com/linux/chrome/deb stable Release
Get:7 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]
Hit:8 http://ppa.launchpad.net/nm-l2tp/network-manager-l2tp/ubuntu zesty InRelease
Fetched 89.2 kB in 20s (4,297 B/s)
Reading package lists... Done
root@edwardnewman-MacBookPro:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  linux-headers-4.10.0-20
The following NEW packages will be installed:
  linux-headers-4.10.0-20
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
27 not fully installed or removed.
Need to get 10.6 MB of archives.
After this operation, 74.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 linux-headers-4.10.0-20 all 4.10.0-20.22 [10.6 MB]
Fetched 10.6 MB in 22s (473 kB/s)
(Reading database ... 194747 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.10.0-20_4.10.0-...

Read more...

Revision history for this message
Edward Newman (edwardnewman) wrote :

Just attempting to install package results in:

root@edwardnewman-MacBookPro:~# dpkg -i /var/cache/apt/archives/linux-headers-4.10.0-20_4.10.0-20.22_all.deb
(Reading database ... 194747 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.10.0-20_4.10.0-20.22_all.deb ...
Unpacking linux-headers-4.10.0-20 (4.10.0-20.22) ...
dpkg: error processing archive /var/cache/apt/archives/linux-headers-4.10.0-20_4.10.0-20.22_all.deb (--install):
 unable to open '/usr/src/linux-headers-4.10.0-20/drivers/dma-buf/Kconfig.dpkg-new': Operation not permitted
Errors were encountered while processing:
 /var/cache/apt/archives/linux-headers-4.10.0-20_4.10.0-20.22_all.deb

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.