I had "Operation not permitted" errors installing Linux kernels too. I am running Sophos Anti-Virus, which has a known bug. "30s delay of file create and "Operation not permitted" errors with fanotify and cifs – This is a kernel issue and Sophos is working with the Linux community to fix this issue" https://community.sophos.com/kb/en-us/118216
To get around this problem I disable sophos-av before and enable it after each Linux kernel install. I have only experienced this problem during Linux kernel install and not during common updates. sudo /opt/sophos-av/bin/savdctl disable Run Update Manager and install Linux kernel. sudo /opt/sophos-av/bin/savdctl enable -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1674037 Title: package linux-image-extra-4.8.0-41-generic (not installed) failed to install/upgrade: unable to create new file '/var/lib/dpkg/info/linux- image-extra-4.8.0-41-generic.list-new': Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1674037/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
