libreoffice-core dependency in every installTrying to fix broken dependencies (Libre Office)LibreOffice won't start?I am unable to install programs after 12.04 upgrade and attempt to install LibreofficeNew software can't be installed, because there is a problem with the software currently installed. Do you want to repair this problem now?Cannot install anything! Unmet dependencies. Libre Officedependency error on libc6-amd64 even if it's already installedError in libreoffice directory after “sudo apt-get -f install”

Was X17 predicted before it was observed?

Do any other countries aside from the US have a pledge of allegiance?

how to write a condition for all elements of a list

My passport's Machine Readable Zone is damaged. How do I deal with it?

Magento 2 - Get product image url in API

Better method to measure the time period of a pendulum

What does it mean when we say 'The difference between two quantities is of first order'?

Why does General Grievous say “Ah yes, the negotiator?”

default permissible datatype conversion matrix

Extract subsequence corresponding to n:th pattern from a file

What is the point of teaching Coding and robotics to kids as young as 6 years old?

Is there a guide/reference for possible character hairstyles in D&D Forgotten Realms universe?

Clockwise matrix rotation

Total length of a set with the same projections as a square

Could a chess engine do retro analysis?

How to elongate the content of table to be justified in the whole page in LaTeX?

Why should interrupts be short in a well configured system?

Aliens kill as an art form, surprised that humans don't appreciate

Is there any obvious warning when auto-pilot is disengaged or when the mode changes?

“Depend on abstractions, not on concretions” what is the exact meaning of this term

What is the difference between "more" and "less" commands?

How to avoid getting angry during job interviews?

Which device is violating the 802.11n Wi-Fi standard?

Intuitive explanation for the smile in FX



libreoffice-core dependency in every install


Trying to fix broken dependencies (Libre Office)LibreOffice won't start?I am unable to install programs after 12.04 upgrade and attempt to install LibreofficeNew software can't be installed, because there is a problem with the software currently installed. Do you want to repair this problem now?Cannot install anything! Unmet dependencies. Libre Officedependency error on libc6-amd64 even if it's already installedError in libreoffice directory after “sudo apt-get -f install”






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2


















Every time I try to install or remove or whatever action via apt-get i get:



libreoffice-core : Depends libreoffice-common (>1:5.0.2)


But it won't be installed and a suggestion:



Try <<apt-get -f install>>


But when I run the last command, it returns the same error. I removed libreoffice because I don't use it, I've even tried to reinstall it but I can't. How can I fix this? I am using Ubuntu 14.04



EDIT:



This is the output for: lsb_release -a; uname -a; apt-cache policy libreoffice-core libreoffice-common



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Linux teclalabs 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
libreoffice-core:
Instalados: 1:5.0.2-0ubuntu1~trusty1
Candidato: 1:5.0.2-0ubuntu1~trusty1
Tabla de versión:
*** 1:5.0.2-0ubuntu1~trusty1 0
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
1:4.2.8-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1:4.2.3~rc3-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libreoffice-common:
Instalados: (ninguno)
Candidato: 1:5.0.2-0ubuntu1~trusty1
Tabla de versión:
1:5.0.2-0ubuntu1~trusty1 0
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
1:4.2.8-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1:4.2.3~rc3-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


EDIT:



This is the full output for LANG=C sudo apt-get install -f



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libreoffice-common
Suggested packages:
libreoffice-style-breeze libreoffice-style-crystal
libreoffice-style-hicontrast libreoffice-style-human
libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed:
libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
11 not fully installed or removed.
Need to get 0 B/22.5 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 341789 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-common (1:5.0.2-0ubuntu1~trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775
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
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


EDIT:



Output after run sudo apt-get remove openoffice-debian-menus



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:5.0.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


EDIT:



Full output for sudo apt-get install libreoffice-common



Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libreoffice-style-breeze libreoffice-style-crystal
libreoffice-style-hicontrast libreoffice-style-human
libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed:
libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
11 not fully installed or removed.
Need to get 0 B/22.5 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
(Reading database ... 341789 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-common (1:5.0.2-0ubuntu1~trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775
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
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)









share|improve this question



























  • When you execute apt-get -f install what is the error? You could try to do apt-get install libreoffice-common

    – Charles Green
    Oct 29 '15 at 18:26











  • @CharlesGreen I've tried that, everithing look ok after run apt-get install libreoffice-common but at the end i get dpkg: error processing file /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack): and E: Sub-process /usr/bin/dpkg returned an error code (1)

    – Gocht
    Oct 29 '15 at 18:29











  • You should try sudo apt-get clean followed by sudo apt-get update && sudo apt-get upgrade

    – Charles Green
    Oct 29 '15 at 18:35












  • When I try apt-get upgrade I get the same error: libreoffice-core : Depend: libreoffice-common (> 1:5.0.2) but it is not installed PD: I don't know if it is the exact message in english I get my OS installed in spanish and I am translating.

    – Gocht
    Oct 29 '15 at 18:38











  • The first command sudo apt-get clean clears the downloaded .deb files - it may be that you have a corrupted file.

    – Charles Green
    Oct 29 '15 at 18:39

















2


















Every time I try to install or remove or whatever action via apt-get i get:



libreoffice-core : Depends libreoffice-common (>1:5.0.2)


But it won't be installed and a suggestion:



Try <<apt-get -f install>>


But when I run the last command, it returns the same error. I removed libreoffice because I don't use it, I've even tried to reinstall it but I can't. How can I fix this? I am using Ubuntu 14.04



EDIT:



This is the output for: lsb_release -a; uname -a; apt-cache policy libreoffice-core libreoffice-common



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Linux teclalabs 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
libreoffice-core:
Instalados: 1:5.0.2-0ubuntu1~trusty1
Candidato: 1:5.0.2-0ubuntu1~trusty1
Tabla de versión:
*** 1:5.0.2-0ubuntu1~trusty1 0
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
1:4.2.8-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1:4.2.3~rc3-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libreoffice-common:
Instalados: (ninguno)
Candidato: 1:5.0.2-0ubuntu1~trusty1
Tabla de versión:
1:5.0.2-0ubuntu1~trusty1 0
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
1:4.2.8-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1:4.2.3~rc3-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


EDIT:



This is the full output for LANG=C sudo apt-get install -f



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libreoffice-common
Suggested packages:
libreoffice-style-breeze libreoffice-style-crystal
libreoffice-style-hicontrast libreoffice-style-human
libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed:
libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
11 not fully installed or removed.
Need to get 0 B/22.5 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 341789 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-common (1:5.0.2-0ubuntu1~trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775
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
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


EDIT:



Output after run sudo apt-get remove openoffice-debian-menus



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:5.0.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


EDIT:



Full output for sudo apt-get install libreoffice-common



Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libreoffice-style-breeze libreoffice-style-crystal
libreoffice-style-hicontrast libreoffice-style-human
libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed:
libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
11 not fully installed or removed.
Need to get 0 B/22.5 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
(Reading database ... 341789 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-common (1:5.0.2-0ubuntu1~trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775
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
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)









share|improve this question



























  • When you execute apt-get -f install what is the error? You could try to do apt-get install libreoffice-common

    – Charles Green
    Oct 29 '15 at 18:26











  • @CharlesGreen I've tried that, everithing look ok after run apt-get install libreoffice-common but at the end i get dpkg: error processing file /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack): and E: Sub-process /usr/bin/dpkg returned an error code (1)

    – Gocht
    Oct 29 '15 at 18:29











  • You should try sudo apt-get clean followed by sudo apt-get update && sudo apt-get upgrade

    – Charles Green
    Oct 29 '15 at 18:35












  • When I try apt-get upgrade I get the same error: libreoffice-core : Depend: libreoffice-common (> 1:5.0.2) but it is not installed PD: I don't know if it is the exact message in english I get my OS installed in spanish and I am translating.

    – Gocht
    Oct 29 '15 at 18:38











  • The first command sudo apt-get clean clears the downloaded .deb files - it may be that you have a corrupted file.

    – Charles Green
    Oct 29 '15 at 18:39













2













2









2


2






Every time I try to install or remove or whatever action via apt-get i get:



libreoffice-core : Depends libreoffice-common (>1:5.0.2)


But it won't be installed and a suggestion:



Try <<apt-get -f install>>


But when I run the last command, it returns the same error. I removed libreoffice because I don't use it, I've even tried to reinstall it but I can't. How can I fix this? I am using Ubuntu 14.04



EDIT:



This is the output for: lsb_release -a; uname -a; apt-cache policy libreoffice-core libreoffice-common



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Linux teclalabs 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
libreoffice-core:
Instalados: 1:5.0.2-0ubuntu1~trusty1
Candidato: 1:5.0.2-0ubuntu1~trusty1
Tabla de versión:
*** 1:5.0.2-0ubuntu1~trusty1 0
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
1:4.2.8-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1:4.2.3~rc3-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libreoffice-common:
Instalados: (ninguno)
Candidato: 1:5.0.2-0ubuntu1~trusty1
Tabla de versión:
1:5.0.2-0ubuntu1~trusty1 0
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
1:4.2.8-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1:4.2.3~rc3-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


EDIT:



This is the full output for LANG=C sudo apt-get install -f



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libreoffice-common
Suggested packages:
libreoffice-style-breeze libreoffice-style-crystal
libreoffice-style-hicontrast libreoffice-style-human
libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed:
libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
11 not fully installed or removed.
Need to get 0 B/22.5 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 341789 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-common (1:5.0.2-0ubuntu1~trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775
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
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


EDIT:



Output after run sudo apt-get remove openoffice-debian-menus



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:5.0.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


EDIT:



Full output for sudo apt-get install libreoffice-common



Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libreoffice-style-breeze libreoffice-style-crystal
libreoffice-style-hicontrast libreoffice-style-human
libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed:
libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
11 not fully installed or removed.
Need to get 0 B/22.5 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
(Reading database ... 341789 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-common (1:5.0.2-0ubuntu1~trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775
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
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)









share|improve this question
















Every time I try to install or remove or whatever action via apt-get i get:



libreoffice-core : Depends libreoffice-common (>1:5.0.2)


But it won't be installed and a suggestion:



Try <<apt-get -f install>>


But when I run the last command, it returns the same error. I removed libreoffice because I don't use it, I've even tried to reinstall it but I can't. How can I fix this? I am using Ubuntu 14.04



EDIT:



This is the output for: lsb_release -a; uname -a; apt-cache policy libreoffice-core libreoffice-common



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Linux teclalabs 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
libreoffice-core:
Instalados: 1:5.0.2-0ubuntu1~trusty1
Candidato: 1:5.0.2-0ubuntu1~trusty1
Tabla de versión:
*** 1:5.0.2-0ubuntu1~trusty1 0
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
1:4.2.8-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1:4.2.3~rc3-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libreoffice-common:
Instalados: (ninguno)
Candidato: 1:5.0.2-0ubuntu1~trusty1
Tabla de versión:
1:5.0.2-0ubuntu1~trusty1 0
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
1:4.2.8-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1:4.2.3~rc3-0ubuntu2 0
500 http://pe.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


EDIT:



This is the full output for LANG=C sudo apt-get install -f



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libreoffice-common
Suggested packages:
libreoffice-style-breeze libreoffice-style-crystal
libreoffice-style-hicontrast libreoffice-style-human
libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed:
libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
11 not fully installed or removed.
Need to get 0 B/22.5 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 341789 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-common (1:5.0.2-0ubuntu1~trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775
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
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


EDIT:



Output after run sudo apt-get remove openoffice-debian-menus



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:5.0.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


EDIT:



Full output for sudo apt-get install libreoffice-common



Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libreoffice-style-breeze libreoffice-style-crystal
libreoffice-style-hicontrast libreoffice-style-human
libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed:
libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
11 not fully installed or removed.
Need to get 0 B/22.5 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
(Reading database ... 341789 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-common (1:5.0.2-0ubuntu1~trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775
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
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)






apt package-management libreoffice






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 29 '15 at 18:54







Gocht

















asked Oct 29 '15 at 18:10









GochtGocht

3251 gold badge4 silver badges11 bronze badges




3251 gold badge4 silver badges11 bronze badges















  • When you execute apt-get -f install what is the error? You could try to do apt-get install libreoffice-common

    – Charles Green
    Oct 29 '15 at 18:26











  • @CharlesGreen I've tried that, everithing look ok after run apt-get install libreoffice-common but at the end i get dpkg: error processing file /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack): and E: Sub-process /usr/bin/dpkg returned an error code (1)

    – Gocht
    Oct 29 '15 at 18:29











  • You should try sudo apt-get clean followed by sudo apt-get update && sudo apt-get upgrade

    – Charles Green
    Oct 29 '15 at 18:35












  • When I try apt-get upgrade I get the same error: libreoffice-core : Depend: libreoffice-common (> 1:5.0.2) but it is not installed PD: I don't know if it is the exact message in english I get my OS installed in spanish and I am translating.

    – Gocht
    Oct 29 '15 at 18:38











  • The first command sudo apt-get clean clears the downloaded .deb files - it may be that you have a corrupted file.

    – Charles Green
    Oct 29 '15 at 18:39

















  • When you execute apt-get -f install what is the error? You could try to do apt-get install libreoffice-common

    – Charles Green
    Oct 29 '15 at 18:26











  • @CharlesGreen I've tried that, everithing look ok after run apt-get install libreoffice-common but at the end i get dpkg: error processing file /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack): and E: Sub-process /usr/bin/dpkg returned an error code (1)

    – Gocht
    Oct 29 '15 at 18:29











  • You should try sudo apt-get clean followed by sudo apt-get update && sudo apt-get upgrade

    – Charles Green
    Oct 29 '15 at 18:35












  • When I try apt-get upgrade I get the same error: libreoffice-core : Depend: libreoffice-common (> 1:5.0.2) but it is not installed PD: I don't know if it is the exact message in english I get my OS installed in spanish and I am translating.

    – Gocht
    Oct 29 '15 at 18:38











  • The first command sudo apt-get clean clears the downloaded .deb files - it may be that you have a corrupted file.

    – Charles Green
    Oct 29 '15 at 18:39
















When you execute apt-get -f install what is the error? You could try to do apt-get install libreoffice-common

– Charles Green
Oct 29 '15 at 18:26





When you execute apt-get -f install what is the error? You could try to do apt-get install libreoffice-common

– Charles Green
Oct 29 '15 at 18:26













@CharlesGreen I've tried that, everithing look ok after run apt-get install libreoffice-common but at the end i get dpkg: error processing file /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack): and E: Sub-process /usr/bin/dpkg returned an error code (1)

– Gocht
Oct 29 '15 at 18:29





@CharlesGreen I've tried that, everithing look ok after run apt-get install libreoffice-common but at the end i get dpkg: error processing file /var/cache/apt/archives/libreoffice-common_1%3a5.0.2-0ubuntu1~trusty1_all.deb (--unpack): and E: Sub-process /usr/bin/dpkg returned an error code (1)

– Gocht
Oct 29 '15 at 18:29













You should try sudo apt-get clean followed by sudo apt-get update && sudo apt-get upgrade

– Charles Green
Oct 29 '15 at 18:35






You should try sudo apt-get clean followed by sudo apt-get update && sudo apt-get upgrade

– Charles Green
Oct 29 '15 at 18:35














When I try apt-get upgrade I get the same error: libreoffice-core : Depend: libreoffice-common (> 1:5.0.2) but it is not installed PD: I don't know if it is the exact message in english I get my OS installed in spanish and I am translating.

– Gocht
Oct 29 '15 at 18:38





When I try apt-get upgrade I get the same error: libreoffice-core : Depend: libreoffice-common (> 1:5.0.2) but it is not installed PD: I don't know if it is the exact message in english I get my OS installed in spanish and I am translating.

– Gocht
Oct 29 '15 at 18:38













The first command sudo apt-get clean clears the downloaded .deb files - it may be that you have a corrupted file.

– Charles Green
Oct 29 '15 at 18:39





The first command sudo apt-get clean clears the downloaded .deb files - it may be that you have a corrupted file.

– Charles Green
Oct 29 '15 at 18:39










1 Answer
1






active

oldest

votes


















12



















Some time ago you installed LibreOffice without success. Since this day the package manager has a problem and every time when you install something else the problem occurs.




The installation of LibreOffice collides with your OpenOffice installation.




trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775




Execute



sudo apt-get remove openoffice-debian-menus


If that does not work as in your case



sudo dpkg -r --force-all openoffice-debian-menus


Now repair your system



sudo apt-get install -f







share|improve this answer



























  • This is like a circle, I edited the question with the result for the command in your answer, thanks.

    – Gocht
    Oct 29 '15 at 18:50












  • spectacular answer..solved my problem

    – Edziu Eames
    May 27 '16 at 22:35











  • Thank you buddy

    – Jijesh Cherrai
    Sep 26 at 8:02










protected by Community Sep 20 at 14:49



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









12



















Some time ago you installed LibreOffice without success. Since this day the package manager has a problem and every time when you install something else the problem occurs.




The installation of LibreOffice collides with your OpenOffice installation.




trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775




Execute



sudo apt-get remove openoffice-debian-menus


If that does not work as in your case



sudo dpkg -r --force-all openoffice-debian-menus


Now repair your system



sudo apt-get install -f







share|improve this answer



























  • This is like a circle, I edited the question with the result for the command in your answer, thanks.

    – Gocht
    Oct 29 '15 at 18:50












  • spectacular answer..solved my problem

    – Edziu Eames
    May 27 '16 at 22:35











  • Thank you buddy

    – Jijesh Cherrai
    Sep 26 at 8:02















12



















Some time ago you installed LibreOffice without success. Since this day the package manager has a problem and every time when you install something else the problem occurs.




The installation of LibreOffice collides with your OpenOffice installation.




trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775




Execute



sudo apt-get remove openoffice-debian-menus


If that does not work as in your case



sudo dpkg -r --force-all openoffice-debian-menus


Now repair your system



sudo apt-get install -f







share|improve this answer



























  • This is like a circle, I edited the question with the result for the command in your answer, thanks.

    – Gocht
    Oct 29 '15 at 18:50












  • spectacular answer..solved my problem

    – Edziu Eames
    May 27 '16 at 22:35











  • Thank you buddy

    – Jijesh Cherrai
    Sep 26 at 8:02













12















12











12









Some time ago you installed LibreOffice without success. Since this day the package manager has a problem and every time when you install something else the problem occurs.




The installation of LibreOffice collides with your OpenOffice installation.




trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775




Execute



sudo apt-get remove openoffice-debian-menus


If that does not work as in your case



sudo dpkg -r --force-all openoffice-debian-menus


Now repair your system



sudo apt-get install -f







share|improve this answer
















Some time ago you installed LibreOffice without success. Since this day the package manager has a problem and every time when you install something else the problem occurs.




The installation of LibreOffice collides with your OpenOffice installation.




trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9775




Execute



sudo apt-get remove openoffice-debian-menus


If that does not work as in your case



sudo dpkg -r --force-all openoffice-debian-menus


Now repair your system



sudo apt-get install -f








share|improve this answer















share|improve this answer




share|improve this answer








edited Oct 30 '15 at 9:39

























answered Oct 29 '15 at 18:47









A.B.A.B.

74.2k12 gold badges192 silver badges281 bronze badges




74.2k12 gold badges192 silver badges281 bronze badges















  • This is like a circle, I edited the question with the result for the command in your answer, thanks.

    – Gocht
    Oct 29 '15 at 18:50












  • spectacular answer..solved my problem

    – Edziu Eames
    May 27 '16 at 22:35











  • Thank you buddy

    – Jijesh Cherrai
    Sep 26 at 8:02

















  • This is like a circle, I edited the question with the result for the command in your answer, thanks.

    – Gocht
    Oct 29 '15 at 18:50












  • spectacular answer..solved my problem

    – Edziu Eames
    May 27 '16 at 22:35











  • Thank you buddy

    – Jijesh Cherrai
    Sep 26 at 8:02
















This is like a circle, I edited the question with the result for the command in your answer, thanks.

– Gocht
Oct 29 '15 at 18:50






This is like a circle, I edited the question with the result for the command in your answer, thanks.

– Gocht
Oct 29 '15 at 18:50














spectacular answer..solved my problem

– Edziu Eames
May 27 '16 at 22:35





spectacular answer..solved my problem

– Edziu Eames
May 27 '16 at 22:35













Thank you buddy

– Jijesh Cherrai
Sep 26 at 8:02





Thank you buddy

– Jijesh Cherrai
Sep 26 at 8:02





protected by Community Sep 20 at 14:49



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?