Public bug reported:

$ sudo apt --fix-broken install -f
[sudo] password for pato: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libfprint-2-tod1 libllvm10
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libreoffice-common
The following NEW packages will be installed:
  libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
4 not fully installed or removed.
Need to get 23,5 MB of archives.
After this operation, 56,5 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ar.archive.ubuntu.com/ubuntu focal-updates/main amd64 
libreoffice-common all 1:6.4.7-0ubuntu0.20.04.1 [23,5 MB]
Fetched 23,5 MB in 28s (856 kB/s)                                              
(Reading database ... 174619 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a6.4.7-0ubuntu0.20.04.1_all.deb ..
.
Unpacking libreoffice-common (1:6.4.7-0ubuntu0.20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.
4.7-0ubuntu0.20.04.1_all.deb (--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package openoffice-deb
ian-menus 4.1.10-9807
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or di
rectory
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 directo
ry
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.4.7-0ubuntu0.20.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I can't install new packages, so for example, I can't install synaptic
to fix this. I think I'll end up reinstalling ubuntu or debian.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: libreoffice-common (not installed)
ProcVersionSignature: Ubuntu 5.11.0-25.27~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sat Aug 14 12:13:21 2021
ErrorMessage: trying to overwrite '/usr/bin/soffice', which is also in package 
openoffice-debian-menus 4.1.10-9807
InstallationDate: Installed on 2021-08-01 (13 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 
3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt  2.0.6
SourcePackage: libreoffice
Title: package libreoffice-common (not installed) failed to install/upgrade: 
trying to overwrite '/usr/bin/soffice', which is also in package 
openoffice-debian-menus 4.1.10-9807
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939957

Title:
  package libreoffice-common (not installed) failed to install/upgrade:
  trying to overwrite '/usr/bin/soffice', which is also in package
  openoffice-debian-menus 4.1.10-9807

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1939957/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to