Ubuntu Software Center has completely disappeared
I am unable to load up the Ubuntu Software Center, it doesn't show up in the Dash on anywhere. I'm also unable to do any software updates. I also have a error message on the upper right of my screen that says "An error occurred, please run Package Manager from the right click menu or apt-get in a terminal to see what is wrong. The error message was: 'Error: BrokenCount >0.'. This usually means that your installed packages have unmet dependencies."
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please follow the steps 1 to 6 and 9 of https:/
Revision history for this message
|
#2 |
Here's the terminal output that I got after following all of those steps you told me to do. I don't think they fix any of the problems.
" Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-gtk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-draw:
libreoffice-draw depends on libreoffice-core (= 1:4.1.2~
Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-draw (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-calc:
libreoffice-calc depends on libreoffice-
Package libreoffice-
libreoffice-calc depends on libreoffice-core (= 1:4.1.2~
Package libreoffice-core is not configured yet.
dpkg: error processing libreoffice-calc (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
man-db
libreoffice-
libreoffice-
libreoffice-
libreoffice-base
libreoffice-
libreoffice-
libreoffice-
libreoffice-core
python3-uno
libreoffice-math
libreoffice-
libreoffice
libreoffice-writer
mythes-en-us
libreoffice-
libreoffice-gnome
libreoffice-
libreoffice-gtk
libreoffice-draw
libreoffice-calc
stephen@
stephen@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libreoffice-
Suggested packages:
libreoffice-
libreoffice-
The following NEW packages will be installed:
libreoffice-
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
21 not fully installed or removed.
Need to get 26.9 MB of archives.
After this operation, 77.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Fetched 26.9 MB in 9s (2807 kB/s)
Use of uninitialized value in concatenation (.) or string at /usr/share/
Use of uninitialized value in -e at /usr/share/
Use of uninitialized value in pattern match (m//) at /usr/share/
Use of uninitialized value $directory in -d at /usr/share/
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/
debconf: DbDriver "config": mkdir :No such file or directory
(Reading database ... 205705 files and directories currently installed.)
Unpacking libreoffice-common (from .../libreoffice
dpkg: error processing /var/cache/
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-
rmdir: failed to remove '/var/lib/
rmdir: failed to remove '/var/lib/
rmdir: failed to remove '/var/lib/
rmdir: failed to remove '/var/lib/
rmdir: failed to remove '/var/lib/
Processing triggers for shared-mime-info ...
Processing triggers for gnome-icon-theme ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for mime-support ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
stephen@
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:4.1.2~rc3) but it is not installed
libreoffice-
libreoffice-
libreoffice-
libreoffice-
E: Unmet dependencies. Try using -f.
stephen@
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
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:4.1.2~rc3) but it is not installed
libreoffice-
libreoffice-
libreoffice-
libreoffice-
E: Unmet dependencies. Try using -f.
stephen@
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 # deb http://
/etc/apt/
1 # deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://
17 deb-src http://
18 deb http://
19 deb-src http://
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://
27 deb-src http://
28 deb http://
29 deb-src http://
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://
37 deb-src http://
38
39 deb http://
40 deb-src http://
41 deb http://
42 deb-src http://
43 deb http://
44 deb-src http://
45
46 ## Uncomment the following two lines to add software from Canonical's
47 ## 'partner' repository.
48 ## This software is not part of Ubuntu, but is offered by Canonical and the
49 ## respective vendors as a service to Ubuntu users.
50 # deb http://
51 # deb-src http://
52
53 ## This software is not part of Ubuntu, but is offered by third-party
54 ## developers who want to ship their latest software.
55 # deb http://
56 # deb http://
57 # deb-src http://
58 # deb-src http://
stephen@
stephen@
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:4.1.2~rc3) but it is not going to be installed
libreoffice-
libreoffice-
libreoffice-
libreoffice-
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
stephen@
stephen@
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:4.1.2~rc3) but it is not going to be installed
libreoffice-
libreoffice-
libreoffice-
libreoffice-
ubuntu-desktop : Depends: software-center but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
stephen@
stephen@
stephen@
stephen@
stephen@
stephen@
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Traceback (most recent call last):
File "/usr/sbin/
if not indexer.
File "/usr/lib/
self.plugins = Plugins(
File "/usr/lib/
addon = Addon(fullname, **kw)
File "/usr/lib/
self.module = imp.load_
File "/usr/share/
from softwarecenter.
ImportError: No module named softwarecenter.
stephen@
Traceback (most recent call last):
File "/usr/sbin/
if not indexer.
File "/usr/lib/
self.plugins = Plugins(
File "/usr/lib/
addon = Addon(fullname, **kw)
File "/usr/lib/
self.module = imp.load_
File "/usr/share/
from softwarecenter.
ImportError: No module named softwarecenter.
stephen@
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
stephen@
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:4.1.2~rc3) but it is not installed
libreoffice-
libreoffice-
libreoffice-
libreoffice-
E: Unmet dependencies. Try using -f.
stephen@
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-center is already the newest version.
ubuntu-desktop is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:4.1.2~rc3) but it is not going to be installed
libreoffice-
libreoffice-
libreoffice-
libreoffice-
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
stephen@
Use of uninitialized value in concatenation (.) or string at /usr/share/
Use of uninitialized value in -e at /usr/share/
Use of uninitialized value in pattern match (m//) at /usr/share/
Use of uninitialized value $directory in -d at /usr/share/
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/
debconf: DbDriver "config": mkdir :No such file or directory
stephen@
sudo: update-
stephen@
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package software-cente
stephen@
"
Revision history for this message
|
#3 |
The package management troubleshooting procedure is not meant to solve all problems (in fact there are cases where that procedure solved the problem), but the main purpose is to provide detailed information that enable to find the root cause of the problem. Your output is incomplete, because some information has been cut off.
Please provide the output of the following commands:
cat /etc/lsb-release
uname -a
dpkg -l | grep libreoffice
dpkg -l | grep openoffice
One cause of your problem that I can already identify is that you apparently have installed the openoffice package from whatever source, which is no Ubuntu package and which conflicts with the Ubuntu libreoffice package.
Revision history for this message
|
#4 |
I think it does have something to do with OpenOffice and LibreOffice. I was starting to have issues with OpenOffice and LibreOffice, then they crashed on me and wouldn't open again. Then that's when the Ubuntu Software Center issues and all these errors started. Here's the output of those commands " stephen@
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
stephen@
Linux stephen-
stephen@
iU libreoffice 1:4.1.2~
iU libreoffice-base 1:4.1.2~
iU libreoffice-
iU libreoffice-calc 1:4.1.2~
iU libreoffice-core 1:4.1.2~
iU libreoffice-draw 1:4.1.2~
iU libreoffice-gnome 1:4.1.2~
iU libreoffice-gtk 1:4.1.2~
iU libreoffice-
iU libreoffice-
iU libreoffice-impress 1:4.1.2~
iU libreoffice-
iU libreoffice-
iU libreoffice-
iU libreoffice-math 1:4.1.2~
iU libreoffice-
iU libreoffice-
ii libreoffice-
ii libreoffice-
iU libreoffice-writer 1:4.1.2~
stephen@
ii openoffice 4.0.1-5 amd64 Brand module for OpenOffice 4.0.1
ii openoffice-base 4.0.1-5 amd64 Base module for Apache OpenOffice 4.0.1
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-calc 4.0.1-5 amd64 Calc module for Apache OpenOffice 4.0.1
ii openoffice-core01 4.0.1-5 amd64 Core module for Apache OpenOffice 4.0.1
ii openoffice-core02 4.0.1-5 amd64 Office core module for Apache OpenOffice 4.0.1
ii openoffice-core03 4.0.1-5 amd64 Office core module for Apache OpenOffice 4.0.1
ii openoffice-core04 4.0.1-5 amd64 Office core module for Apache OpenOffice 4.0.1
ii openoffice-core05 4.0.1-5 amd64 Office core module for Apache OpenOffice 4.0.1
ii openoffice-core06 4.0.1-5 amd64 Office core module for Apache OpenOffice 4.0.1
ii openoffice-core07 4.0.1-5 amd64 Office core module for Apache OpenOffice 4.0.1
ii openoffice-
ii openoffice-draw 4.0.1-5 amd64 Draw module for Apache OpenOffice 4.0.1
ii openoffice-en-us 4.0.1-5 amd64 Language module for Apache OpenOffice 4.0.1, language en_US
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-
ii openoffice-images 4.0.1-5 amd64 Images module for Apache OpenOffice 4.0.1
ii openoffice-impress 4.0.1-5 amd64 Impress module for Apache OpenOffice 4.0.1
ii openoffice-
ii openoffice-math 4.0.1-5 amd64 Math module for Apache OpenOffice 4.0.1
ii openoffice-ogltrans 4.0.1-5 amd64 OpenGL slide transitions module for Apache OpenOffice 4.0.1
ii openoffice-
ii openoffice-ooofonts 4.0.1-5 amd64 Mailcap module for Apache OpenOffice 4.0.1
ii openoffice-
ii openoffice-pyuno 4.0.1-5 amd64 Pyuno module for Apache OpenOffice 4.0.1
ii openoffice-ure 4.0.1-5 amd64 UNO Runtime Environment for OpenOffice 4.0.1
ii openoffice-writer 4.0.1-5 amd64 Writer module for Apache OpenOffice 4.0.1
ii openoffice-
ii openoffice.
Revision history for this message
|
#5 |
This is one of those cases where I think it would be smart to use the --simulate (dash dash simulate) option.
Please send us the output of the following commands:
sudo apt-get purge --simulate libreoffice*
sudo apt-get purge --simulate openoffice*
If the output proves that nothing is destroyed EXCEPT for libreoffice and openoffice, then you should execute them another time, but without the --simulate option.
Then you can install libreoffice again.
That is what I would do in such a case...
Revision history for this message
|
#6 |
Thank you for taking the time to open this question and improve the launchpad knowledge base.
Do not forget to mark this question as "solved" when this done, by clicking the button "This solved my question" in the appropriate answer.
Please open a terminal and run the following commands, one by one.
sudo apt-get purge libreoffice-*
sudo apt-get purge openoffice-*
You should know that the usage of libreoffice and openoffice at the same time is not recommended.
The above commands will try to remove completely both projects. Post the output here in a comment.
Regards
NikTh
Can you help with this problem?
Provide an answer of your own, or ask Stephen Weber for more information if necessary.