synaptic can't fix broken packages

Asked by Robert Simpson

Trying to revert from LIbreOffice 4 to 3.x, synaptic reports 'your have held broken packages' and a reference to libreoffice-gtk.
However, 'Fix broken packages' does nothing. I have followed the proceedure at https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure and now attache the Terminal Output as per instruction

Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for menu ...
Processing triggers for gnome-icon-theme ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
robert@WestView:~$ sudo grep -R proxy /etc/apt/*
robert@WestView:~$ grep proxy /etc/environment
robert@WestView:~$ echo $http_proxy

robert@WestView:~$ echo $ftp_proxy

robert@WestView:~$ grep proxy /etc/bash.bashrc
robert@WestView:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
robert@WestView:~$ cat /etc/apt/apt.conf.d
cat: /etc/apt/apt.conf.d: Is a directory
robert@WestView:~$ sudo fuser -vvv /var/lib/dpkg/lock
robert@WestView:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
robert@WestView:~$ uname -a
Linux WestView 3.2.0-38-generic-pae #61-Ubuntu SMP Tue Feb 19 12:39:51 UTC 2013 i686 athlon i386 GNU/Linux
robert@WestView:~$ sudo rm /var/lib/apt/lists/lock
robert@WestView:~$ sudo cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
robert@WestView:~$ sudo rm /var/lib/dpkg/lock
robert@WestView:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
robert@WestView:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
robert@WestView:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
robert@WestView:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
robert@WestView:~$ sudo rm -rf /var/lib/dpkg/updates/*
robert@WestView:~$ sudo rm -rf /var/lib/apt/lists
robert@WestView:~$ sudo rm /var/cache/apt/*.bin
robert@WestView:~$ sudo mkdir /var/lib/apt/lists
robert@WestView:~$ sudo mkdir /var/lib/apt/lists/partial
robert@WestView:~$ LANG=C;sudo apt-get clean
robert@WestView:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
robert@WestView:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ttf-sil-gentium-basic*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 34.8 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ...
dpkg: warning: files list file for package `libreoffice-core' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-calc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-draw' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-uno' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-gtk' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-style-galaxy' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-pdfimport' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-report-builder-bin' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-emailmerge' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-gnome' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-base-core' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-java-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-writer' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-style-tango' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-impress' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libreoffice-math' missing, assuming package has no files currently installed.
(Reading database ... 407770 files and directories currently installed.)
Removing ttf-sil-gentium-basic ...
robert@WestView:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Ign http://extras.ubuntu.com precise InRelease
Ign http://gb.archive.ubuntu.com precise InRelease
Ign http://gb.archive.ubuntu.com precise-updates InRelease
Ign http://gb.archive.ubuntu.com precise-backports InRelease
Get:1 http://packages.medibuntu.org precise InRelease [7096 B]
Ign http://ppa.launchpad.net precise InRelease
Get:2 http://extras.ubuntu.com precise Release.gpg [72 B]
Get:3 http://gb.archive.ubuntu.com precise Release.gpg [198 B]
Get:4 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:5 http://gb.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:6 http://extras.ubuntu.com precise Release [11.9 kB]
Ign http://security.ubuntu.com precise-security InRelease
Get:7 http://gb.archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:8 http://ppa.launchpad.net precise Release [11.9 kB]
Get:9 http://gb.archive.ubuntu.com precise Release [49.6 kB]
Get:10 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:11 http://ppa.launchpad.net precise/main Sources [1390 B]
Get:12 http://extras.ubuntu.com precise/main Sources [8130 B]
Ign http://linux.dropbox.com precise InRelease
Get:13 http://packages.medibuntu.org precise/free i386 Packages [3237 B]
Get:14 http://gb.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:15 http://ppa.launchpad.net precise/main i386 Packages [1843 B]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:16 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:17 http://extras.ubuntu.com precise/main i386 Packages [10.8 kB]
Get:18 http://gb.archive.ubuntu.com precise-backports Release [49.6 kB]
Get:19 http://packages.medibuntu.org precise/non-free i386 Packages [6644 B]
Ign http://extras.ubuntu.com precise/main TranslationIndex
Get:20 http://linux.dropbox.com precise Release.gpg [489 B]
Get:21 http://gb.archive.ubuntu.com precise/main Sources [934 kB]
Get:22 http://linux.dropbox.com precise Release [2603 B]
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://packages.medibuntu.org precise/free TranslationIndex
Get:23 http://security.ubuntu.com precise-security/main Sources [64.0 kB]
Get:24 http://linux.dropbox.com precise/main i386 Packages [1148 B]
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://packages.medibuntu.org precise/non-free TranslationIndex
Ign http://linux.dropbox.com precise/main TranslationIndex
Get:25 http://gb.archive.ubuntu.com precise/restricted Sources [5470 B]
Get:26 http://gb.archive.ubuntu.com precise/universe Sources [5019 kB]
Ign https://private-ppa.launchpad.net precise InRelease
Get:27 http://security.ubuntu.com precise-security/restricted Sources [1950 B]
Get:28 http://security.ubuntu.com precise-security/universe Sources [22.2 kB]
Get:29 https://private-ppa.launchpad.net precise Release.gpg [316 B]
Get:30 https://private-ppa.launchpad.net precise Release [11.9 kB]
Get:31 http://security.ubuntu.com precise-security/multiverse Sources [1388 B]
Get:32 http://security.ubuntu.com precise-security/main i386 Packages [239 kB]
Ign http://linux.dropbox.com precise/main Translation-en
Get:33 https://private-ppa.launchpad.net precise/main i386 Packages [1281 B]
Ign https://private-ppa.launchpad.net precise/main TranslationIndex
Get:34 http://security.ubuntu.com precise-security/restricted i386 Packages [3968 B]
Get:35 http://security.ubuntu.com precise-security/universe i386 Packages [69.9 kB]
Ign http://packages.medibuntu.org precise/free Translation-en
Get:36 http://security.ubuntu.com precise-security/multiverse i386 Packages [2362 B]
Get:37 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:38 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Get:39 http://security.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Get:40 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Ign http://packages.medibuntu.org precise/non-free Translation-en
Get:41 http://gb.archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:42 http://security.ubuntu.com precise-security/main Translation-en [112 kB]
Get:43 http://gb.archive.ubuntu.com precise/main i386 Packages [1274 kB]
Get:44 http://security.ubuntu.com precise-security/multiverse Translation-en [995 B]
Ign https://private-ppa.launchpad.net precise/main Translation-en
Get:45 http://security.ubuntu.com precise-security/restricted Translation-en [978 B]
Get:46 http://security.ubuntu.com precise-security/universe Translation-en [43.2 kB]
Get:47 http://gb.archive.ubuntu.com precise/restricted i386 Packages [8431 B]
Get:48 http://gb.archive.ubuntu.com precise/universe i386 Packages [4796 kB]
Get:49 http://gb.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:50 http://gb.archive.ubuntu.com precise/main TranslationIndex [3706 B]
Get:51 http://gb.archive.ubuntu.com precise/multiverse TranslationIndex [2676 B]
Get:52 http://gb.archive.ubuntu.com precise/restricted TranslationIndex [2596 B]
Get:53 http://gb.archive.ubuntu.com precise/universe TranslationIndex [2922 B]
Get:54 http://gb.archive.ubuntu.com precise-updates/main Sources [370 kB]
Get:55 http://gb.archive.ubuntu.com precise-updates/restricted Sources [5120 B]
Get:56 http://gb.archive.ubuntu.com precise-updates/universe Sources [80.3 kB]
Get:57 http://gb.archive.ubuntu.com precise-updates/multiverse Sources [4729 B]
Get:58 http://gb.archive.ubuntu.com precise-updates/main i386 Packages [595 kB]
Get:59 http://gb.archive.ubuntu.com precise-updates/restricted i386 Packages [9505 B]
Get:60 http://gb.archive.ubuntu.com precise-updates/universe i386 Packages [187 kB]
Get:61 http://gb.archive.ubuntu.com precise-updates/multiverse i386 Packages [10.4 kB]
Get:62 http://gb.archive.ubuntu.com precise-updates/main TranslationIndex [3564 B]
Get:63 http://gb.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2605 B]
Get:64 http://gb.archive.ubuntu.com precise-updates/restricted TranslationIndex [2461 B]
Get:65 http://gb.archive.ubuntu.com precise-updates/universe TranslationIndex [2850 B]
Get:66 http://gb.archive.ubuntu.com precise-backports/main Sources [2422 B]
Get:67 http://gb.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:68 http://gb.archive.ubuntu.com precise-backports/universe Sources [23.1 kB]
Get:69 http://gb.archive.ubuntu.com precise-backports/multiverse Sources [2669 B]
Get:70 http://gb.archive.ubuntu.com precise-backports/main i386 Packages [1941 B]
Get:71 http://gb.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:72 http://gb.archive.ubuntu.com precise-backports/universe i386 Packages [23.0 kB]
Get:73 http://gb.archive.ubuntu.com precise-backports/multiverse i386 Packages [2504 B]
Get:74 http://gb.archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Get:75 http://gb.archive.ubuntu.com precise-backports/multiverse TranslationIndex [72 B]
Get:76 http://gb.archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Get:77 http://gb.archive.ubuntu.com precise-backports/universe TranslationIndex [73 B]
Get:78 http://gb.archive.ubuntu.com precise/main Translation-en [726 kB]
Get:79 http://gb.archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:80 http://gb.archive.ubuntu.com precise/restricted Translation-en [2395 B]
Get:81 http://gb.archive.ubuntu.com precise/universe Translation-en [3341 kB]
Get:82 http://gb.archive.ubuntu.com precise-updates/main Translation-en [261 kB]
Get:83 http://gb.archive.ubuntu.com precise-updates/multiverse Translation-en [5694 B]
Get:84 http://gb.archive.ubuntu.com precise-updates/restricted Translation-en [2328 B]
Get:85 http://gb.archive.ubuntu.com precise-updates/universe Translation-en [109 kB]
Get:86 http://gb.archive.ubuntu.com precise-backports/main Translation-en [1244 B]
Get:87 http://gb.archive.ubuntu.com precise-backports/multiverse Translation-en [1476 B]
Get:88 http://gb.archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Get:89 http://gb.archive.ubuntu.com precise-backports/universe Translation-en [16.2 kB]
Fetched 19.1 MB in 29s (657 kB/s)
Reading package lists... Done
robert@WestView:~$ sudo dpkg --configure -a
robert@WestView:~$ sudo dpkg --clear-avail
robert@WestView:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
robert@WestView:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
robert@WestView:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://gb.archive.ubuntu.com precise InRelease
Ign http://gb.archive.ubuntu.com precise-updates InRelease
Ign http://gb.archive.ubuntu.com precise-backports InRelease
Ign http://extras.ubuntu.com precise InRelease
Hit http://packages.medibuntu.org precise InRelease
Hit http://gb.archive.ubuntu.com precise Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Ign http://ppa.launchpad.net precise InRelease
Hit http://gb.archive.ubuntu.com precise-updates Release.gpg
Hit http://extras.ubuntu.com precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://security.ubuntu.com precise-security InRelease
Hit http://gb.archive.ubuntu.com precise-backports Release.gpg
Hit http://packages.medibuntu.org precise/free i386 Packages
Hit http://extras.ubuntu.com precise/main Sources
Hit http://ppa.launchpad.net precise Release
Hit http://gb.archive.ubuntu.com precise Release
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://gb.archive.ubuntu.com precise-updates Release
Ign http://linux.dropbox.com precise InRelease
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://packages.medibuntu.org precise/non-free i386 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://gb.archive.ubuntu.com precise-backports Release
Hit http://gb.archive.ubuntu.com precise/main Sources
Hit http://gb.archive.ubuntu.com precise/restricted Sources
Hit http://gb.archive.ubuntu.com precise/universe Sources
Hit http://gb.archive.ubuntu.com precise/multiverse Sources
Hit http://gb.archive.ubuntu.com precise/main i386 Packages
Hit http://gb.archive.ubuntu.com precise/restricted i386 Packages
Hit http://gb.archive.ubuntu.com precise/universe i386 Packages
Hit http://gb.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security Release
Hit http://gb.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://gb.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://gb.archive.ubuntu.com precise/universe TranslationIndex
Hit http://gb.archive.ubuntu.com precise-updates/main Sources
Hit http://gb.archive.ubuntu.com precise-updates/restricted Sources
Ign http://packages.medibuntu.org precise/free TranslationIndex
Hit http://gb.archive.ubuntu.com precise-updates/universe Sources
Hit http://linux.dropbox.com precise Release.gpg
Hit http://gb.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://gb.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://gb.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://gb.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://gb.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://gb.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://gb.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://gb.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://gb.archive.ubuntu.com precise-backports/main Sources
Hit http://gb.archive.ubuntu.com precise-backports/restricted Sources
Hit http://gb.archive.ubuntu.com precise-backports/universe Sources
Hit http://gb.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://gb.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://security.ubuntu.com precise-security/main Sources
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://gb.archive.ubuntu.com precise-backports/restricted i386 Packages
Ign http://packages.medibuntu.org precise/non-free TranslationIndex
Hit http://gb.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://gb.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://gb.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://gb.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://linux.dropbox.com precise Release
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://gb.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://gb.archive.ubuntu.com precise/main Translation-en
Hit http://gb.archive.ubuntu.com precise/multiverse Translation-en
Hit http://gb.archive.ubuntu.com precise/restricted Translation-en
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://gb.archive.ubuntu.com precise/universe Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/main Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://gb.archive.ubuntu.com precise-backports/main Translation-en
Hit http://gb.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://linux.dropbox.com precise/main i386 Packages
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Ign http://linux.dropbox.com precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign https://private-ppa.launchpad.net precise InRelease
Ign http://packages.medibuntu.org precise/free Translation-en
Ign http://packages.medibuntu.org precise/non-free Translation-en
Hit https://private-ppa.launchpad.net precise Release.gpg
Hit https://private-ppa.launchpad.net precise Release
Hit https://private-ppa.launchpad.net precise/main i386 Packages
Ign https://private-ppa.launchpad.net precise/main TranslationIndex
Ign http://linux.dropbox.com precise/main Translation-en
Ign https://private-ppa.launchpad.net precise/main Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
robert@WestView:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

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

/etc/apt/sources.list.d/dropbox.list

     1 deb http://linux.dropbox.com/ubuntu precise main

/etc/apt/sources.list.d/medibuntu.list

     1 ## Please report any bug on https://bugs.launchpad.net/medibuntu/
     2 deb http://packages.medibuntu.org/ precise free non-free #Medibuntu - Ubuntu 12.04 "precise pangolin"
     3 # deb-src http://packages.medibuntu.org/ precise free non-free #Medibuntu (source) - Ubuntu 12.04 "precise pangolin"

/etc/apt/sources.list.d/diesch-testing-precise.list

     1 deb http://ppa.launchpad.net/diesch/testing/ubuntu precise main
     2 deb-src http://ppa.launchpad.net/diesch/testing/ubuntu precise main

/etc/apt/sources.list.d/ikarosdev-unity-revamped-precise.list

     1 # deb http://ppa.launchpad.net/ikarosdev/unity-revamped/ubuntu precise main
     2 # deb-src http://ppa.launchpad.net/ikarosdev/unity-revamped/ubuntu precise main

/etc/apt/sources.list.d/libreoffice-ppa-precise.list

     1 # deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main
     2 # deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main

/etc/apt/sources.list.d/libreoffice-libreoffice-universe-precise.list

     1 # deb http://ppa.launchpad.net/libreoffice/libreoffice-universe/ubuntu precise main
     2 # deb-src http://ppa.launchpad.net/libreoffice/libreoffice-universe/ubuntu precise main

/etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_crossover-trial_ubuntu.list

     1 deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/crossover-trial/ubuntu precise main #Added by software-center; credentials stored in /etc/apt/auth.conf
robert@WestView:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Robert Simpson
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

It seems that the package management troubleshooting procedure has already brought your system back into a consistent state (no messages about broken packages shown any more).

The question now is if you have libreoffice 3 or 4 installed on your system.

Plesae start libreoffice and tell us what version you see in the 'about' dialogue'
And open a terminal and issue the commands

dpkg -l libreoffice-core
apt-cache policy libreoffice-core

and copy/paste the output into a new message of this question document.

Revision history for this message
Robert Simpson (robert-x7yy) said :
#2

Thank you, Manfred Hampl, for an amazingly promt reply.
I am running LibreOffice Version 4.0.1.2 (Build ID: 400m0(Build:2)).
I have a number of problems with it and I want to revert. I may have made a hash of trying to remove the libreoffice ppa, but I believe there may have been some sort of package conflict before that. However, if you can guide me through the necessary steps, I can try that again.

Below is the requested terminal output.
Thanks again.
Robert

robert@WestView:~$ dpkg -l libreoffice-core
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libreoffice-co 1:4.0.1~rc2-0u office productivity suite -- arch-dependent
robert@WestView:~$ apt-cache policy libreoffice-core
libreoffice-core:
  Installed: 1:4.0.1~rc2-0ubuntu1~precise1~ppa1
  Candidate: 1:4.0.1~rc2-0ubuntu1~precise1~ppa1
  Version table:
 *** 1:4.0.1~rc2-0ubuntu1~precise1~ppa1 0
        500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.5.7-0ubuntu4 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
     1:3.5.4-0ubuntu1.1 0
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
     1:3.5.4-0ubuntu1~universe1 0
        500 http://ppa.launchpad.net/libreoffice/libreoffice-universe/ubuntu/ precise/main i386 Packages
     1:3.5.2-2ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
robert@WestView:~$

Revision history for this message
Penguincsc (amichai) said :
#3

First try to purge the LibreOffice PPAs you've added. How you do that depends on how you added the PPA. It is easier to just run ppa-purge and the PPA name from the command line in a terminal window. I don't have Synaptic installed, so I can't check the exact procedure...

After purging the PPAs, open a terminal window and enter the following commands:
apt-get update (to reload the repositories cache).
dpkg -l |grep -i libreoffice (to check if LibreOffice is installed). If not - you are ready to re-install LibreOffice.

You can then use Synaptic again to find and install LibreOffice again (make a note of the version under the version column).

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

Please read this post to its end before you start issuing commands!

To remove libreoffice 4 an to re-install libreoffice 3 the required steps should be the following:

1. disable the libreoffice PPAs (seems already done acoording to your output)
2. remove the libreoffice 4 packages with the command "sudo apt-get purge libreoffice libreoffice-\* python-uno"
3. remove orphan packages with the command "sudo apt-get autoremove"
4. install libreoffice version 3 with "sudo apt-get install libreoffice"

Removing a high number of packages like the libreoffice suite can have undesired side effects. There might be some unexpected dependencies on your system leading to the situation that too much is removed. To test that before really executing the command you best verify the effects of the command first.

So please start by issuing the command

apt-get --simulate purge libreoffice libreoffice-\* python-uno

and copy/paste the output into this question document. Depending on what the output of this command is we can recommend really doing that, or we have to find a slightly different variant.

Revision history for this message
Robert Simpson (robert-x7yy) said :
#5

Thank again to both for extremely helpful responses. I think they amount to the same thing. I have used Manfred Hampl's route, which seemed slightly fuller.

Manfred, alas I read your message from the beginning, and didn't read the simulate part until too late. As a result I have actullay run the commands. I include a copy of the terminal output, except that I have lost the earliest parts.

You will see at the end the unmet dependencies message which is very similar to what Synaptic was telling me before.

When I restore the ppa's, which I have now done, LIbreOffice 4 installs OK. But it has problems which I don't want to tackle just now.

Thanks for your help.

Robert

Note, selecting 'libreoffice-spellcheck-fi' for regex 'libreoffice-*'
Note, selecting 'libreoffice-dmaths' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-pt-br' for regex 'libreoffice-*'
Note, selecting 'libreoffice-base' for regex 'libreoffice-*'
Note, selecting 'libreoffice-spellcheck-tr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-dev-doc' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style-andromeda' for regex 'libreoffice-*'
Note, selecting 'libreoffice-zemberek' for regex 'libreoffice-*'
Note, selecting 'libreoffice-calc' for regex 'libreoffice-*'
Note, selecting 'libreoffice.org-writer' for regex 'libreoffice-*'
Note, selecting 'mozilla-libreoffice' for regex 'libreoffice-*'
Note, selecting 'libreoffice-gnome' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-af' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-be' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ca' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-bg' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-da' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ar' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-bn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-as' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-de' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-br' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-bs' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-fa' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-cs' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ga' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-el' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-fi' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-eo' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-cy' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-es' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-he' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-et' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-eu' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-dz' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-gl' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-fr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-id' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-hi' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ja' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ka' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-gu' for regex 'libreoffice-*'
Note, selecting 'docvert-libreoffice' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-hr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-hu' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-is' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-it' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-km' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ko' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-nb' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ne' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-mk' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ku' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ml' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-oc' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-mn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-lt' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-lv' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-nl' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-mr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-nn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-nr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-om' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-pl' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-or' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-pt' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ta' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-si' for regex 'libreoffice-*'
Note, selecting 'libreoffice-script-provider-bsh' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-te' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ro' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-sk' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-tg' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-sl' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-th' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ru' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ug' for regex 'libreoffice-*'
Note, selecting 'libreoffice-officebean' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-sr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-rw' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-tn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ss' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ve' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-st' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-uk' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-sv' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-tr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-vi' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ts' for regex 'libreoffice-*'
Note, selecting 'libreoffice-emailmerge' for regex 'libreoffice-*'
Note, selecting 'libreoffice-gtk-gnome' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-xh' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-zh-cn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-uz' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-zu' for regex 'libreoffice-*'
Note, selecting 'libreoffice.org-calc' for regex 'libreoffice-*'
Note, selecting 'libreoffice-core' for regex 'libreoffice-*'
Note, selecting 'libreoffice-evolution' for regex 'libreoffice-*'
Note, selecting 'libreoffice-pdfimport' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-zh-tw' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-zh-cn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-ast' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style-hicontrast' for regex 'libreoffice-*'
Note, selecting 'libreoffice-writer' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style-oxygen' for regex 'libreoffice-*'
Note, selecting 'libreoffice-filter-mobiledev' for regex 'libreoffice-*'
Note, selecting 'libreoffice-draw' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-zh-tw' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-en-gb' for regex 'libreoffice-*'
Note, selecting 'libreoffice-filter-binfilter' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-en-us' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-en-za' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-en-gb' for regex 'libreoffice-*'
Note, selecting 'libreoffice-base-core' for regex 'libreoffice-*'
Note, selecting 'libreoffice-ogltrans' for regex 'libreoffice-*'
Note, selecting 'libreoffice-unbundled' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-en-us' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-en-za' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-nso' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-af' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-be' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ca' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-bg' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-da' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ar' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style-human' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-bn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-as' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-de' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-br' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-bs' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-fa' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-cs' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ga' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-el' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style-industrial' for regex 'libreoffice-*'
Note, selecting 'libreoffice-hyphenation-fi' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-fi' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-eo' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-cy' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-es' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-he' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-et' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-eu' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-dz' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-gl' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-fr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-id' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-hi' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ja' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ka' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-gu' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-hr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-in' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-hu' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-is' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-it' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-km' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ko' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-nb' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ne' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-mk' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ku' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ml' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-oc' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-mn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-lt' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-lv' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-nl' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-mr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-nn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-nr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-om' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-pl' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-or' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-pt' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ta' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-si' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ro' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-te' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-sk' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-tg' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-sl' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-th' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ru' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ug' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-sr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-rw' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-tn' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ss' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ve' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-st' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-uk' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-sv' for regex 'libreoffice-*'
Note, selecting 'libreoffice-hyphenation-tr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-tr' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-vi' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ts' for regex 'libreoffice-*'
Note, selecting 'libreoffice-gtk3' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-xh' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-za' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-uz' for regex 'libreoffice-*'
Note, selecting 'libreoffice-filter-so52' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-zu' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style-crystal' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-3.5' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-4.0' for regex 'libreoffice-*'
Note, selecting 'libreoffice-writer2latex' for regex 'libreoffice-*'
Note, selecting 'libreoffice-script-provider-python' for regex 'libreoffice-*'
Note, selecting 'libreoffice-writer2xhtml' for regex 'libreoffice-*'
Note, selecting 'libreoffice-impress' for regex 'libreoffice-*'
Note, selecting 'libreoffice-nlpsolver' for regex 'libreoffice-*'
Note, selecting 'libreoffice-dtd-officedocument1.0' for regex 'libreoffice-*'
Note, selecting 'libreoffice-java-common' for regex 'libreoffice-*'
Note, selecting 'libreoffice-mysql-connector' for regex 'libreoffice-*'
Note, selecting 'openclipart-libreoffice' for regex 'libreoffice-*'
Note, selecting 'libreoffice-math' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-ast' for regex 'libreoffice-*'
Note, selecting 'libreoffice' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style-galaxy' for regex 'libreoffice-*'
Note, selecting 'libreoffice-sdbc-postgresql' for regex 'libreoffice-*'
Note, selecting 'libreoffice-script-provider-js' for regex 'libreoffice-*'
Note, selecting 'libreoffice-common' for regex 'libreoffice-*'
Note, selecting 'libreoffice-dbg' for regex 'libreoffice-*'
Note, selecting 'libreoffice-dev' for regex 'libreoffice-*'
Note, selecting 'libreoffice-voikko' for regex 'libreoffice-*'
Note, selecting 'libreoffice-report-builder-bin' for regex 'libreoffice-*'
Note, selecting 'libreoffice-gcj' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-nso' for regex 'libreoffice-*'
Note, selecting 'libreoffice-l10n-pa-in' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style-tango' for regex 'libreoffice-*'
Note, selecting 'libreoffice-kab' for regex 'libreoffice-*'
Note, selecting 'libreoffice-gtk' for regex 'libreoffice-*'
Note, selecting 'libreoffice-wiki-publisher' for regex 'libreoffice-*'
Note, selecting 'libreoffice-kde' for regex 'libreoffice-*'
Note, selecting 'libreoffice-help-pa-in' for regex 'libreoffice-*'
Note, selecting 'libreoffice-report-builder' for regex 'libreoffice-*'
Note, selecting 'libreoffice-style-default' for regex 'libreoffice-*'
Note, selecting 'libreoffice-common' instead of 'libreoffice-l10n-en-us'
Note, selecting 'libreoffice-core' instead of 'libreoffice-bundled'
Note, selecting 'openoffice.org-dtd-officedocument1.0' instead of 'libreoffice-dtd-officedocument1.0'
Note, selecting 'libreoffice-gnome' instead of 'libreoffice-gtk-gnome'
Note, selecting 'libreoffice-voikko' instead of 'libreoffice-spellcheck-fi'
Note, selecting 'libreoffice-zemberek' instead of 'libreoffice-spellcheck-tr'
Note, selecting 'libreoffice-voikko' instead of 'libreoffice-hyphenation-fi'
Note, selecting 'python3-uno' instead of 'libreoffice-script-provider-python'
Note, selecting 'libreoffice-zemberek' instead of 'libreoffice-hyphenation-tr'
Package libreoffice-nlpsolver is not installed, so not removed
Package libreoffice-voikko is not installed, so not removed
Package docvert-libreoffice is not installed, so not removed
Package libreoffice-dmaths is not installed, so not removed
Package libreoffice-writer2latex is not installed, so not removed
Package libreoffice-writer2xhtml is not installed, so not removed
Package libreoffice-zemberek is not installed, so not removed
Package openclipart-libreoffice is not installed, so not removed
Package libreoffice-dbg is not installed, so not removed
Package libreoffice-dev is not installed, so not removed
Package libreoffice-dev-doc is not installed, so not removed
Package libreoffice-evolution is not installed, so not removed
Package libreoffice-filter-binfilter is not installed, so not removed
Package libreoffice-filter-mobiledev is not installed, so not removed
Package libreoffice-help-ca is not installed, so not removed
Package libreoffice-help-cs is not installed, so not removed
Package libreoffice-help-da is not installed, so not removed
Package libreoffice-help-de is not installed, so not removed
Package libreoffice-help-dz is not installed, so not removed
Package libreoffice-help-el is not installed, so not removed
Package libreoffice-help-en-gb is not installed, so not removed
Package libreoffice-help-en-us is not installed, so not removed
Package libreoffice-help-es is not installed, so not removed
Package libreoffice-help-et is not installed, so not removed
Package libreoffice-help-eu is not installed, so not removed
Package libreoffice-help-fi is not installed, so not removed
Package libreoffice-help-fr is not installed, so not removed
Package libreoffice-help-gl is not installed, so not removed
Package libreoffice-help-hi is not installed, so not removed
Package libreoffice-help-hu is not installed, so not removed
Package libreoffice-help-it is not installed, so not removed
Package libreoffice-help-ja is not installed, so not removed
Package libreoffice-help-km is not installed, so not removed
Package libreoffice-help-ko is not installed, so not removed
Package libreoffice-help-nl is not installed, so not removed
Package libreoffice-help-om is not installed, so not removed
Package libreoffice-help-pl is not installed, so not removed
Package libreoffice-help-pt is not installed, so not removed
Package libreoffice-help-pt-br is not installed, so not removed
Package libreoffice-help-ru is not installed, so not removed
Package libreoffice-help-sk is not installed, so not removed
Package libreoffice-help-sl is not installed, so not removed
Package libreoffice-help-sv is not installed, so not removed
Package libreoffice-help-zh-cn is not installed, so not removed
Package libreoffice-help-zh-tw is not installed, so not removed
Package libreoffice-kde is not installed, so not removed
Package libreoffice-l10n-af is not installed, so not removed
Package libreoffice-l10n-ar is not installed, so not removed
Package libreoffice-l10n-as is not installed, so not removed
Package libreoffice-l10n-ast is not installed, so not removed
Package libreoffice-l10n-be is not installed, so not removed
Package libreoffice-l10n-bg is not installed, so not removed
Package libreoffice-l10n-bn is not installed, so not removed
Package libreoffice-l10n-br is not installed, so not removed
Package libreoffice-l10n-bs is not installed, so not removed
Package libreoffice-l10n-ca is not installed, so not removed
Package libreoffice-l10n-cs is not installed, so not removed
Package libreoffice-l10n-cy is not installed, so not removed
Package libreoffice-l10n-da is not installed, so not removed
Package libreoffice-l10n-de is not installed, so not removed
Package libreoffice-l10n-dz is not installed, so not removed
Package libreoffice-l10n-el is not installed, so not removed
Package libreoffice-l10n-en-gb is not installed, so not removed
Package libreoffice-l10n-en-za is not installed, so not removed
Package libreoffice-l10n-eo is not installed, so not removed
Package libreoffice-l10n-es is not installed, so not removed
Package libreoffice-l10n-et is not installed, so not removed
Package libreoffice-l10n-eu is not installed, so not removed
Package libreoffice-l10n-fa is not installed, so not removed
Package libreoffice-l10n-fi is not installed, so not removed
Package libreoffice-l10n-fr is not installed, so not removed
Package libreoffice-l10n-ga is not installed, so not removed
Package libreoffice-l10n-gl is not installed, so not removed
Package libreoffice-l10n-gu is not installed, so not removed
Package libreoffice-l10n-he is not installed, so not removed
Package libreoffice-l10n-hi is not installed, so not removed
Package libreoffice-l10n-hr is not installed, so not removed
Package libreoffice-l10n-hu is not installed, so not removed
Package libreoffice-l10n-id is not installed, so not removed
Package libreoffice-l10n-in is not installed, so not removed
Package libreoffice-l10n-is is not installed, so not removed
Package libreoffice-l10n-it is not installed, so not removed
Package libreoffice-l10n-ja is not installed, so not removed
Package libreoffice-l10n-ka is not installed, so not removed
Package libreoffice-l10n-km is not installed, so not removed
Package libreoffice-l10n-ko is not installed, so not removed
Package libreoffice-l10n-ku is not installed, so not removed
Package libreoffice-l10n-lt is not installed, so not removed
Package libreoffice-l10n-lv is not installed, so not removed
Package libreoffice-l10n-mk is not installed, so not removed
Package libreoffice-l10n-ml is not installed, so not removed
Package libreoffice-l10n-mn is not installed, so not removed
Package libreoffice-l10n-mr is not installed, so not removed
Package libreoffice-l10n-nb is not installed, so not removed
Package libreoffice-l10n-ne is not installed, so not removed
Package libreoffice-l10n-nl is not installed, so not removed
Package libreoffice-l10n-nn is not installed, so not removed
Package libreoffice-l10n-nr is not installed, so not removed
Package libreoffice-l10n-nso is not installed, so not removed
Package libreoffice-l10n-oc is not installed, so not removed
Package libreoffice-l10n-om is not installed, so not removed
Package libreoffice-l10n-or is not installed, so not removed
Package libreoffice-l10n-pa-in is not installed, so not removed
Package libreoffice-l10n-pl is not installed, so not removed
Package libreoffice-l10n-pt is not installed, so not removed
Package libreoffice-l10n-pt-br is not installed, so not removed
Package libreoffice-l10n-ro is not installed, so not removed
Package libreoffice-l10n-ru is not installed, so not removed
Package libreoffice-l10n-rw is not installed, so not removed
Package libreoffice-l10n-si is not installed, so not removed
Package libreoffice-l10n-sk is not installed, so not removed
Package libreoffice-l10n-sl is not installed, so not removed
Package libreoffice-l10n-sr is not installed, so not removed
Package libreoffice-l10n-ss is not installed, so not removed
Package libreoffice-l10n-st is not installed, so not removed
Package libreoffice-l10n-sv is not installed, so not removed
Package libreoffice-l10n-ta is not installed, so not removed
Package libreoffice-l10n-te is not installed, so not removed
Package libreoffice-l10n-tg is not installed, so not removed
Package libreoffice-l10n-th is not installed, so not removed
Package libreoffice-l10n-tn is not installed, so not removed
Package libreoffice-l10n-tr is not installed, so not removed
Package libreoffice-l10n-ts is not installed, so not removed
Package libreoffice-l10n-ug is not installed, so not removed
Package libreoffice-l10n-uk is not installed, so not removed
Package libreoffice-l10n-uz is not installed, so not removed
Package libreoffice-l10n-ve is not installed, so not removed
Package libreoffice-l10n-vi is not installed, so not removed
Package libreoffice-l10n-xh is not installed, so not removed
Package libreoffice-l10n-za is not installed, so not removed
Package libreoffice-l10n-zh-cn is not installed, so not removed
Package libreoffice-l10n-zh-tw is not installed, so not removed
Package libreoffice-l10n-zu is not installed, so not removed
Package libreoffice-officebean is not installed, so not removed
Package libreoffice-style-human is not installed, so not removed
Package libreoffice-style-oxygen is not installed, so not removed
Package libreoffice-gtk3 is not installed, so not removed
Package libreoffice-mysql-connector is not installed, so not removed
Package libreoffice-ogltrans is not installed, so not removed
Package libreoffice-presentation-minimizer is not installed, so not removed
Package libreoffice-presenter-console is not installed, so not removed
Package libreoffice-script-provider-bsh is not installed, so not removed
Package libreoffice-script-provider-js is not installed, so not removed
Package libreoffice-sdbc-postgresql is not installed, so not removed
Package libreoffice-style-crystal is not installed, so not removed
Package libreoffice-style-hicontrast is not installed, so not removed
Package libreoffice-wiki-publisher is not installed, so not removed
Package mozilla-libreoffice is not installed, so not removed
The following packages will be REMOVED
  libreoffice* libreoffice-base* libreoffice-base-core* libreoffice-calc*
  libreoffice-common* libreoffice-core* libreoffice-draw*
  libreoffice-emailmerge* libreoffice-gnome* libreoffice-gtk*
  libreoffice-impress* libreoffice-java-common* libreoffice-math*
  libreoffice-pdfimport* libreoffice-report-builder-bin*
  libreoffice-style-galaxy* libreoffice-style-tango* libreoffice-writer*
  python-uno*
0 upgraded, 0 newly installed, 19 to remove and 0 not upgraded.
After this operation, 273 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 410546 files and directories currently installed.)
Removing libreoffice ...
Removing libreoffice-report-builder-bin ...
Removing libreoffice-base ...
Purging configuration files for libreoffice-base ...
Removing libreoffice-calc ...
Purging configuration files for libreoffice-calc ...
Removing libreoffice-writer ...
Purging configuration files for libreoffice-writer ...
Removing libreoffice-base-core ...
Removing libreoffice-impress ...
Purging configuration files for libreoffice-impress ...
Removing libreoffice-draw ...
Purging configuration files for libreoffice-draw ...
Removing libreoffice-emailmerge ...
Removing python-uno ...
Removing libreoffice-gnome ...
Removing libreoffice-gtk ...
Removing libreoffice-pdfimport ...
Removing libreoffice-math ...
Purging configuration files for libreoffice-math ...
Removing libreoffice-core ...
Purging configuration files for libreoffice-core ...
Removing libreoffice-java-common ...
Removing libreoffice-common ...
rmdir: failed to remove `/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice/share/': Directory not empty
rmdir: failed to remove `/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice': Directory not empty
rmdir: failed to remove `/var/lib/libreoffice': Directory not empty
Purging configuration files for libreoffice-common ...
dpkg: warning: while removing libreoffice-common, directory '/var/lib/libreoffice/share' not empty so not removed.
dpkg: warning: while removing libreoffice-common, directory '/usr/share/mimelnk/application' not empty so not removed.
Removing libreoffice-style-galaxy ...
Removing libreoffice-style-tango ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for menu ...
Processing triggers for gnome-icon-theme ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
robert@WestView:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
  fonts-opensymbol libboost-date-time1.46.1 libcdr-0.0-0 libclucene-contribs1
  libclucene-core1 libcmis-0.3-3 libexttextcat-2.0-0 libhsqldb-java
  libmspub-0.0-0 libvisio-0.0-0 uno-libs3 ure
0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded.
After this operation, 15.5 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 407767 files and directories currently installed.)
Removing fonts-opensymbol ...
Removing libcmis-0.3-3 ...
Removing libboost-date-time1.46.1 ...
Removing libcdr-0.0-0 ...
Removing libclucene-contribs1 ...
Removing libclucene-core1 ...
Removing libexttextcat-2.0-0 ...
Removing libhsqldb-java ...
Removing libmspub-0.0-0 ...
Removing libvisio-0.0-0 ...
Removing uno-libs3 ...
Removing ure ...
Processing triggers for fontconfig ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
robert@WestView:~$ sudo apt-get install libreoffice
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 libreoffice : Depends: libreoffice-core (= 1:3.5.7-0ubuntu4) but it is not going to be installed
               Depends: libreoffice-writer but it is not going to be installed
               Depends: libreoffice-calc but it is not going to be installed
               Depends: libreoffice-impress but it is not going to be installed
               Depends: libreoffice-draw but it is not going to be installed
               Depends: libreoffice-math but it is not going to be installed
               Depends: libreoffice-base but it is not going to be installed
               Depends: libreoffice-filter-mobiledev but it is not going to be installed
               Depends: libreoffice-java-common (>= 1:3.5.7~) but it is not going to be installed
               Recommends: libreoffice-gnome but it is not going to be installed or
                           libreoffice-kde but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
robert@WestView:~$

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

Your output shows that removing libreoffice 4 is possible without noteworthy problems. The only problem shown is that the command for installing libreoffice 3 ends with dependency problems.

If you want we can try tackling that problem further. I am rather confident that sooner or later it will possible to identify the root cause for the dependency problem and to find a workaround.

The following approach seems most promising for me:

1. disable the libreoffice PPAs again
2. reload the package information "sudo apt-get update"
3. remove the libreoffice 4 packages with the command "sudo apt-get purge libreoffice libreoffice-\* python-uno"
4. remove orphan packages with the command "sudo apt-get autoremove"
5. Try installing libreoffice-core version 3 with "sudo apt-get install libreoffice-core" and check for error messages. If this package cannot be installed because of dependency problems, take the first dependency that is listed and try installing that package with "sudo apt-get install ..." and check for error messages etc. until either the package can be installed, or there is a different error message.

Revision history for this message
Robert Simpson (robert-x7yy) said :
#7

Hallelujah! Manfred you're my hero!

I had tried this sort of thing in Synaptic, but it became a loop, so there was no end to the trail. In Terminal, the first dependency was libexttextcat0, which depended on libexttextcat-data. For some reason, this was trying to install a later version than the one required. Error message:
libexttextcat0 : Depends: libexttextcat-data (= 3.2.0-1ubuntu1) but 3.4.0-1~precise1 is to be installed

I purged libexttextcat-data, then installed that, libexttextcat0, libreoffice-core and libreoffice, and we're flying.

Thank you very much.

Revision history for this message
alienheartbeat (reckless-symmetry) said :
#8

I know I shouldn't do a "me too" but thank you - I had exactly the same problem while trying to revert from 4.1 to 3 and you provided exactly the solution.