package libreoffice-help-en-us (not installed) failed to install/upgrade: unable to open '/usr/share/libreoffice/help/en-US/text/swriter/menu/insert_header_footer.html.dpkg-new': Operation not permitted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libreoffice (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
libreoffice-common update has been failing to install for a few days; tried removing & reinstalling the whole mess, but it still fails with a similar error:
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libreoffice-
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libreoffice-
The following NEW packages will be installed:
libreoffice-
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
17 not fully installed or removed.
Need to get 0 B/33.7 MB of archives.
After this operation, 94.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 213490 files and directories currently installed.)
Preparing to unpack .../libreoffice
Unpacking libreoffice-common (1:6.3.
dpkg: error processing archive /var/cache/
unable to open '/usr/lib/
rmdir: failed to remove '/var/lib/
rmdir: failed to remove '/var/lib/
rmdir: failed to remove '/var/lib/
rmdir: failed to remove '/var/lib/
rmdir: failed to remove '/var/lib/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 19.10
Package: libreoffice-
ProcVersionSign
Uname: Linux 5.3.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
Date: Tue Jan 14 12:45:46 2020
ErrorMessage: unable to open '/usr/share/
InstallationDate: Installed on 2018-12-07 (402 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
Python3Details: /usr/bin/python3.7, Python 3.7.5, python3-minimal, 3.7.5-1
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu2
apt 1.9.4
SourcePackage: libreoffice
Title: package libreoffice-
UpgradeStatus: Upgraded to eoan on 2019-12-26 (18 days ago)
Changed in libreoffice (Ubuntu): | |
status: | New → Incomplete |
I'd like to first rule out that this is not a duplicate of the following bug:
https:/ /bugs.launchpad .net/ubuntu/ +source/ dpkg/+bug/ 1685984
Do you have Sophos AV installed? If so, please try disabling it temporarily and retry the update:
/opt/sophos- av/bin/ savdctl disable