Ubuntu Software Center has completely disappeared

Asked by Stephen Weber

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
Manfred Hampl (m-hampl) said :
#1

Please follow the steps 1 to 6 and 9 of https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure and paste all output into this question document https://answers.launchpad.net/ubuntu/+question/239626

Revision history for this message
Stephen Weber (weberstephen91) said :
#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~rc3-0ubuntu1); however:
  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-base-core (= 1:4.1.2~rc3-0ubuntu1); however:
  Package libreoffice-base-core is not configured yet.
 libreoffice-calc depends on libreoffice-core (= 1:4.1.2~rc3-0ubuntu1); however:
  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-l10n-en-gb
 libreoffice-java-common
 libreoffice-l10n-en-za
 libreoffice-base
 libreoffice-help-en-gb
 libreoffice-report-builder-bin
 libreoffice-help-en-us
 libreoffice-core
 python3-uno
 libreoffice-math
 libreoffice-impress
 libreoffice
 libreoffice-writer
 mythes-en-us
 libreoffice-base-core
 libreoffice-gnome
 libreoffice-pdfimport
 libreoffice-gtk
 libreoffice-draw
 libreoffice-calc
stephen@stephen-ThinkPad-T400:~$ sudo dpkg --clear-avail
stephen@stephen-ThinkPad-T400:~$ LANG=C;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-tango
The following NEW packages will be installed:
  libreoffice-common
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://archive.ubuntu.com/ubuntu/ saucy/main libreoffice-common all 1:4.1.2~rc3-0ubuntu1 [26.9 MB]
Fetched 26.9 MB in 9s (2807 kB/s)
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
(Reading database ... 205705 files and directories currently installed.)
Unpacking libreoffice-common (from .../libreoffice-common_1%3a4.1.2~rc3-0ubuntu1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libreoffice-common_1%3a4.1.2~rc3-0ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.0-9714
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 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/applications/bamf-2.index...
Processing triggers for mime-support ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a4.1.2~rc3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
stephen@stephen-ThinkPad-T400:~$ LANG=C;sudo apt-get --fix-missing install
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-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
E: Unmet dependencies. Try using -f.
stephen@stephen-ThinkPad-T400:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://archive.ubuntu.com saucy InRelease
Ign http://archive.ubuntu.com saucy-updates InRelease
Ign http://archive.ubuntu.com saucy-backports InRelease
Ign http://archive.ubuntu.com saucy-security InRelease
Hit http://archive.ubuntu.com saucy Release.gpg
Hit http://archive.ubuntu.com saucy-updates Release.gpg
Hit http://archive.ubuntu.com saucy-backports Release.gpg
Hit http://archive.ubuntu.com saucy-security Release.gpg
Hit http://archive.ubuntu.com saucy Release
Hit http://archive.ubuntu.com saucy-updates Release
Hit http://archive.ubuntu.com saucy-backports Release
Hit http://archive.ubuntu.com saucy-security Release
Hit http://archive.ubuntu.com saucy/main Sources
Hit http://archive.ubuntu.com saucy/restricted Sources
Hit http://archive.ubuntu.com saucy/universe Sources
Hit http://archive.ubuntu.com saucy/multiverse Sources
Hit http://archive.ubuntu.com saucy/main amd64 Packages
Hit http://archive.ubuntu.com saucy/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy/universe amd64 Packages
Hit http://archive.ubuntu.com saucy/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy/main i386 Packages
Hit http://archive.ubuntu.com saucy/restricted i386 Packages
Hit http://archive.ubuntu.com saucy/universe i386 Packages
Hit http://archive.ubuntu.com saucy/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy/main Translation-en
Hit http://archive.ubuntu.com saucy/multiverse Translation-en
Hit http://archive.ubuntu.com saucy/restricted Translation-en
Hit http://archive.ubuntu.com saucy/universe Translation-en
Hit http://archive.ubuntu.com saucy-updates/main Sources
Hit http://archive.ubuntu.com saucy-updates/restricted Sources
Hit http://archive.ubuntu.com saucy-updates/universe Sources
Hit http://archive.ubuntu.com saucy-updates/multiverse Sources
Hit http://archive.ubuntu.com saucy-updates/main amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/main i386 Packages
Hit http://archive.ubuntu.com saucy-updates/restricted i386 Packages
Hit http://archive.ubuntu.com saucy-updates/universe i386 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy-updates/main Translation-en
Hit http://archive.ubuntu.com saucy-updates/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-updates/restricted Translation-en
Hit http://archive.ubuntu.com saucy-updates/universe Translation-en
Hit http://archive.ubuntu.com saucy-backports/main Sources
Hit http://archive.ubuntu.com saucy-backports/restricted Sources
Hit http://archive.ubuntu.com saucy-backports/universe Sources
Hit http://archive.ubuntu.com saucy-backports/multiverse Sources
Hit http://archive.ubuntu.com saucy-backports/main amd64 Packages
Hit http://archive.ubuntu.com saucy-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy-backports/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-backports/main i386 Packages
Hit http://archive.ubuntu.com saucy-backports/restricted i386 Packages
Hit http://archive.ubuntu.com saucy-backports/universe i386 Packages
Hit http://archive.ubuntu.com saucy-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy-backports/main Translation-en
Hit http://archive.ubuntu.com saucy-backports/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-backports/restricted Translation-en
Hit http://archive.ubuntu.com saucy-backports/universe Translation-en
Hit http://archive.ubuntu.com saucy-security/main Sources
Hit http://archive.ubuntu.com saucy-security/restricted Sources
Hit http://archive.ubuntu.com saucy-security/universe Sources
Hit http://archive.ubuntu.com saucy-security/multiverse Sources
Hit http://archive.ubuntu.com saucy-security/main amd64 Packages
Hit http://archive.ubuntu.com saucy-security/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy-security/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-security/main i386 Packages
Hit http://archive.ubuntu.com saucy-security/restricted i386 Packages
Hit http://archive.ubuntu.com saucy-security/universe i386 Packages
Hit http://archive.ubuntu.com saucy-security/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy-security/main Translation-en
Hit http://archive.ubuntu.com saucy-security/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-security/restricted Translation-en
Hit http://archive.ubuntu.com saucy-security/universe Translation-en
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-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
E: Unmet dependencies. Try using -f.
stephen@stephen-ThinkPad-T400:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/google-chrome.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 # deb http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://archive.ubuntu.com/ubuntu saucy main restricted
     6 deb-src http://archive.ubuntu.com/ubuntu saucy main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu saucy-updates main restricted
    11 deb-src http://archive.ubuntu.com/ubuntu saucy-updates main restricted
    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://archive.ubuntu.com/ubuntu saucy universe
    17 deb-src http://archive.ubuntu.com/ubuntu saucy universe
    18 deb http://archive.ubuntu.com/ubuntu saucy-updates universe
    19 deb-src http://archive.ubuntu.com/ubuntu saucy-updates universe
    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://archive.ubuntu.com/ubuntu saucy multiverse
    27 deb-src http://archive.ubuntu.com/ubuntu saucy multiverse
    28 deb http://archive.ubuntu.com/ubuntu saucy-updates multiverse
    29 deb-src http://archive.ubuntu.com/ubuntu saucy-updates multiverse
    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://archive.ubuntu.com/ubuntu saucy-backports main restricted universe multiverse
    37 deb-src http://archive.ubuntu.com/ubuntu saucy-backports main restricted universe multiverse
    38
    39 deb http://archive.ubuntu.com/ubuntu saucy-security main restricted
    40 deb-src http://archive.ubuntu.com/ubuntu saucy-security main restricted
    41 deb http://archive.ubuntu.com/ubuntu saucy-security universe
    42 deb-src http://archive.ubuntu.com/ubuntu saucy-security universe
    43 deb http://archive.ubuntu.com/ubuntu saucy-security multiverse
    44 deb-src http://archive.ubuntu.com/ubuntu saucy-security multiverse
    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://archive.canonical.com/ubuntu saucy partner
    51 # deb-src http://archive.canonical.com/ubuntu saucy partner
    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://extras.ubuntu.com/ubuntu saucy main
    56 # deb http://repository.spotify.com stable non-free
    57 # deb-src http://repository.spotify.com stable non-free
    58 # deb-src http://extras.ubuntu.com/ubuntu saucy main
stephen@stephen-ThinkPad-T400:~$ sudo rm /usr/lib/python*/dist-packages/__pycache__/*pyc
stephen@stephen-ThinkPad-T400:~$ sudo apt-get install --reinstall python3-gi
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-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-java-common : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-za : Depends: libreoffice-common 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-ThinkPad-T400:~$
stephen@stephen-ThinkPad-T400:~$ sudo apt-get purge software-center
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-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-java-common : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not going to be installed
 ubuntu-desktop : Depends: software-center but it is not going to be installed
                  Recommends: empathy but it is not going to be installed
                  Recommends: gnome-mahjongg but it is not going to be installed
                  Recommends: libreoffice-ogltrans but it is not going to be installed
                  Recommends: libreoffice-presentation-minimizer but it is not going to be installed
                  Recommends: totem but it is not going to be installed
                  Recommends: totem-mozilla but it is not going to be installed
                  Recommends: xul-ext-unity but it is not going to be installed
                  Recommends: xul-ext-webaccounts 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-ThinkPad-T400:~$ rm -rf ~/.cache/software-center
stephen@stephen-ThinkPad-T400:~$ rm -rf ~/.config/software-cente
stephen@stephen-ThinkPad-T400:~$ rm -rf ~/.cache/update-manager-core
stephen@stephen-ThinkPad-T400:~$ sudo rm /var/lib/apt-xapian-index/cataloged_times.p
stephen@stephen-ThinkPad-T400:~$ sudo rm /var/lib/apt-xapian-index/values
stephen@stephen-ThinkPad-T400:~$ sudo update-apt-xapian-index --verbose --force
Reading plugin /usr/share/apt-xapian-index/plugins/aliases.py.
Reading plugin /usr/share/apt-xapian-index/plugins/app-install.py.
Reading plugin /usr/share/apt-xapian-index/plugins/apttags.py.
Reading plugin /usr/share/apt-xapian-index/plugins/cataloged_time.py.
Reading plugin /usr/share/apt-xapian-index/plugins/debtags.py.
Reading plugin /usr/share/apt-xapian-index/plugins/descriptions.py.
Reading plugin /usr/share/apt-xapian-index/plugins/display_name.py.
Reading plugin /usr/share/apt-xapian-index/plugins/origin.py.
Reading plugin /usr/share/apt-xapian-index/plugins/relations.py.
Reading plugin /usr/share/apt-xapian-index/plugins/sections.py.
Reading plugin /usr/share/apt-xapian-index/plugins/sizes.py.
Reading plugin /usr/share/apt-xapian-index/plugins/software_center.py.
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 101, in <module>
    if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 471, in setupIndexing
    self.plugins = Plugins(progress=self.progress, system=system)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 94, in __init__
    addon = Addon(fullname, **kw)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 49, in __init__
    self.module = imp.load_source("axi.plugin_" + self.name, fname)
  File "/usr/share/apt-xapian-index/plugins/software_center.py", line 9, in <module>
    from softwarecenter.enums import (
ImportError: No module named softwarecenter.enums
stephen@stephen-ThinkPad-T400:~$ sudo update-apt-xapian-index --force
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 101, in <module>
    if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 471, in setupIndexing
    self.plugins = Plugins(progress=self.progress, system=system)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 94, in __init__
    addon = Addon(fullname, **kw)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 49, in __init__
    self.module = imp.load_source("axi.plugin_" + self.name, fname)
  File "/usr/share/apt-xapian-index/plugins/software_center.py", line 9, in <module>
    from softwarecenter.enums import (
ImportError: No module named softwarecenter.enums
stephen@stephen-ThinkPad-T400:~$ sudo apt-get update
Ign http://archive.ubuntu.com saucy InRelease
Ign http://archive.ubuntu.com saucy-updates InRelease
Ign http://archive.ubuntu.com saucy-backports InRelease
Ign http://archive.ubuntu.com saucy-security InRelease
Hit http://archive.ubuntu.com saucy Release.gpg
Hit http://archive.ubuntu.com saucy-updates Release.gpg
Hit http://archive.ubuntu.com saucy-backports Release.gpg
Hit http://archive.ubuntu.com saucy-security Release.gpg
Hit http://archive.ubuntu.com saucy Release
Hit http://archive.ubuntu.com saucy-updates Release
Hit http://archive.ubuntu.com saucy-backports Release
Hit http://archive.ubuntu.com saucy-security Release
Hit http://archive.ubuntu.com saucy/main Sources
Hit http://archive.ubuntu.com saucy/restricted Sources
Hit http://archive.ubuntu.com saucy/universe Sources
Hit http://archive.ubuntu.com saucy/multiverse Sources
Hit http://archive.ubuntu.com saucy/main amd64 Packages
Hit http://archive.ubuntu.com saucy/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy/universe amd64 Packages
Hit http://archive.ubuntu.com saucy/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy/main i386 Packages
Hit http://archive.ubuntu.com saucy/restricted i386 Packages
Hit http://archive.ubuntu.com saucy/universe i386 Packages
Hit http://archive.ubuntu.com saucy/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy/main Translation-en
Hit http://archive.ubuntu.com saucy/multiverse Translation-en
Hit http://archive.ubuntu.com saucy/restricted Translation-en
Hit http://archive.ubuntu.com saucy/universe Translation-en
Hit http://archive.ubuntu.com saucy-updates/main Sources
Hit http://archive.ubuntu.com saucy-updates/restricted Sources
Hit http://archive.ubuntu.com saucy-updates/universe Sources
Hit http://archive.ubuntu.com saucy-updates/multiverse Sources
Hit http://archive.ubuntu.com saucy-updates/main amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/main i386 Packages
Hit http://archive.ubuntu.com saucy-updates/restricted i386 Packages
Hit http://archive.ubuntu.com saucy-updates/universe i386 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy-updates/main Translation-en
Hit http://archive.ubuntu.com saucy-updates/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-updates/restricted Translation-en
Hit http://archive.ubuntu.com saucy-updates/universe Translation-en
Hit http://archive.ubuntu.com saucy-backports/main Sources
Hit http://archive.ubuntu.com saucy-backports/restricted Sources
Hit http://archive.ubuntu.com saucy-backports/universe Sources
Hit http://archive.ubuntu.com saucy-backports/multiverse Sources
Hit http://archive.ubuntu.com saucy-backports/main amd64 Packages
Hit http://archive.ubuntu.com saucy-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy-backports/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-backports/main i386 Packages
Hit http://archive.ubuntu.com saucy-backports/restricted i386 Packages
Hit http://archive.ubuntu.com saucy-backports/universe i386 Packages
Hit http://archive.ubuntu.com saucy-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy-backports/main Translation-en
Hit http://archive.ubuntu.com saucy-backports/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-backports/restricted Translation-en
Hit http://archive.ubuntu.com saucy-backports/universe Translation-en
Hit http://archive.ubuntu.com saucy-security/main Sources
Hit http://archive.ubuntu.com saucy-security/restricted Sources
Hit http://archive.ubuntu.com saucy-security/universe Sources
Hit http://archive.ubuntu.com saucy-security/multiverse Sources
Hit http://archive.ubuntu.com saucy-security/main amd64 Packages
Hit http://archive.ubuntu.com saucy-security/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy-security/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-security/main i386 Packages
Hit http://archive.ubuntu.com saucy-security/restricted i386 Packages
Hit http://archive.ubuntu.com saucy-security/universe i386 Packages
Hit http://archive.ubuntu.com saucy-security/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy-security/main Translation-en
Hit http://archive.ubuntu.com saucy-security/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-security/restricted Translation-en
Hit http://archive.ubuntu.com saucy-security/universe Translation-en
Reading package lists... Done
stephen@stephen-ThinkPad-T400:~$ sudo apt-get dist-upgrade
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-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
E: Unmet dependencies. Try using -f.
stephen@stephen-ThinkPad-T400:~$ sudo apt-get install software-center ubuntu-desktop
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-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-java-common : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-za : Depends: libreoffice-common 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-ThinkPad-T400:~$ sudo dpkg-reconfigure software-center --force
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
stephen@stephen-ThinkPad-T400:~$ sudo update-software-center
sudo: update-software-center: command not found
stephen@stephen-ThinkPad-T400:~$ sudo apt-get install --reinstall software-cente
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package software-cente
stephen@stephen-ThinkPad-T400:~$
"

Revision history for this message
Manfred Hampl (m-hampl) said :
#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
Stephen Weber (weberstephen91) said :
#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@stephen-ThinkPad-T400:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.10
DISTRIB_CODENAME=saucy
DISTRIB_DESCRIPTION="Ubuntu 13.10"
stephen@stephen-ThinkPad-T400:~$ uname -a
Linux stephen-ThinkPad-T400 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
stephen@stephen-ThinkPad-T400:~$ dpkg -l | grep libreoffice
iU libreoffice 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite (metapackage)
iU libreoffice-base 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- database
iU libreoffice-base-core 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- shared library
iU libreoffice-calc 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- spreadsheet
iU libreoffice-core 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- arch-dependent files
iU libreoffice-draw 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- drawing
iU libreoffice-gnome 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- GNOME integration
iU libreoffice-gtk 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- GTK+ integration
iU libreoffice-help-en-gb 1:4.1.2~rc3-0ubuntu1 all office productivity suite -- English_british help
iU libreoffice-help-en-us 1:4.1.2~rc3-0ubuntu1 all office productivity suite -- English_american help
iU libreoffice-impress 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- presentation
iU libreoffice-java-common 1:4.1.2~rc3-0ubuntu1 all office productivity suite -- arch-independent Java support files
iU libreoffice-l10n-en-gb 1:4.1.2~rc3-0ubuntu1 all office productivity suite -- English_british language package
iU libreoffice-l10n-en-za 1:4.1.2~rc3-0ubuntu1 all office productivity suite -- English_southafrican language package
iU libreoffice-math 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- equation editor
iU libreoffice-pdfimport 1:4.1.2~rc3-0ubuntu1 amd64 PDF Import component for LibreOffice
iU libreoffice-report-builder-bin 1:4.1.2~rc3-0ubuntu1 amd64 LibreOffice component for building database reports -- libraries
ii libreoffice-style-galaxy 1:4.1.2~rc3-0ubuntu1 all office productivity suite -- Galaxy (Default) symbol style
ii libreoffice-style-human 1:4.1.2~rc3-0ubuntu1 all office productivity suite -- Human symbol style
iU libreoffice-writer 1:4.1.2~rc3-0ubuntu1 amd64 office productivity suite -- word processor
stephen@stephen-ThinkPad-T400:~$ dpkg -l | grep openoffice
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-brand-base 4.0.1-5 amd64 Base brand module for OpenOffice 4.0.1
ii openoffice-brand-calc 4.0.1-5 amd64 Calc brand module for OpenOffice 4.0.1
ii openoffice-brand-draw 4.0.1-5 amd64 Draw brand module for OpenOffice 4.0.1
ii openoffice-brand-en-us 4.0.1-5 amd64 Brand language module for OpenOffice 4.0.1
ii openoffice-brand-impress 4.0.1-5 amd64 Impress brand module for OpenOffice 4.0.1
ii openoffice-brand-math 4.0.1-5 amd64 Math brand module for OpenOffice 4.0.1
ii openoffice-brand-writer 4.0.1-5 amd64 Writer brand module for OpenOffice 4.0.1
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-debian-menus 4.0-9714 all OpenOffice desktop integration
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-en-us-base 4.0.1-5 amd64 Base language module for Apache OpenOffice 4.0.1, language en_US
ii openoffice-en-us-calc 4.0.1-5 amd64 Calc language module for Apache OpenOffice 4.0.1, language en_US
ii openoffice-en-us-draw 4.0.1-5 amd64 Draw language module for Apache OpenOffice , language en_US
ii openoffice-en-us-help 4.0.1-5 amd64 Language help module for Apache OpenOffice 4.0.1, language en_US
ii openoffice-en-us-impress 4.0.1-5 amd64 Impress language module for Apache OpenOffice 4.0.1, language en_US
ii openoffice-en-us-math 4.0.1-5 amd64 Math language module for Apache OpenOffice 4.0.1, language en_US
ii openoffice-en-us-res 4.0.1-5 amd64 Language resource module for Apache OpenOffice 4.0.1, language en_US
ii openoffice-en-us-writer 4.0.1-5 amd64 Writer language module for Apache OpenOffice 4.0.1, language en_US
ii openoffice-gnome-integration 4.0.1-5 amd64 Gnome integration module for Apache OpenOffice 4.0.1
ii openoffice-graphicfilter 4.0.1-5 amd64 Graphic filter module for Apache OpenOffice 4.0.1
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-javafilter 4.0.1-5 amd64 Java filter module for Apache OpenOffice 4.0.1
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-onlineupdate 4.0.1-5 amd64 Online update modul for Apache OpenOffice 4.0.1
ii openoffice-ooofonts 4.0.1-5 amd64 Mailcap module for Apache OpenOffice 4.0.1
ii openoffice-ooolinguistic 4.0.1-5 amd64 Linguistic module for Apache OpenOffice 4.0.1
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-xsltfilter 4.0.1-5 amd64 XSLT filter samples module for Apache OpenOffice 4.0.1
ii openoffice.org-hyphenation 0.7 all Hyphenation patterns for OpenOffice.org"

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#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
N1ck 7h0m4d4k15 (nicktux) said :
#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.

To post a message you must log in.