Comment 2 for bug 1859838

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)