Update and software center damaged

Asked by Pedro Albuquerque

Hi,
the softwarecenter and update center are not working. I already purged libreoffice to use Openoffice instead, but now it instaled himself, partially at least, and I can't purge it.

After searching for a while, I found this procedure. Here is the terminal output as asked at https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure. Please help.

pedro@pedro-Satellite-A200:~$ ubuntu-support-status
Sumário de estado do suporte de 'pedro-Satellite-A200':

Tem 41 pacotes (1.6%) suportados até Maio 2017 (3y)
Tem 117 pacotes (4.5%) suportados até Fevereiro 2015 (9m)
Tem 2153 pacotes (83.1%) suportados até Maio 2019 (5y)
Tem 16 pacotes (0.6%) suportados até Junho 2015 (9m)

Tem 59 pacotes (2.3%) que não podem/não estão mais disponíveis para serem transferidos
Tem 205 pacotes (7.9%) que não são suportados

Executar --show-unsupported, --show-supported ou --show-all para ver mais detalhes

pedro@pedro-Satellite-A200:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: Ficheiro ou directoria inexistente
pedro@pedro-Satellite-A200:~$ dpkg --print-foreign-architectures
pedro@pedro-Satellite-A200:~$ sudo grep -R proxy /etc/apt/*
pedro@pedro-Satellite-A200:~$ grep proxy /etc/environment
pedro@pedro-Satellite-A200:~$ echo $http_proxy

pedro@pedro-Satellite-A200:~$ echo $ftp_proxy

pedro@pedro-Satellite-A200:~$ grep proxy /etc/bash.bashrc
pedro@pedro-Satellite-A200:~$ grep proxy ~/.bashrc
pedro@pedro-Satellite-A200:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: Ficheiro ou directoria inexistente
pedro@pedro-Satellite-A200:~$ sudo fuser -vvv /var/lib/dpkg/lock
pedro@pedro-Satellite-A200:~$ sudo fuser -vvv /var/cache/apt/archives/lock
pedro@pedro-Satellite-A200:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
pedro@pedro-Satellite-A200:~$ uname -a
Linux pedro-Satellite-A200 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:01 UTC 2014 i686 i686 i686 GNU/Linux
pedro@pedro-Satellite-A200:~$ sudo rm /var/lib/apt/lists/lock
pedro@pedro-Satellite-A200:~$ sudo rm /var/cache/apt/archives/lock
pedro@pedro-Satellite-A200:~$ sudo rm /var/lib/dpkg/lock
pedro@pedro-Satellite-A200:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
pedro@pedro-Satellite-A200:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
pedro@pedro-Satellite-A200:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
pedro@pedro-Satellite-A200:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
pedro@pedro-Satellite-A200:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
pedro@pedro-Satellite-A200:~$ sudo rm -rf /var/lib/dpkg/updates/*
pedro@pedro-Satellite-A200:~$ sudo rm -rf /var/lib/apt/lists
pedro@pedro-Satellite-A200:~$ sudo rm /var/cache/apt/*.bin
pedro@pedro-Satellite-A200:~$ sudo mkdir /var/lib/apt/lists
pedro@pedro-Satellite-A200:~$ sudo mkdir /var/lib/apt/lists/partial
pedro@pedro-Satellite-A200:~$ LANG=C;sudo apt-get clean
pedro@pedro-Satellite-A200:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
pedro@pedro-Satellite-A200:~$ LANG=C;sudo apt-get --purge autoremove
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.2.6.3) but it is not installable
 libreoffice-help-en-us : Depends: libreoffice-l10n-en-us but it is not installable
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installable
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installable
 libreoffice-l10n-pt : Depends: libreoffice-common but it is not installable
 libreoffice-l10n-pt-br : Depends: libreoffice-common but it is not installable
E: Unmet dependencies. Try using -f.
pedro@pedro-Satellite-A200:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Ign http://archive.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.ubuntu.com trusty-backports InRelease
Ign http://archive.ubuntu.com trusty-security InRelease
Get:1 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:2 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:3 http://archive.ubuntu.com trusty-backports Release.gpg [933 B]
Get:4 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Get:5 http://archive.ubuntu.com trusty Release [58.5 kB]
Get:6 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Get:7 http://archive.ubuntu.com trusty-backports Release [59.7 kB]
Get:8 http://archive.ubuntu.com trusty-security Release [59.7 kB]
Get:9 http://archive.ubuntu.com trusty/main Sources [1064 kB]
Get:10 http://archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:11 http://archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:12 http://archive.ubuntu.com trusty/multiverse Sources [174 kB]
Get:13 http://archive.ubuntu.com trusty/main i386 Packages [1348 kB]
Get:14 http://archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:15 http://archive.ubuntu.com trusty/universe i386 Packages [5866 kB]
Get:16 http://archive.ubuntu.com trusty/multiverse i386 Packages [134 kB]
Get:17 http://archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:18 http://archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:19 http://archive.ubuntu.com trusty/restricted Translation-en [3457 B]
Get:20 http://archive.ubuntu.com trusty/universe Translation-en [4089 kB]
Get:21 http://archive.ubuntu.com trusty-updates/main Sources [120 kB]
Get:22 http://archive.ubuntu.com trusty-updates/restricted Sources [1408 B]
Get:23 http://archive.ubuntu.com trusty-updates/universe Sources [84.7 kB]
Get:24 http://archive.ubuntu.com trusty-updates/multiverse Sources [3527 B]
Get:25 http://archive.ubuntu.com trusty-updates/main i386 Packages [314 kB]
Get:26 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5820 B]
Get:27 http://archive.ubuntu.com trusty-updates/universe i386 Packages [203 kB]
Get:28 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [9545 B]
Get:29 http://archive.ubuntu.com trusty-updates/main Translation-en [143 kB]
Get:30 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [4719 B]
Get:31 http://archive.ubuntu.com trusty-updates/restricted Translation-en [1736 B]
Get:32 http://archive.ubuntu.com trusty-updates/universe Translation-en [101 kB]
Get:33 http://archive.ubuntu.com trusty-backports/main Sources [4760 B]
Get:34 http://archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Get:35 http://archive.ubuntu.com trusty-backports/universe Sources [12.6 kB]
Get:36 http://archive.ubuntu.com trusty-backports/multiverse Sources [1315 B]
Get:37 http://archive.ubuntu.com trusty-backports/main i386 Packages [6379 B]
Get:38 http://archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:39 http://archive.ubuntu.com trusty-backports/universe i386 Packages [16.0 kB]
Get:40 http://archive.ubuntu.com trusty-backports/multiverse i386 Packages [945 B]
Get:41 http://archive.ubuntu.com trusty-backports/main Translation-en [4216 B]
Get:42 http://archive.ubuntu.com trusty-backports/multiverse Translation-en [613 B]
Get:43 http://archive.ubuntu.com trusty-backports/restricted Translation-en [14 B]
Get:44 http://archive.ubuntu.com trusty-backports/universe Translation-en [13.3 kB]
Get:45 http://archive.ubuntu.com trusty-security/main Sources [44.3 kB]
Get:46 http://archive.ubuntu.com trusty-security/restricted Sources [14 B]
Get:47 http://archive.ubuntu.com trusty-security/universe Sources [10.8 kB]
Get:48 http://archive.ubuntu.com trusty-security/multiverse Sources [700 B]
Get:49 http://archive.ubuntu.com trusty-security/main i386 Packages [133 kB]
Get:50 http://archive.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:51 http://archive.ubuntu.com trusty-security/universe i386 Packages [47.0 kB]
Get:52 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [1398 B]
Get:53 http://archive.ubuntu.com trusty-security/main Translation-en [68.0 kB]
Get:54 http://archive.ubuntu.com trusty-security/multiverse Translation-en [587 B]
Get:55 http://archive.ubuntu.com trusty-security/restricted Translation-en [14 B]
Get:56 http://archive.ubuntu.com trusty-security/universe Translation-en [27.0 kB]
Fetched 21.6 MB in 26s (821 kB/s)
Reading package lists... Done
pedro@pedro-Satellite-A200:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libreoffice-l10n-pt-br:
 libreoffice-l10n-pt-br depends on libreoffice-common; however:
  Package libreoffice-common is not installed.

dpkg: error processing package libreoffice-l10n-pt-br (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-l10n-en-gb:
 libreoffice-l10n-en-gb depends on libreoffice-common; however:
  Package libreoffice-common is not installed.

dpkg: error processing package libreoffice-l10n-en-gb (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-l10n-pt:
 libreoffice-l10n-pt depends on libreoffice-common; however:
  Package libreoffice-common is not installed.

dpkg: error processing package libreoffice-l10n-pt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-l10n-en-za:
 libreoffice-l10n-en-za depends on libreoffice-common; however:
  Package libreoffice-common is not installed.

dpkg: error processing package libreoffice-l10n-en-za (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-help-pt-br:
 libreoffice-help-pt-br depends on libreoffice-l10n-pt-br; however:
  Package libreoffice-l10n-pt-br is not configured yet.

dpkg: error processing package libreoffice-help-pt-br (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-help-en-gb:
 libreoffice-help-en-gb depends on libreoffice-l10n-en-gb; however:
  Package libreoffice-l10n-en-gb is not configured yet.

dpkg: error processing package libreoffice-help-en-gb (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-help-en-us:
 libreoffice-help-en-us depends on libreoffice-l10n-en-us; however:
  Package libreoffice-l10n-en-us is not installed.

dpkg: error processing package libreoffice-help-en-us (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-core:
 libreoffice-core depends on libreoffice-common (>> 1:4.2.6.3); however:
  Package libreoffice-common is not installed.

dpkg: error processing package libreoffice-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-uno:
 python3-uno depends on libreoffice-core (= 1:4.2.6.3-0ubuntu1); however:
  Package libreoffice-core is not configured yet.

dpkg: error processing package python3-uno (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-math:
 libreoffice-math depends on libreoffice-core (= 1:4.2.6.3-0ubuntu1); however:
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-math (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-help-pt:
 libreoffice-help-pt depends on libreoffice-l10n-pt; however:
  Package libreoffice-l10n-pt is not configured yet.

dpkg: error processing package libreoffice-help-pt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-writer:
 libreoffice-writer depends on libreoffice-core (= 1:4.2.6.3-0ubuntu1); however:
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-writer (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mythes-en-us:
 mythes-en-us depends on libreoffice-core | openoffice.org-core (>= 1.9) | language-support-writing-en; however:
  Package libreoffice-core is not configured yet.
  Package openoffice.org-core is not installed.
  Package language-support-writing-en is not installed.

dpkg: error processing package mythes-en-us (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-base-core:
 libreoffice-base-core depends on libreoffice-core (= 1:4.2.6.3-0ubuntu1); however:
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-base-core (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libreoffice-l10n-pt-br
 libreoffice-l10n-en-gb
 libreoffice-l10n-pt
 libreoffice-l10n-en-za
 libreoffice-help-pt-br
 libreoffice-help-en-gb
 libreoffice-help-en-us
 libreoffice-core
 python3-uno
 libreoffice-math
 libreoffice-help-pt
 libreoffice-writer
 mythes-en-us
 libreoffice-base-core
pedro@pedro-Satellite-A200:~$ sudo dpkg --clear-avail
pedro@pedro-Satellite-A200:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libreoffice-help-en-gb libreoffice-help-en-us libreoffice-help-pt
  libreoffice-help-pt-br libreoffice-l10n-en-gb libreoffice-l10n-en-za
  libreoffice-l10n-pt libreoffice-l10n-pt-br libxt-dev
  linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
  mythes-en-au mythes-en-us
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libreoffice-common
Suggested packages:
  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 11 not upgraded.
14 not fully installed or removed.
Need to get 19.8 MB of archives.
After this operation, 76.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libreoffice-common all 1:4.2.6.3-0ubuntu1 [19.8 MB]
Fetched 19.8 MB in 11s (1698 kB/s)
(Reading database ... 361276 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a4.2.6.3-0ubuntu1_all.deb ...
Unpacking libreoffice-common (1:4.2.6.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.6.3-0ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9757
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 (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-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...
Processing triggers for mime-support (3.54ubuntu1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a4.2.6.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pedro@pedro-Satellite-A200:~$ 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.2.6.3) but it is not installed
 libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-pt : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-pt-br : Depends: libreoffice-common but it is not installed
E: Unmet dependencies. Try using -f.
pedro@pedro-Satellite-A200:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://archive.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.ubuntu.com trusty-backports InRelease
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://archive.ubuntu.com trusty-security Release.gpg
Hit http://archive.ubuntu.com trusty Release
Get:2 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit http://archive.ubuntu.com trusty-backports Release
Hit http://archive.ubuntu.com trusty-security Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:3 http://archive.ubuntu.com trusty-updates/main Sources [120 kB]
Get:4 http://archive.ubuntu.com trusty-updates/restricted Sources [1408 B]
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [84.7 kB]
Get:6 http://archive.ubuntu.com trusty-updates/multiverse Sources [3527 B]
Get:7 http://archive.ubuntu.com trusty-updates/main i386 Packages [314 kB]
Get:8 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5820 B]
Get:9 http://archive.ubuntu.com trusty-updates/universe i386 Packages [203 kB]
Get:10 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [9545 B]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://archive.ubuntu.com trusty-backports/main Sources
Hit http://archive.ubuntu.com trusty-backports/restricted Sources
Hit http://archive.ubuntu.com trusty-backports/universe Sources
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/multiverse Sources
Hit http://archive.ubuntu.com trusty-security/main i386 Packages
Hit http://archive.ubuntu.com trusty-security/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-security/universe i386 Packages
Hit http://archive.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Fetched 803 kB in 9s (84.7 kB/s)
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.2.6.3) but it is not installed
 libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-pt : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-pt-br : Depends: libreoffice-common but it is not installed
E: Unmet dependencies. Try using -f.
pedro@pedro-Satellite-A200:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/alexx2000-doublecmd-trusty.list

     1 # deb http://ppa.launchpad.net/alexx2000/doublecmd/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/alexx2000/doublecmd/ubuntu trusty main

/etc/apt/sources.list.d/jtaylor-keepass-trusty.list

     1 # deb http://ppa.launchpad.net/jtaylor/keepass/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/jtaylor/keepass/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/jtaylor/keepass/ubuntu trusty main

/etc/apt/sources.list.d/getdeb.list

     1 # deb http://archive.getdeb.net/ubuntu -getdeb apps

/etc/apt/sources.list.d/lyx-devel-release-trusty.list

     1 # deb http://ppa.launchpad.net/lyx-devel/release/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/lyx-devel/release/ubuntu trusty main

/etc/apt/sources.list.d/klaus-vormweg-ppa-trusty.list

     1 # deb http://ppa.launchpad.net/klaus-vormweg/ppa/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/klaus-vormweg/ppa/ubuntu trusty main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release i386 (20140417)]/ trusty 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 trusty main restricted
     6 deb-src http://archive.ubuntu.com/ubuntu trusty main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted
    11 deb-src http://archive.ubuntu.com/ubuntu trusty-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 trusty universe
    17 deb-src http://archive.ubuntu.com/ubuntu trusty universe
    18 deb http://archive.ubuntu.com/ubuntu trusty-updates universe
    19 deb-src http://archive.ubuntu.com/ubuntu trusty-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 trusty multiverse
    27 deb-src http://archive.ubuntu.com/ubuntu trusty multiverse
    28 deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse
    29 deb-src http://archive.ubuntu.com/ubuntu trusty-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 trusty-backports main restricted universe multiverse
    37 deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
    38
    39 deb http://archive.ubuntu.com/ubuntu trusty-security main restricted
    40 deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted
    41 deb http://archive.ubuntu.com/ubuntu trusty-security universe
    42 deb-src http://archive.ubuntu.com/ubuntu trusty-security universe
    43 deb http://archive.ubuntu.com/ubuntu trusty-security multiverse
    44 deb-src http://archive.ubuntu.com/ubuntu trusty-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 trusty partner
    51 # deb-src http://archive.canonical.com/ubuntu trusty 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 trusty main
    56 # deb-src http://extras.ubuntu.com/ubuntu trusty main

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Pedro Albuquerque
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try:

sudo apt-get --purge remove `dpkg -l | awk {'print $1'} | grep libreoffice`
sudo apt-get --purge autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libreoffice

Is it now ok?

Revision history for this message
Pedro Albuquerque (pmralbuquerque) said :
#2

No, it's the same.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What is the output of:

apt-cache policy libreoffice

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Do you want to have libreoffice installed or openoffice? You cannot have both at the same time.

What is the output of

dpkg -l | grep libreoffice
dpkg -l | grep openoffice

Revision history for this message
Pedro Albuquerque (pmralbuquerque) said :
#5

I want OpenOffice.

pedro@pedro-Satellite-A200:~$ apt-cache policy libreoffice
libreoffice:
  Instalado: (nenhum)
  Candidato: 1:4.2.6.3-0ubuntu1
  Tabela de Versão:
     1:4.2.6.3-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe i386 Packages
        500 http://archive.ubuntu.com/ubuntu/ trusty-security/universe i386 Packages
     1:4.2.3~rc3-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages

pedro@pedro-Satellite-A200:~$ dpkg -l | grep libreoffice
iU libreoffice-base-core 1:4.2.6.3-0ubuntu1 i386 office productivity suite -- shared library
iU libreoffice-core 1:4.2.6.3-0ubuntu1 i386 office productivity suite -- arch-dependent files
iU libreoffice-help-en-gb 1:4.2.6.3-0ubuntu1 all office productivity suite -- English_british help
iU libreoffice-help-en-us 1:4.2.6.3-0ubuntu1 all office productivity suite -- English_american help
iU libreoffice-help-pt 1:4.2.6.3-0ubuntu1 all office productivity suite -- Portuguese help
iU libreoffice-help-pt-br 1:4.2.6.3-0ubuntu1 all office productivity suite -- Portuguese_brazilian help
iU libreoffice-l10n-en-gb 1:4.2.6.3-0ubuntu1 all office productivity suite -- English_british language package
iU libreoffice-l10n-en-za 1:4.2.6.3-0ubuntu1 all office productivity suite -- English_southafrican language package
iU libreoffice-l10n-pt 1:4.2.6.3-0ubuntu1 all office productivity suite -- Portuguese language package
iU libreoffice-l10n-pt-br 1:4.2.6.3-0ubuntu1 all office productivity suite -- Portuguese_brazilian language package
iU libreoffice-math 1:4.2.6.3-0ubuntu1 i386 office productivity suite -- equation editor
ii libreoffice-style-galaxy 1:4.2.6.3-0ubuntu1 all office productivity suite -- Galaxy (Default) symbol style
iU libreoffice-writer 1:4.2.6.3-0ubuntu1 i386 office productivity suite -- word processor

pedro@pedro-Satellite-A200:~$ dpkg -l | grep openoffice
ii openoffice 4.1.1-5 i386 Brand module for OpenOffice 4.1.1
ii openoffice-base 4.1.1-5 i386 Base module for Apache OpenOffice 4.1.1
ii openoffice-brand-base 4.1.1-5 i386 Base brand module for OpenOffice 4.1.1
ii openoffice-brand-calc 4.1.1-5 i386 Calc brand module for OpenOffice 4.1.1
ii openoffice-brand-draw 4.1.1-5 i386 Draw brand module for OpenOffice 4.1.1
ii openoffice-brand-impress 4.1.1-5 i386 Impress brand module for OpenOffice 4.1.1
ii openoffice-brand-math 4.1.1-5 i386 Math brand module for OpenOffice 4.1.1
ii openoffice-brand-pt 4.1.1-5 i386 Brand language module for OpenOffice 4.1.1
ii openoffice-brand-writer 4.1.1-5 i386 Writer brand module for OpenOffice 4.1.1
ii openoffice-calc 4.1.1-5 i386 Calc module for Apache OpenOffice 4.1.1
ii openoffice-core01 4.1.1-5 i386 Core module for Apache OpenOffice 4.1.1
ii openoffice-core02 4.1.1-5 i386 Office core module for Apache OpenOffice 4.1.1
ii openoffice-core03 4.1.1-5 i386 Office core module for Apache OpenOffice 4.1.1
ii openoffice-core04 4.1.1-5 i386 Office core module for Apache OpenOffice 4.1.1
ii openoffice-core05 4.1.1-5 i386 Office core module for Apache OpenOffice 4.1.1
ii openoffice-core06 4.1.1-5 i386 Office core module for Apache OpenOffice 4.1.1
ii openoffice-core07 4.1.1-5 i386 Office core module for Apache OpenOffice 4.1.1
ii openoffice-debian-menus 4.1.1-9757 all OpenOffice desktop integration
ii openoffice-draw 4.1.1-5 i386 Draw module for Apache OpenOffice 4.1.1
ii openoffice-gnome-integration 4.1.1-5 i386 Gnome integration module for Apache OpenOffice 4.1.1
ii openoffice-graphicfilter 4.1.1-5 i386 Graphic filter module for Apache OpenOffice 4.1.1
ii openoffice-images 4.1.1-5 i386 Images module for Apache OpenOffice 4.1.1
ii openoffice-impress 4.1.1-5 i386 Impress module for Apache OpenOffice 4.1.1
ii openoffice-javafilter 4.1.1-5 i386 Java filter module for Apache OpenOffice 4.1.1
ii openoffice-math 4.1.1-5 i386 Math module for Apache OpenOffice 4.1.1
ii openoffice-ogltrans 4.1.1-5 i386 OpenGL slide transitions module for Apache OpenOffice 4.1.1
ii openoffice-onlineupdate 4.1.1-5 i386 Online update modul for Apache OpenOffice 4.1.1
ii openoffice-ooofonts 4.1.1-5 i386 Mailcap module for Apache OpenOffice 4.1.1
ii openoffice-ooolinguistic 4.1.1-5 i386 Linguistic module for Apache OpenOffice 4.1.1
ii openoffice-pt 4.1.1-5 i386 Language module for Apache OpenOffice 4.1.1, language pt
ii openoffice-pt-base 4.1.1-5 i386 Base language module for Apache OpenOffice 4.1.1, language pt
ii openoffice-pt-calc 4.1.1-5 i386 Calc language module for Apache OpenOffice 4.1.1, language pt
ii openoffice-pt-draw 4.1.1-5 i386 Draw language module for Apache OpenOffice , language pt
ii openoffice-pt-help 4.1.1-5 i386 Language help module for Apache OpenOffice 4.1.1, language pt
ii openoffice-pt-impress 4.1.1-5 i386 Impress language module for Apache OpenOffice 4.1.1, language pt
ii openoffice-pt-math 4.1.1-5 i386 Math language module for Apache OpenOffice 4.1.1, language pt
ii openoffice-pt-res 4.1.1-5 i386 Language resource module for Apache OpenOffice 4.1.1, language pt
ii openoffice-pt-writer 4.1.1-5 i386 Writer language module for Apache OpenOffice 4.1.1, language pt
ii openoffice-pyuno 4.1.1-5 i386 Pyuno module for Apache OpenOffice 4.1.1
ii openoffice-ure 4.1.1-5 i386 UNO Runtime Environment for OpenOffice 4.1.1
ii openoffice-writer 4.1.1-5 i386 Writer module for Apache OpenOffice 4.1.1
ii openoffice-xsltfilter 4.1.1-5 i386 XSLT filter samples module for Apache OpenOffice 4.1.1
ii openoffice.org-hyphenation 0.7 all Hyphenation patterns for OpenOffice.org

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

Your Terminal output shows this issue:

dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.6.3-0ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.1-9757

So please run these commands to remove Libreoffice:

sudo apt-get remove libreoffice-common libreoffice-core

sudo apt-get update

sudo apt-get install -f

sudo apt-get dist-upgrade

Please send us the full Terminal output of these 4 commands:

Revision history for this message
Pedro Albuquerque (pmralbuquerque) said :
#7

My system is in Portuguese. If you neen help with the translations, please just say so.

pedro@pedro-Satellite-A200:~$ sudo apt-get remove libreoffice-common libreoffice-core
[sudo] password for pedro:
A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
Package 'libreoffice-common' is not installed, so not removed
Você deve querer executar 'apt-get -f install' para corrigir estes:
Os pacotes a seguir têm dependências não satisfeitas:
 libreoffice-base-core : Depende: libreoffice-core (= 1:4.2.6.3-0ubuntu1) mas não vai ser instalado
 libreoffice-help-en-us : Depende: libreoffice-l10n-en-us
                          Recomenda: libreoffice-core (> 1:4.2.6.3) mas não vai ser instalado ou
                                     language-support-translations-en mas não é instalável
 libreoffice-l10n-en-gb : Depende: libreoffice-common mas não vai ser instalado
                          Recomenda: libreoffice-core (> 1:4.2.6.3) mas não vai ser instalado ou
                                     language-support-translations-en mas não é instalável
 libreoffice-l10n-en-za : Depende: libreoffice-common mas não vai ser instalado
                          Recomenda: libreoffice-core (> 1:4.2.6.3) mas não vai ser instalado ou
                                     language-support-translations-en mas não é instalável
 libreoffice-l10n-pt : Depende: libreoffice-common mas não vai ser instalado
                       Recomenda: libreoffice-core (> 1:4.2.6.3) mas não vai ser instalado ou
                                  language-support-translations-pt mas não é instalável
 libreoffice-l10n-pt-br : Depende: libreoffice-common mas não vai ser instalado
                          Recomenda: libreoffice-core (> 1:4.2.6.3) mas não vai ser instalado ou
                                     language-support-translations-pt mas não é instalável
 libreoffice-math : Depende: libreoffice-core (= 1:4.2.6.3-0ubuntu1) mas não vai ser instalado
 libreoffice-writer : Depende: libreoffice-core (= 1:4.2.6.3-0ubuntu1) mas não vai ser instalado
 mythes-en-us : Depende: libreoffice-core mas não vai ser instalado ou
                         openoffice.org-core (>= 1.9) mas não é instalável ou
                         language-support-writing-en mas não é instalável
 python3-uno : Depende: libreoffice-core (= 1:4.2.6.3-0ubuntu1) mas não vai ser instalado
E: Dependências não satisfeitas. Tente 'apt-get -f install' sem nenhum pacote (ou especifique uma solução).

pedro@pedro-Satellite-A200:~$ sudo apt-get update
Ign http://archive.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.ubuntu.com trusty-backports InRelease
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Obter:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://archive.ubuntu.com trusty-security Release.gpg
Hit http://archive.ubuntu.com trusty Release
Obter:2 http://archive.ubuntu.com trusty-updates Release [59,7 kB]
Hit http://archive.ubuntu.com trusty-backports Release
Hit http://archive.ubuntu.com trusty-security Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-pt
Hit http://archive.ubuntu.com trusty/main Translation-pt_BR
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-pt
Hit http://archive.ubuntu.com trusty/multiverse Translation-pt_BR
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-pt
Hit http://archive.ubuntu.com trusty/restricted Translation-pt_BR
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-pt
Hit http://archive.ubuntu.com trusty/universe Translation-pt_BR
Hit http://archive.ubuntu.com trusty/universe Translation-en
Obter:3 http://archive.ubuntu.com trusty-updates/main Sources [120 kB]
Obter:4 http://archive.ubuntu.com trusty-updates/restricted Sources [1408 B]
Obter:5 http://archive.ubuntu.com trusty-updates/universe Sources [84,7 kB]
Obter:6 http://archive.ubuntu.com trusty-updates/multiverse Sources [3527 B]
Obter:7 http://archive.ubuntu.com trusty-updates/main i386 Packages [314 kB]
Obter:8 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5820 B]
Obter:9 http://archive.ubuntu.com trusty-updates/universe i386 Packages [203 kB]
Obter:10 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [9545 B]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://archive.ubuntu.com trusty-backports/main Sources
Hit http://archive.ubuntu.com trusty-backports/restricted Sources
Hit http://archive.ubuntu.com trusty-backports/universe Sources
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/multiverse Sources
Hit http://archive.ubuntu.com trusty-security/main i386 Packages
Hit http://archive.ubuntu.com trusty-security/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-security/universe i386 Packages
Hit http://archive.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-pt_PT
Ign http://archive.ubuntu.com trusty/multiverse Translation-pt_PT
Ign http://archive.ubuntu.com trusty/restricted Translation-pt_PT
Ign http://archive.ubuntu.com trusty/universe Translation-pt_PT
Obtidos 803 kB em 13s (57,7 kB/s)
A ler as listas de pacotes... Pronto

pedro@pedro-Satellite-A200:~$ sudo apt-get install -f
[sudo] password for pedro:
A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
A corrigir dependências... Feito
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
  libreoffice-help-en-gb libreoffice-help-en-us libreoffice-help-pt
  libreoffice-help-pt-br libreoffice-l10n-en-gb libreoffice-l10n-en-za
  libreoffice-l10n-pt libreoffice-l10n-pt-br libxt-dev
  linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
  mythes-en-au mythes-en-us
Utilize 'apt-get autoremove' para os remover.
Os seguintes pacotes extra serão instalados:
  libreoffice-common
Pacotes sugeridos:
  libreoffice-style-crystal libreoffice-style-hicontrast
  libreoffice-style-human libreoffice-style-oxygen libreoffice-style-sifr
  libreoffice-style-tango
Serão instalados os seguintes NOVOS pacotes:
  libreoffice-common
0 pacotes actualizados, 1 pacotes novos instalados, 0 a remover e 11 não actualizados.
14 pacotes não totalmente instalados ou removidos.
É necessário obter 19,8 MB de arquivos.
Após esta operação, serão utilizados 76,0 MB adicionais de espaço em disco.
Deseja continuar? [S/n] S
Obter:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libreoffice-common all 1:4.2.6.3-0ubuntu1 [19,8 MB]
Obtidos 19,8 MB em 11s (1682 kB/s)
(A ler a base de dados ... 361276 ficheiros e directórios actualmente instalados.)
Preparing to unpack .../libreoffice-common_1%3a4.2.6.3-0ubuntu1_all.deb ...
Unpacking libreoffice-common (1:4.2.6.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.6.3-0ubuntu1_all.deb (--unpack):
 a tentar sobre-escrever '/usr/bin/soffice', que também está no pacote openoffice-debian-menus 4.1.1-9757
rmdir: erro ao remover «/var/lib/libreoffice/share/prereg/»: Ficheiro ou directoria inexistente
rmdir: erro ao remover «/var/lib/libreoffice/share/»: Ficheiro ou directoria inexistente
rmdir: erro ao remover «/var/lib/libreoffice/program/»: Ficheiro ou directoria inexistente
rmdir: erro ao remover «/var/lib/libreoffice»: Ficheiro ou directoria inexistente
rmdir: erro ao remover «/var/lib/libreoffice»: Ficheiro ou directoria inexistente
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-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...
Processing triggers for mime-support (3.54ubuntu1) ...
Foram encontrados erros enquanto processava:
 /var/cache/apt/archives/libreoffice-common_1%3a4.2.6.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

pedro@pedro-Satellite-A200:~$ sudo apt-get dist-upgrade
[sudo] password for pedro:
A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
Você pode querer executar 'apt-get -f install' para corrigir isso.
Os pacotes a seguir têm dependências não satisfeitas:
 libreoffice-core : Depende: libreoffice-common (> 1:4.2.6.3) mas não está instalado
 libreoffice-help-en-us : Depende: libreoffice-l10n-en-us
 libreoffice-l10n-en-gb : Depende: libreoffice-common mas não está instalado
 libreoffice-l10n-en-za : Depende: libreoffice-common mas não está instalado
 libreoffice-l10n-pt : Depende: libreoffice-common mas não está instalado
 libreoffice-l10n-pt-br : Depende: libreoffice-common mas não está instalado
E: Dependências não satisfeitas. Tente utilizar -f.

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Try the following commands

sudo dpkg --purge `dpkg -l | awk {'print $1'} | grep libreoffice`
sudo dpkg --audit

and copy/paste all output into this question document as done before

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

Oops, sorry typo error

Try the following commands

sudo dpkg --purge `dpkg -l | awk {'print $2'} | grep libreoffice`
sudo dpkg --audit

and copy/paste all output into this question document as done before

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Oops, still wrong:

Try the following commands

sudo dpkg --purge `dpkg -l | grep libreoffice | awk {'print $2'}`
 sudo dpkg --audit

and copy/paste all output into this question document as done before

Revision history for this message
Pedro Albuquerque (pmralbuquerque) said :
#11

Here it is:

pedro@pedro-Satellite-A200:~$ sudo dpkg --purge `dpkg -l | grep libreoffice | awk {'print $2'}`
[sudo] password for pedro:
(A ler a base de dados ... 361275 ficheiros e directórios actualmente instalados.)
Removing libreoffice-base-core (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-core (1:4.2.6.3-0ubuntu1) ...
Purging configuration files for libreoffice-core (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-help-en-gb (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-help-en-us (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-help-pt (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-help-pt-br (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-l10n-en-gb (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-l10n-en-za (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-l10n-pt (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-l10n-pt-br (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-math (1:4.2.6.3-0ubuntu1) ...
Purging configuration files for libreoffice-math (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-style-galaxy (1:4.2.6.3-0ubuntu1) ...
Removing libreoffice-writer (1:4.2.6.3-0ubuntu1) ...
Purging configuration files for libreoffice-writer (1:4.2.6.3-0ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
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 man-db (2.6.7.1-1) ...

pedro@pedro-Satellite-A200:~$ sudo dpkg --audit
[sudo] password for pedro:
Os seguintes pacotes foram descompactados mas ainda não foram configurados.(Partial translation: packages must be configured using...)
Têm de ser configurados utilizando dpkg --configure ou a opção configurar
no menu do dselect para funcionarem:
 python3-uno Python-UNO bridge
 mythes-en-us English Thesaurus for LibreOffice

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

ok, looks fine, just two libreoffice-related packages left

try the following commands

sudo dpkg --purge python3-uno mythes-en-us
sudo dpkg --audit
apt-get --simulate dist-upgrade

and copy/paste all output as done before

Revision history for this message
Pedro Albuquerque (pmralbuquerque) said :
#13

Here it is:

pedro@pedro-Satellite-A200:~$ sudo dpkg --purge python3-uno mythes-en-us
[sudo] password for pedro:
(A ler a base de dados ... 360273 ficheiros e directórios actualmente instalados.)
Removing python3-uno (1:4.2.6.3-0ubuntu1) ...
Removing mythes-en-us (1:4.2.1-0ubuntu1) ...
Purging configuration files for mythes-en-us (1:4.2.1-0ubuntu1) ...

pedro@pedro-Satellite-A200:~$ sudo dpkg --audit
pedro@pedro-Satellite-A200:~$

pedro@pedro-Satellite-A200:~$ apt-get --simulate dist-upgrade
NOTE: Isto é apenas uma simulação!
 o apt-get necessita de privilégios de root para a execução real.
 Tenha em mente que o acesso exclusivo está desabilitado,
 por isso não confie na relevância da real situação actual!
A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
A calcular a actualização... Pronto
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
  libxt-dev linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
  mythes-en-au
Utilize 'apt-get autoremove' para os remover.
Serão actualizados os seguintes pacotes:
  gir1.2-javascriptcoregtk-3.0 gir1.2-webkit-3.0 libjavascriptcoregtk-1.0-0
  libjavascriptcoregtk-3.0-0 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common
  libwebkitgtk-3.0-0 libwebkitgtk-3.0-common linux-firmware
  ubuntu-drivers-common unity-settings-daemon
11 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 0 não actualizados.
Inst libwebkitgtk-1.0-common [2.4.3-1ubuntu2] (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [all])
Inst libwebkitgtk-1.0-0 [2.4.3-1ubuntu2] (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386]) []
Inst libjavascriptcoregtk-1.0-0 [2.4.3-1ubuntu2] (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Inst libwebkitgtk-3.0-common [2.4.3-1ubuntu2] (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [all])
Inst libwebkitgtk-3.0-0 [2.4.3-1ubuntu2] (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386]) []
Inst libjavascriptcoregtk-3.0-0 [2.4.3-1ubuntu2] (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Inst ubuntu-drivers-common [1:0.2.91.6] (1:0.2.91.7 Ubuntu:14.04/trusty-updates [i386])
Inst gir1.2-webkit-3.0 [2.4.3-1ubuntu2] (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386]) []
Inst gir1.2-javascriptcoregtk-3.0 [2.4.3-1ubuntu2] (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Inst linux-firmware [1.127.5] (1.127.6 Ubuntu:14.04/trusty-updates [all])
Inst unity-settings-daemon [14.04.0+14.04.20140414-0ubuntu1] (14.04.0+14.04.20140606-0ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Conf libwebkitgtk-1.0-common (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [all])
Conf libjavascriptcoregtk-1.0-0 (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Conf libwebkitgtk-1.0-0 (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Conf libwebkitgtk-3.0-common (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [all])
Conf libjavascriptcoregtk-3.0-0 (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Conf libwebkitgtk-3.0-0 (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Conf ubuntu-drivers-common (1:0.2.91.7 Ubuntu:14.04/trusty-updates [i386])
Conf gir1.2-javascriptcoregtk-3.0 (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Conf gir1.2-webkit-3.0 (2.4.4-1~ubuntu1 Ubuntu:14.04/trusty-updates [i386])
Conf linux-firmware (1.127.6 Ubuntu:14.04/trusty-updates [all])
Conf unity-settings-daemon (14.04.0+14.04.20140606-0ubuntu1 Ubuntu:14.04/trusty-updates [i386])

Revision history for this message
Manfred Hampl (m-hampl) said :
#14

Looks good.

try

sudo apt-get autoremove
sudo apt-get dist-upgrade

for removing some redundant packages, and to install the last few upgrades published in the past few days.
Your system should then be up-to-date with openoffice installed and libreoffice not present any more.

Revision history for this message
Pedro Albuquerque (pmralbuquerque) said :
#15

Ok, the problem seems to be solved. I activated the ppa's again and everything seems to be correct.

What I don't understand is why Libreoffice Math and Writer got installed again.
I didn't do it. I'm the one maintaining OpenOffice translations for Portugal so, as you can imagine, it wouldn't make much sense using LibreOffice.

Anyway, thank you so much for your help. I was ready to reinstall Ubuntu if it wasn't for your help.

If you need anything, just let me know.

Regards.