Unable to upgrade libreoffice-common package

Bug #1859838 reported by Paulo Sequeira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Last software weekly update reported a failure. Looks like the libreoffice-common package has issues:

~$ sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:6.3.4) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-help-common : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-help-en-gb : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-help-en-us : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-l10n-en-za : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-ogltrans : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-pdfimport : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-style-breeze : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-style-colibre : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-style-elementary : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
 libreoffice-style-tango : Depends: libreoffice-common (= 1:6.3.4-0ubuntu0.19.10.1) but 1:6.3.3-0ubuntu0.19.10.1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libreoffice-common
The following packages will be upgraded:
  libreoffice-common
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
25 not fully installed or removed.
Need to get 0 B/33.7 MB of archives.
After this operation, 7,168 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 326394 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a6.3.4-0ubuntu0.19.10.1_all.deb ...
Unpacking libreoffice-common (1:6.3.4-0ubuntu0.19.10.1) over (1:6.3.3-0ubuntu0.19.10.1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.3.4-0ubuntu0.19.10.1_
all.deb (--unpack):
 unable to open '/usr/share/libreoffice/share/config/images_helpimg.zip.dpkg-new': Operation not perm
itted
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a6.3.4-0ubuntu0.19.10.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: libreoffice-common 1:6.3.3-0ubuntu0.19.10.1
ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
Uname: Linux 5.3.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 15 08:45:22 2020
InstallationDate: Installed on 2018-08-30 (502 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: all
SourcePackage: libreoffice
UpgradeStatus: Upgraded to eoan on 2019-12-16 (30 days ago)

Revision history for this message
Paulo Sequeira (psequeirag) wrote :
Revision history for this message
Paulo Sequeira (psequeirag) wrote :

BTW, I also tried reinstalling the package, but that had trouble, too:

~$ sudo apt install --reinstall libreoffice-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  libreoffice-common
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
25 not fully installed or removed.
Need to get 0 B/33.7 MB of archives.
After this operation, 7,168 B of additional disk space will be used.
(Reading database ... 326394 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a6.3.4-0ubuntu0.19.10.1_all.deb ...
Unpacking libreoffice-common (1:6.3.4-0ubuntu0.19.10.1) over (1:6.3.3-0ubuntu0.19.10.1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.3.4-0ubuntu0.19.10.1_
all.deb (--unpack):
 unable to open '/usr/lib/libreoffice/share/gallery/people/Student-Male.png.dpkg-new': Operation not
permitted
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a6.3.4-0ubuntu0.19.10.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libreoffice (Ubuntu):
status: New → Confirmed
Changed in libreoffice (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Paulo Sequeira (psequeirag) wrote :

Indeed! I do have Sophos AV installed and running; disabling that and then retrying the "apt --fix-broken install" command succeeded this time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.