Trying to fix broken dependencies (Libre Office)How to resolve “dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb”?libreoffice-core dependency in every installLibreOffice - “installed packages have unmet dependencies”LibreOffice won't start?I am unable to install programs after 12.04 upgrade and attempt to install Libreofficeapt-get can not install or remove any packageNew 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 OfficeError in libreoffice directory after “sudo apt-get -f install”mysql-server-5.5 ErrorCannot install GDB on Ubuntu 17.10 due to Python dependency issues
What spells could cure a stroke?
Chance or direction in virus mutation
Can you bring an adjustable spanner on an airplane from Åland?
New manager unapproved PTO my old manager approved, because of a conference at the same time that's now a "condition of my employment here"
Why do we use cross products in physics?
is there a way to check a debug statement belongs to which class
Theoretically, what if I were to change some magic numbers in, say, AES?
Order of learning formal languages, automata, compilers and parsing
Is leave-one-out cross validation (LOOCV) known to systematically overestimate error?
What if I take Necrotic damage more than my hit point total?
Site is accessible by domain in all browsers but Chrome
Simulating these special dice on more regular dice
what makes a disease deadly?
Prime to Prime: Get all first 25 Prime Numbers using up to 4 Primes
Concept Question for Secure Computation
Wiegand 26-Bit Calculator - Transforming a decimal number into an 26-Bit binary number
Infant Mortality: Aluminum Electrolytic Capacitor short circuit failure
Being heavily recruited at new company: Should I tell them I’m trying to get pregnant?
Windows Defender reports Win64/Longage Trojan malware in Ubuntu 18.04.3 live server
Black screen for 1-2 seconds while alt-tabbing a fullscreen game or using a Windows key
Can any number of squares sum to a square?
Who's next to me in the queue?
Why did George Lucas set Star Wars in the past instead of the future?
How can we save ourselves from large drops in stock price?
Trying to fix broken dependencies (Libre Office)
How to resolve “dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb”?libreoffice-core dependency in every installLibreOffice - “installed packages have unmet dependencies”LibreOffice won't start?I am unable to install programs after 12.04 upgrade and attempt to install Libreofficeapt-get can not install or remove any packageNew 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 OfficeError in libreoffice directory after “sudo apt-get -f install”mysql-server-5.5 ErrorCannot install GDB on Ubuntu 17.10 due to Python dependency issues
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I uninstalled Libreoffice and installed Openoffice only To find out that I do not like OpenOffice any more. I uninstalled OpenOffice today and tried installing LibreOffice and I got errors.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed
libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
libreoffice-java-common : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
y-ppa-manager : Depends: yad (>= 0.8.0) but it is not installed
Depends: python-software-properties but it is not installed
So I tried to do sudo apt-get -f install
and I get asked to install and I say yes this is the message.
$ sudo apt-get -f install
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-crystal libreoffice-style-hicontrast
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 10 not upgraded.
41 not fully installed or removed.
Need to get 0 B/19.9 MB of archives.
After this operation, 76.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 453874 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb ...
Unpacking libreoffice-common (1:4.2.7-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1-9764
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-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...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I can no longer install anything or update my system.
apt dependencies libreoffice
add a comment
|
I uninstalled Libreoffice and installed Openoffice only To find out that I do not like OpenOffice any more. I uninstalled OpenOffice today and tried installing LibreOffice and I got errors.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed
libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
libreoffice-java-common : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
y-ppa-manager : Depends: yad (>= 0.8.0) but it is not installed
Depends: python-software-properties but it is not installed
So I tried to do sudo apt-get -f install
and I get asked to install and I say yes this is the message.
$ sudo apt-get -f install
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-crystal libreoffice-style-hicontrast
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 10 not upgraded.
41 not fully installed or removed.
Need to get 0 B/19.9 MB of archives.
After this operation, 76.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 453874 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb ...
Unpacking libreoffice-common (1:4.2.7-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1-9764
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-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...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I can no longer install anything or update my system.
apt dependencies libreoffice
More information is needed, like what version of Ubuntu you are using, and whether or not you are using a ppa.
– user7134
Nov 11 '14 at 19:00
Ubuntu 14.04, I initally tried installing Libreoffice through the App grid Software
– Brandd Newman
Nov 11 '14 at 19:46
You need to see this..askubuntu.com/questions/691630/… I was having the same problem.. It helped me..
– user301445
May 9 '17 at 16:18
add a comment
|
I uninstalled Libreoffice and installed Openoffice only To find out that I do not like OpenOffice any more. I uninstalled OpenOffice today and tried installing LibreOffice and I got errors.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed
libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
libreoffice-java-common : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
y-ppa-manager : Depends: yad (>= 0.8.0) but it is not installed
Depends: python-software-properties but it is not installed
So I tried to do sudo apt-get -f install
and I get asked to install and I say yes this is the message.
$ sudo apt-get -f install
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-crystal libreoffice-style-hicontrast
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 10 not upgraded.
41 not fully installed or removed.
Need to get 0 B/19.9 MB of archives.
After this operation, 76.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 453874 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb ...
Unpacking libreoffice-common (1:4.2.7-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1-9764
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-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...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I can no longer install anything or update my system.
apt dependencies libreoffice
I uninstalled Libreoffice and installed Openoffice only To find out that I do not like OpenOffice any more. I uninstalled OpenOffice today and tried installing LibreOffice and I got errors.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed
libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
libreoffice-java-common : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
y-ppa-manager : Depends: yad (>= 0.8.0) but it is not installed
Depends: python-software-properties but it is not installed
So I tried to do sudo apt-get -f install
and I get asked to install and I say yes this is the message.
$ sudo apt-get -f install
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-crystal libreoffice-style-hicontrast
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 10 not upgraded.
41 not fully installed or removed.
Need to get 0 B/19.9 MB of archives.
After this operation, 76.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 453874 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb ...
Unpacking libreoffice-common (1:4.2.7-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1-9764
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-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...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I can no longer install anything or update my system.
apt dependencies libreoffice
apt dependencies libreoffice
edited Apr 26 '17 at 8:19
Zanna
55.7k15 gold badges152 silver badges256 bronze badges
55.7k15 gold badges152 silver badges256 bronze badges
asked Nov 11 '14 at 18:10
Brandd NewmanBrandd Newman
2211 gold badge2 silver badges11 bronze badges
2211 gold badge2 silver badges11 bronze badges
More information is needed, like what version of Ubuntu you are using, and whether or not you are using a ppa.
– user7134
Nov 11 '14 at 19:00
Ubuntu 14.04, I initally tried installing Libreoffice through the App grid Software
– Brandd Newman
Nov 11 '14 at 19:46
You need to see this..askubuntu.com/questions/691630/… I was having the same problem.. It helped me..
– user301445
May 9 '17 at 16:18
add a comment
|
More information is needed, like what version of Ubuntu you are using, and whether or not you are using a ppa.
– user7134
Nov 11 '14 at 19:00
Ubuntu 14.04, I initally tried installing Libreoffice through the App grid Software
– Brandd Newman
Nov 11 '14 at 19:46
You need to see this..askubuntu.com/questions/691630/… I was having the same problem.. It helped me..
– user301445
May 9 '17 at 16:18
More information is needed, like what version of Ubuntu you are using, and whether or not you are using a ppa.
– user7134
Nov 11 '14 at 19:00
More information is needed, like what version of Ubuntu you are using, and whether or not you are using a ppa.
– user7134
Nov 11 '14 at 19:00
Ubuntu 14.04, I initally tried installing Libreoffice through the App grid Software
– Brandd Newman
Nov 11 '14 at 19:46
Ubuntu 14.04, I initally tried installing Libreoffice through the App grid Software
– Brandd Newman
Nov 11 '14 at 19:46
You need to see this..askubuntu.com/questions/691630/… I was having the same problem.. It helped me..
– user301445
May 9 '17 at 16:18
You need to see this..askubuntu.com/questions/691630/… I was having the same problem.. It helped me..
– user301445
May 9 '17 at 16:18
add a comment
|
5 Answers
5
active
oldest
votes
I have answered this myself after doing some research and learning some new tricks. I am going to provide the answer in case someone runs into an issue related to these broken dependencies. I used synaptic package manager to remove broken packages. Here is how I did that
First I Downloaded Synaptic Package Manager Synaptic Package Manager
I then moved the downloaded .deb file to my home folder ( for easy terminal access) then proceeded to open terminal
CTRL + ALT + T
I had to install the package via dpkg because apt-get was not working due to broken dependencies
sudo dpkg -i synaptic_0.81.1_amd64.deb
once this was complete I opened up synaptic running the following in terminal
sudo synaptic
Within the Synaptic Package Manager
click on the Status Tab
and then click on Broken
and select the packages that are broken.
and Mark for Complete Removal
and continue to apply the changes.
I also made sure everything was completely removed by using the following in terminal
sudo apt-get autoremove
and double checking the packages in synaptic package manager
there was no left over libre office packages so I continued to install Libre Office through Ubuntu Software Center
add a comment
|
If you have this problem do this:
sudo mkdir /usr/bin/soffice
sudo apt-get -f install -y
add a comment
|
I understand this happened years ago, but I had a similar situation with 18.04 LTS (Bionic). My computer was stuck, not updates, installs...nothing. So......
The only way I solved the problem was by installing the package named libreoffice-common. This is where I found the dpkg error message displaying:
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.4-9788
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.0.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)"
I had to carefully read the error message. It was letting me know that another application by the name of openoffice-debian-menus was using the file
located in /usr/bin/soffice. This file could not be overwritten for some reason or another.
So I removed the program using dpkg:
sudo dpkg -P openoffice-debian-menus 4.1.4-9788
Installed libreoffice-common:
sudo apt install libreoffice-common
Ran updates:
sudo apt update && sudo apt list --upgradable
After running the previous command, use the following to verify that you want the packages included in the upgrade: sudo apt show pkgs "Package name". If everything looks fine, run sudo apt full-upgrade && sudo apt autoremove.
I hope everything pans out.
add a comment
|
Try these, one by one:
sudo apt-get purge openoffice*
sudo apt-get clean && sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install libreoffice
add a comment
|
Try:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
Then:
sudo apt-get -f install
sudo ap-get install libreoffice
source: How to resolve "dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb"?
add a comment
|
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have answered this myself after doing some research and learning some new tricks. I am going to provide the answer in case someone runs into an issue related to these broken dependencies. I used synaptic package manager to remove broken packages. Here is how I did that
First I Downloaded Synaptic Package Manager Synaptic Package Manager
I then moved the downloaded .deb file to my home folder ( for easy terminal access) then proceeded to open terminal
CTRL + ALT + T
I had to install the package via dpkg because apt-get was not working due to broken dependencies
sudo dpkg -i synaptic_0.81.1_amd64.deb
once this was complete I opened up synaptic running the following in terminal
sudo synaptic
Within the Synaptic Package Manager
click on the Status Tab
and then click on Broken
and select the packages that are broken.
and Mark for Complete Removal
and continue to apply the changes.
I also made sure everything was completely removed by using the following in terminal
sudo apt-get autoremove
and double checking the packages in synaptic package manager
there was no left over libre office packages so I continued to install Libre Office through Ubuntu Software Center
add a comment
|
I have answered this myself after doing some research and learning some new tricks. I am going to provide the answer in case someone runs into an issue related to these broken dependencies. I used synaptic package manager to remove broken packages. Here is how I did that
First I Downloaded Synaptic Package Manager Synaptic Package Manager
I then moved the downloaded .deb file to my home folder ( for easy terminal access) then proceeded to open terminal
CTRL + ALT + T
I had to install the package via dpkg because apt-get was not working due to broken dependencies
sudo dpkg -i synaptic_0.81.1_amd64.deb
once this was complete I opened up synaptic running the following in terminal
sudo synaptic
Within the Synaptic Package Manager
click on the Status Tab
and then click on Broken
and select the packages that are broken.
and Mark for Complete Removal
and continue to apply the changes.
I also made sure everything was completely removed by using the following in terminal
sudo apt-get autoremove
and double checking the packages in synaptic package manager
there was no left over libre office packages so I continued to install Libre Office through Ubuntu Software Center
add a comment
|
I have answered this myself after doing some research and learning some new tricks. I am going to provide the answer in case someone runs into an issue related to these broken dependencies. I used synaptic package manager to remove broken packages. Here is how I did that
First I Downloaded Synaptic Package Manager Synaptic Package Manager
I then moved the downloaded .deb file to my home folder ( for easy terminal access) then proceeded to open terminal
CTRL + ALT + T
I had to install the package via dpkg because apt-get was not working due to broken dependencies
sudo dpkg -i synaptic_0.81.1_amd64.deb
once this was complete I opened up synaptic running the following in terminal
sudo synaptic
Within the Synaptic Package Manager
click on the Status Tab
and then click on Broken
and select the packages that are broken.
and Mark for Complete Removal
and continue to apply the changes.
I also made sure everything was completely removed by using the following in terminal
sudo apt-get autoremove
and double checking the packages in synaptic package manager
there was no left over libre office packages so I continued to install Libre Office through Ubuntu Software Center
I have answered this myself after doing some research and learning some new tricks. I am going to provide the answer in case someone runs into an issue related to these broken dependencies. I used synaptic package manager to remove broken packages. Here is how I did that
First I Downloaded Synaptic Package Manager Synaptic Package Manager
I then moved the downloaded .deb file to my home folder ( for easy terminal access) then proceeded to open terminal
CTRL + ALT + T
I had to install the package via dpkg because apt-get was not working due to broken dependencies
sudo dpkg -i synaptic_0.81.1_amd64.deb
once this was complete I opened up synaptic running the following in terminal
sudo synaptic
Within the Synaptic Package Manager
click on the Status Tab
and then click on Broken
and select the packages that are broken.
and Mark for Complete Removal
and continue to apply the changes.
I also made sure everything was completely removed by using the following in terminal
sudo apt-get autoremove
and double checking the packages in synaptic package manager
there was no left over libre office packages so I continued to install Libre Office through Ubuntu Software Center
answered Nov 12 '14 at 7:01
Brandd NewmanBrandd Newman
2211 gold badge2 silver badges11 bronze badges
2211 gold badge2 silver badges11 bronze badges
add a comment
|
add a comment
|
If you have this problem do this:
sudo mkdir /usr/bin/soffice
sudo apt-get -f install -y
add a comment
|
If you have this problem do this:
sudo mkdir /usr/bin/soffice
sudo apt-get -f install -y
add a comment
|
If you have this problem do this:
sudo mkdir /usr/bin/soffice
sudo apt-get -f install -y
If you have this problem do this:
sudo mkdir /usr/bin/soffice
sudo apt-get -f install -y
edited Jan 19 '16 at 11:10
Eric Carvalho
45.1k18 gold badges121 silver badges152 bronze badges
45.1k18 gold badges121 silver badges152 bronze badges
answered Jan 19 '16 at 8:59
Rahim BaxseliyevRahim Baxseliyev
311 bronze badge
311 bronze badge
add a comment
|
add a comment
|
I understand this happened years ago, but I had a similar situation with 18.04 LTS (Bionic). My computer was stuck, not updates, installs...nothing. So......
The only way I solved the problem was by installing the package named libreoffice-common. This is where I found the dpkg error message displaying:
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.4-9788
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.0.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)"
I had to carefully read the error message. It was letting me know that another application by the name of openoffice-debian-menus was using the file
located in /usr/bin/soffice. This file could not be overwritten for some reason or another.
So I removed the program using dpkg:
sudo dpkg -P openoffice-debian-menus 4.1.4-9788
Installed libreoffice-common:
sudo apt install libreoffice-common
Ran updates:
sudo apt update && sudo apt list --upgradable
After running the previous command, use the following to verify that you want the packages included in the upgrade: sudo apt show pkgs "Package name". If everything looks fine, run sudo apt full-upgrade && sudo apt autoremove.
I hope everything pans out.
add a comment
|
I understand this happened years ago, but I had a similar situation with 18.04 LTS (Bionic). My computer was stuck, not updates, installs...nothing. So......
The only way I solved the problem was by installing the package named libreoffice-common. This is where I found the dpkg error message displaying:
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.4-9788
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.0.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)"
I had to carefully read the error message. It was letting me know that another application by the name of openoffice-debian-menus was using the file
located in /usr/bin/soffice. This file could not be overwritten for some reason or another.
So I removed the program using dpkg:
sudo dpkg -P openoffice-debian-menus 4.1.4-9788
Installed libreoffice-common:
sudo apt install libreoffice-common
Ran updates:
sudo apt update && sudo apt list --upgradable
After running the previous command, use the following to verify that you want the packages included in the upgrade: sudo apt show pkgs "Package name". If everything looks fine, run sudo apt full-upgrade && sudo apt autoremove.
I hope everything pans out.
add a comment
|
I understand this happened years ago, but I had a similar situation with 18.04 LTS (Bionic). My computer was stuck, not updates, installs...nothing. So......
The only way I solved the problem was by installing the package named libreoffice-common. This is where I found the dpkg error message displaying:
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.4-9788
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.0.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)"
I had to carefully read the error message. It was letting me know that another application by the name of openoffice-debian-menus was using the file
located in /usr/bin/soffice. This file could not be overwritten for some reason or another.
So I removed the program using dpkg:
sudo dpkg -P openoffice-debian-menus 4.1.4-9788
Installed libreoffice-common:
sudo apt install libreoffice-common
Ran updates:
sudo apt update && sudo apt list --upgradable
After running the previous command, use the following to verify that you want the packages included in the upgrade: sudo apt show pkgs "Package name". If everything looks fine, run sudo apt full-upgrade && sudo apt autoremove.
I hope everything pans out.
I understand this happened years ago, but I had a similar situation with 18.04 LTS (Bionic). My computer was stuck, not updates, installs...nothing. So......
The only way I solved the problem was by installing the package named libreoffice-common. This is where I found the dpkg error message displaying:
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.4-9788
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.0.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)"
I had to carefully read the error message. It was letting me know that another application by the name of openoffice-debian-menus was using the file
located in /usr/bin/soffice. This file could not be overwritten for some reason or another.
So I removed the program using dpkg:
sudo dpkg -P openoffice-debian-menus 4.1.4-9788
Installed libreoffice-common:
sudo apt install libreoffice-common
Ran updates:
sudo apt update && sudo apt list --upgradable
After running the previous command, use the following to verify that you want the packages included in the upgrade: sudo apt show pkgs "Package name". If everything looks fine, run sudo apt full-upgrade && sudo apt autoremove.
I hope everything pans out.
edited Jul 4 '18 at 18:52
answered Jul 4 '18 at 6:36
Randy RobinsonRandy Robinson
213 bronze badges
213 bronze badges
add a comment
|
add a comment
|
Try these, one by one:
sudo apt-get purge openoffice*
sudo apt-get clean && sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install libreoffice
add a comment
|
Try these, one by one:
sudo apt-get purge openoffice*
sudo apt-get clean && sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install libreoffice
add a comment
|
Try these, one by one:
sudo apt-get purge openoffice*
sudo apt-get clean && sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install libreoffice
Try these, one by one:
sudo apt-get purge openoffice*
sudo apt-get clean && sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install libreoffice
edited Nov 12 '14 at 0:01
David Foerster
29.9k13 gold badges70 silver badges117 bronze badges
29.9k13 gold badges70 silver badges117 bronze badges
answered Nov 11 '14 at 20:52
wladypaulywladypauly
11
11
add a comment
|
add a comment
|
Try:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
Then:
sudo apt-get -f install
sudo ap-get install libreoffice
source: How to resolve "dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb"?
add a comment
|
Try:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
Then:
sudo apt-get -f install
sudo ap-get install libreoffice
source: How to resolve "dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb"?
add a comment
|
Try:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
Then:
sudo apt-get -f install
sudo ap-get install libreoffice
source: How to resolve "dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb"?
Try:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
Then:
sudo apt-get -f install
sudo ap-get install libreoffice
source: How to resolve "dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb"?
answered Jul 7 '17 at 9:21
user708714user708714
1
1
add a comment
|
add a comment
|
Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.
Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.
Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.
Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.
More information is needed, like what version of Ubuntu you are using, and whether or not you are using a ppa.
– user7134
Nov 11 '14 at 19:00
Ubuntu 14.04, I initally tried installing Libreoffice through the App grid Software
– Brandd Newman
Nov 11 '14 at 19:46
You need to see this..askubuntu.com/questions/691630/… I was having the same problem.. It helped me..
– user301445
May 9 '17 at 16:18