[Bug 1742387] [NEW] 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
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: USERPID ACCESS COMMAND /dev/snd/controlC0: gdm6275 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 Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1710768] Re: package linux-image-extra-4.10.0-32-generic (not installed) failed to install/upgrade: unable to open '/lib/modules/4.10.0-32-generic/kernel/drivers/net/ethernet/intel/e100.ko.dp
Thanks for getting back to me. sudo apt-get install -f fails Get:1 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 linux-image-extra-4.10.0-32-generic amd64 4.10.0-32.36 [30.0 MB] Fetched 30.0 MB in 3s (9,958 kB/s) (Reading database ... 214097 files and directories currently installed.) Preparing to unpack .../linux-image-extra-4.10.0- 32-generic_4.10.0-32.36_amd64.deb ... Unpacking linux-image-extra-4.10.0-32-generic (4.10.0-32.36) ... dpkg: error processing archive /var/cache/apt/archives/linux- image-extra-4.10.0-32-generic_4.10.0-32.36_amd64.deb (--unpack): unable to open '/lib/modules/4.10.0-32-generic/kernel/drivers/isdn/hisax/avma1_cs.ko.dpkg-new': Operation not permitted Segmentation fault (core dumped) The other 2 commands run successfully by themselves. sudo apt autoremove doesn't run, it tells me to run apt --fix-broken install Did a bit of googling and found sudo apt autoremove -f which ran to completion. Cheers, Josh On Wed, Aug 16, 2017 at 7:17 AM, Joseph Salisbury < joseph.salisb...@canonical.com> 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 > > ** Changed in: linux (Ubuntu) >Status: Confirmed => Incomplete > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1710768 > > Title: > package linux-image-extra-4.10.0-32-generic (not installed) failed to > install/upgrade: unable to open > '/lib/modules/4.10.0-32-generic/kernel/drivers/net/ > ethernet/intel/e100.ko > .dpkg-new': Operation not permitted > > Status in linux package in Ubuntu: > Incomplete > > Bug description: > I was running > sudo apt --fix-broken install > and I got this: > Unpacking linux-image-extra-4.10.0-32-generic (4.10.0-32.36) ... > dpkg: error processing archive /var/cache/apt/archives/linux- > image-extra-4.10.0-32-generic_4.10.0-32.36_amd64.deb (--unpack): >unable to open > '/lib/modules/4.10.0-32-generic/kernel/drivers/media/rc/gpio-ir-recv.ko.dpkg-new': > Operation not permitted > Segmentation fault (core dumped) > > ProblemType: Package > DistroRelease: Ubuntu 17.04 > Package: linux-image-extra-4.10.0-32-generic (not installed) > ProcVersionSignature: Ubuntu 4.10.0-30.34-generic 4.10.17 > Uname: Linux 4.10.0-30-generic x86_64 > ApportVersion: 2.20.4-0ubuntu4.5 > Architecture: amd64 > AudioDevicesInUse: >USERPID ACCESS COMMAND >/dev/snd/controlC0: josh 3697 F pulseaudio > Date: Sun Aug 13 03:16:49 2017 > DuplicateSignature: >package:linux-image-extra-4.10.0-32-generic:(not installed) >Unpacking linux-image-extra-4.10.0-32-generic (4.10.0-32.36) ... >dpkg: error processing archive /tmp/apt-dpkg-install-9zpg5m/ > 4-linux-image-extra-4.10.0-32-generic_4.10.0-32.36_amd64.deb (--unpack): > unable to open '/lib/modules/4.10.0-32-generic/kernel/drivers/net/ > ethernet/intel/e100.ko.dpkg-new': Operation not permitted > ErrorMessage: unable to open '/lib/modules/4.10.0-32- > generic/kernel/drivers/net/ethernet/intel/e100.ko.dpkg-new': Operation > not permitted > HibernationDevice: RESUME=UUID=a4013dd4-5435-4a09-a522-8991d3f68f34 > InstallationDate: Installed on 2017-02-03 (193 days ago) > InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 > (20161012.2) > MachineType: HP HP Notebook > ProcFB: 0 inteldrmfb > ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-30-generic.efi.signed > root=UUID=1236e14e-58db-47f0-a4a1-7e575b7fc3f6 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-image-extra-4.10.0-32-generic (not installed) > failed to install/upgrade: unable to open '/lib/modules/4.10.0-32- > generic/kernel/drivers/net/ethernet/intel/e100.ko.dpkg-new': Operation > not permitted > UpgradeStatus: Upgraded to zesty on 2017-04-15 (121 days ago) > 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.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/ > 1710768/+subscriptions > -- Of all natu
[Bug 1710768] [NEW] package linux-image-extra-4.10.0-32-generic (not installed) failed to install/upgrade: unable to open '/lib/modules/4.10.0-32-generic/kernel/drivers/net/ethernet/intel/e100.ko.dpkg
Public bug reported: I was running sudo apt --fix-broken install and I got this: Unpacking linux-image-extra-4.10.0-32-generic (4.10.0-32.36) ... dpkg: error processing archive /var/cache/apt/archives/linux-image-extra-4.10.0-32-generic_4.10.0-32.36_amd64.deb (--unpack): unable to open '/lib/modules/4.10.0-32-generic/kernel/drivers/media/rc/gpio-ir-recv.ko.dpkg-new': Operation not permitted Segmentation fault (core dumped) ProblemType: Package DistroRelease: Ubuntu 17.04 Package: linux-image-extra-4.10.0-32-generic (not installed) ProcVersionSignature: Ubuntu 4.10.0-30.34-generic 4.10.17 Uname: Linux 4.10.0-30-generic x86_64 ApportVersion: 2.20.4-0ubuntu4.5 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: josh 3697 F pulseaudio Date: Sun Aug 13 03:16:49 2017 DuplicateSignature: package:linux-image-extra-4.10.0-32-generic:(not installed) Unpacking linux-image-extra-4.10.0-32-generic (4.10.0-32.36) ... dpkg: error processing archive /tmp/apt-dpkg-install-9zpg5m/4-linux-image-extra-4.10.0-32-generic_4.10.0-32.36_amd64.deb (--unpack): unable to open '/lib/modules/4.10.0-32-generic/kernel/drivers/net/ethernet/intel/e100.ko.dpkg-new': Operation not permitted ErrorMessage: unable to open '/lib/modules/4.10.0-32-generic/kernel/drivers/net/ethernet/intel/e100.ko.dpkg-new': Operation not permitted HibernationDevice: RESUME=UUID=a4013dd4-5435-4a09-a522-8991d3f68f34 InstallationDate: Installed on 2017-02-03 (193 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) MachineType: HP HP Notebook ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-30-generic.efi.signed root=UUID=1236e14e-58db-47f0-a4a1-7e575b7fc3f6 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-image-extra-4.10.0-32-generic (not installed) failed to install/upgrade: unable to open '/lib/modules/4.10.0-32-generic/kernel/drivers/net/ethernet/intel/e100.ko.dpkg-new': Operation not permitted UpgradeStatus: Upgraded to zesty on 2017-04-15 (121 days ago) 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.name: HP Notebook dmi.product.version: Type1ProductConfigId dmi.sys.vendor: HP ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1710768 Title: package linux-image-extra-4.10.0-32-generic (not installed) failed to install/upgrade: unable to open '/lib/modules/4.10.0-32-generic/kernel/drivers/net/ethernet/intel/e100.ko .dpkg-new': Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1710768/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs