[Bug 1685984] Re: packages (multiple) failed to install/upgrade: unable to open 'xxxxx.dpkg-new': Operation not permitted
FYI, someone in a Sohos forum posted a workaround that can help relieve some of the pain with the issues caused by the product until it's more thoroughly diagnosed and addressed: adding pre & post rules to temporarily deactivate the AV on-access scanner while updates take place. Quoting from the forum post: > I did this by creating the file /etc/apt/apt.conf.d/00sav-protect with the contents: DPkg::Pre-Invoke { "echo Stopping sav-protect..."; "systemctl stop sav-protect.service"; "echo Done"; }; DPkg::Post-Invoke { "echo Starting sav-protect..."; "systemctl start sav-protect.service"; "echo Done"; }; See https://community.sophos.com/products/server-protection- integration/f/sophos-anti-virus-for-linux-basic/117256/sav-protect- service-breaks-system-updates-on-ubuntu/425935#425935 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685984 Title: packages (multiple) failed to install/upgrade: unable to open 'x .dpkg-new': Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1685984/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1685984] Re: packages (multiple) failed to install/upgrade: unable to open 'xxxxx.dpkg-new': Operation not permitted
See this duplicate: https://bugs.launchpad.net/ubuntu/+source/update- manager/+bug/1855259/comments/11. This is likely a bug in fanotify or Sophos, not dpkg. It would be useful to know whether the original poster (https://launchpad.net/~jsamuel-s) was using Sophos AV or fanotify at the time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685984 Title: packages (multiple) failed to install/upgrade: unable to open 'x .dpkg-new': Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1685984/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1685984] Re: packages (multiple) failed to install/upgrade: unable to open 'xxxxx.dpkg-new': Operation not permitted
Disabling sophos antivitus has fixed the problem for me. See original comment at https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1739991/comments/3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685984 Title: packages (multiple) failed to install/upgrade: unable to open 'x .dpkg-new': Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1685984/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1685984] Re: packages (multiple) failed to install/upgrade: unable to open 'xxxxx.dpkg-new': Operation not permitted
Looking at the original reporter's Df.txt file we can see that /boot is not mounted. This would cause the failure and is not something we can really fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685984 Title: packages (multiple) failed to install/upgrade: unable to open 'x .dpkg-new': Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1685984/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1685984] Re: packages (multiple) failed to install/upgrade: unable to open 'xxxxx.dpkg-new': Operation not permitted
This bug also affects me, but apt segfaults sometimes: Preparing to unpack .../linux-image-extra-4.13.0-21-generic_4.13.0-21.24_amd64.deb ... Unpacking linux-image-extra-4.13.0-21-generic (4.13.0-21.24) ... dpkg: error processing archive /var/cache/apt/archives/linux-image-extra-4.13.0-21-generic_4.13.0-21.24_amd64.deb (--unpack): unable to open '/lib/modules/4.13.0-21-generic/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.ko.dpkg-new': Operation not permitted [1] 18746 segmentation fault sudo apt install -f % I am using Ubuntu 17.10. ** Package changed: linux-hwe (Ubuntu) => dpkg (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685984 Title: packages (multiple) failed to install/upgrade: unable to open 'x .dpkg-new': Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1685984/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1685984] Re: packages (multiple) failed to install/upgrade: unable to open 'xxxxx.dpkg-new': Operation not permitted
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-hwe (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685984 Title: packages (multiple) failed to install/upgrade: unable to open 'x .dpkg-new': Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1685984/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1685984] Re: packages (multiple) failed to install/upgrade: unable to open 'xxxxx.dpkg-new': Operation not permitted
** Tags removed: need-duplicate-check -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685984 Title: packages (multiple) failed to install/upgrade: unable to open 'x .dpkg-new': Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1685984/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs