Public bug reported: It all started in a small village in Siberia in 1870. But skipping ahead a bit, I was trying to clean up my grub menu, so I edited /boot/grub/grub.cfg. I changed GRUB_DEFAULT=0 to GRUB_DEFAULT=Ubuntu
Aaand if that wasn't bad enought, I also edited /etc/default/grub.d/xen.cfg. I uncommented this (it was already set to 0): XEN_OVERRIDE_GRUB_DEFAULT=0 Then I ran sudo update-grub. While this did set the default to the 'Ubuntu' entry, when I selected it the system hung. I rebooted and started working my way thru the grub menu, and eventually found the option that would let me boot. I reset the files and updated grub, but nothing was any better. Then I tried various combinations of: sudo apt-get check sudo apt --fix-broken install sudo dpkg --unpack /var/cache/apt/archives/linux-image-extra-4.13.0-25-generic_4.13.0-25.29_amd64.deb sudo apt-get install -f sudo apt-get clean I think the root cause might be: dpkg: error processing archive /var/cache/apt/archives/linux-image-extra-4.13.0-25-generic_4.13.0-25.29_amd64.deb (--unpack): unable to open '/lib/modules/4.13.0-25-generic/kernel/drivers/isdn/mISDN/mISDN_dsp.ko.dpkg-new': Operation not permitted Thanks for your help, Josh Ubuntu 17.10 ProblemType: Package DistroRelease: Ubuntu 17.10 Package: linux-headers-4.13.0-25 (not installed) ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8 Uname: Linux 4.13.0-17-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.7 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: gdm 6275 F.... pulseaudio josh 6674 F.... pulseaudio Date: Tue Jan 9 20:01:29 2018 DuplicateSignature: package:linux-headers-4.13.0-25:(not installed) Unpacking linux-image-extra-4.13.0-25-generic (4.13.0-25.29) ... dpkg: error processing archive /tmp/apt-dpkg-install-jAqmpH/1-linux-image-extra-4.13.0-25-generic_4.13.0-25.29_amd64.deb (--unpack): unable to open '/lib/modules/4.13.0-25-generic/kernel/drivers/media/dvb-frontends/drx39xyj/drx39xyj.ko.dpkg-new': Operation not permitted ErrorMessage: unable to create new file '/var/lib/dpkg/info/linux-headers-4.13.0-25.list-new': Operation not permitted HibernationDevice: RESUME=UUID=a4013dd4-5435-4a09-a522-8991d3f68f34 InstallationDate: Installed on 2017-02-03 (341 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) MachineType: HP HP Notebook ProcFB: 0 EFI VGA ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-17-generic root=UUID=1236e14e-58db-47f0-a4a1-7e575b7fc3f6 ro recovery nomodeset PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1 RelatedPackageVersions: grub-pc N/A SourcePackage: linux Title: package linux-headers-4.13.0-25 (not installed) failed to install/upgrade: unable to create new file '/var/lib/dpkg/info/linux-headers-4.13.0-25.list-new': Operation not permitted UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/21/2016 dmi.bios.vendor: Insyde dmi.bios.version: F.13 dmi.board.asset.tag: Type2 - Board Asset Tag dmi.board.name: 81ED dmi.board.vendor: HP dmi.board.version: 62.21 dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnInsyde:bvrF.13:bd07/21/2016:svnHP:pnHPNotebook:pvrType1ProductConfigId:rvnHP:rn81ED:rvr62.21:cvnHP:ct10:cvrChassisVersion: dmi.product.family: 103C_5335KV G=N L=CON B=HP dmi.product.name: HP Notebook dmi.product.version: Type1ProductConfigId dmi.sys.vendor: HP ** Affects: linux (Ubuntu) Importance: Undecided Status: Invalid ** Tags: amd64 apport-package artful package-install-segfault -- 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/1742387 Title: package linux-headers-4.13.0-25 (not installed) failed to install/upgrade: unable to create new file '/var/lib/dpkg/info/linux- headers-4.13.0-25.list-new': Operation not permitted Status in linux package in Ubuntu: Invalid Bug description: It all started in a small village in Siberia in 1870. But skipping ahead a bit, I was trying to clean up my grub menu, so I edited /boot/grub/grub.cfg. I changed GRUB_DEFAULT=0 to GRUB_DEFAULT=Ubuntu Aaand if that wasn't bad enought, I also edited /etc/default/grub.d/xen.cfg. I uncommented this (it was already set to 0): XEN_OVERRIDE_GRUB_DEFAULT=0 Then I ran sudo update-grub. While this did set the default to the 'Ubuntu' entry, when I selected it the system hung. I rebooted and started working my way thru the grub menu, and eventually found the option that would let me boot. I reset the files and updated grub, but nothing was any better. Then I tried various combinations of: sudo apt-get check sudo apt --fix-broken install sudo dpkg --unpack /var/cache/apt/archives/linux-image-extra-4.13.0-25-generic_4.13.0-25.29_amd64.deb sudo apt-get install -f sudo apt-get clean I think the root cause might be: dpkg: error processing archive /var/cache/apt/archives/linux-image-extra-4.13.0-25-generic_4.13.0-25.29_amd64.deb (--unpack): unable to open '/lib/modules/4.13.0-25-generic/kernel/drivers/isdn/mISDN/mISDN_dsp.ko.dpkg-new': Operation not permitted Thanks for your help, Josh Ubuntu 17.10 ProblemType: Package DistroRelease: Ubuntu 17.10 Package: linux-headers-4.13.0-25 (not installed) ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8 Uname: Linux 4.13.0-17-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.7 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: gdm 6275 F.... pulseaudio josh 6674 F.... pulseaudio Date: Tue Jan 9 20:01:29 2018 DuplicateSignature: package:linux-headers-4.13.0-25:(not installed) Unpacking linux-image-extra-4.13.0-25-generic (4.13.0-25.29) ... dpkg: error processing archive /tmp/apt-dpkg-install-jAqmpH/1-linux-image-extra-4.13.0-25-generic_4.13.0-25.29_amd64.deb (--unpack): unable to open '/lib/modules/4.13.0-25-generic/kernel/drivers/media/dvb-frontends/drx39xyj/drx39xyj.ko.dpkg-new': Operation not permitted ErrorMessage: unable to create new file '/var/lib/dpkg/info/linux-headers-4.13.0-25.list-new': Operation not permitted HibernationDevice: RESUME=UUID=a4013dd4-5435-4a09-a522-8991d3f68f34 InstallationDate: Installed on 2017-02-03 (341 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) MachineType: HP HP Notebook ProcFB: 0 EFI VGA ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-17-generic root=UUID=1236e14e-58db-47f0-a4a1-7e575b7fc3f6 ro recovery nomodeset PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1 RelatedPackageVersions: grub-pc N/A SourcePackage: linux Title: package linux-headers-4.13.0-25 (not installed) failed to install/upgrade: unable to create new file '/var/lib/dpkg/info/linux-headers-4.13.0-25.list-new': Operation not permitted UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/21/2016 dmi.bios.vendor: Insyde dmi.bios.version: F.13 dmi.board.asset.tag: Type2 - Board Asset Tag dmi.board.name: 81ED dmi.board.vendor: HP dmi.board.version: 62.21 dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnInsyde:bvrF.13:bd07/21/2016:svnHP:pnHPNotebook:pvrType1ProductConfigId:rvnHP:rn81ED:rvr62.21:cvnHP:ct10:cvrChassisVersion: dmi.product.family: 103C_5335KV G=N L=CON B=HP dmi.product.name: HP Notebook dmi.product.version: Type1ProductConfigId dmi.sys.vendor: HP To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742387/+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