Libre Office Update Broken
  • The latest Libre Office update 5.4.2~rc2-0ubuntu0.16.04.1~lo1 produces the following errors during uCareSystem installation:

    Preparing to unpack .../libreoffice-calc_1%3a5.4.2~rc2-0ubuntu0.16.04.1~lo1_amd64.deb ...
    Unpacking libreoffice-calc (1:5.4.2~rc2-0ubuntu0.16.04.1~lo1) over (1:5.4.1~rc2-0ubuntu0.16.04.1~lo0) ...
    dpkg: error processing archive /var/cache/apt/archives/libreoffice-calc_1%3a5.4.2~rc2-0ubuntu0.16.04.1~lo1_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/libreoffice/program/pagein-calc', which is also in package libreoffice-common 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Preparing to unpack .../libreoffice-impress_1%3a5.4.2~rc2-0ubuntu0.16.04.1~lo1_amd64.deb ...
    Unpacking libreoffice-impress (1:5.4.2~rc2-0ubuntu0.16.04.1~lo1) over (1:5.4.1~rc2-0ubuntu0.16.04.1~lo0) ...
    dpkg: error processing archive /var/cache/apt/archives/libreoffice-impress_1%3a5.4.2~rc2-0ubuntu0.16.04.1~lo1_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/libreoffice/program/pagein-impress', which is also in package libreoffice-common 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Preparing to unpack .../libreoffice-draw_1%3a5.4.2~rc2-0ubuntu0.16.04.1~lo1_amd64.deb ...
    Unpacking libreoffice-draw (1:5.4.2~rc2-0ubuntu0.16.04.1~lo1) over (1:5.4.1~rc2-0ubuntu0.16.04.1~lo0) ...
    dpkg: error processing archive /var/cache/apt/archives/libreoffice-draw_1%3a5.4.2~rc2-0ubuntu0.16.04.1~lo1_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/libreoffice/program/pagein-draw', which is also in package libreoffice-common 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0

    and

    Errors were encountered while processing:
     /var/cache/apt/archives/libreoffice-calc_1%3a5.4.2~rc2-0ubuntu0.16.04.1~lo1_amd64.deb
     /var/cache/apt/archives/libreoffice-impress_1%3a5.4.2~rc2-0ubuntu0.16.04.1~lo1_amd64.deb
     /var/cache/apt/archives/libreoffice-draw_1%3a5.4.2~rc2-0ubuntu0.16.04.1~lo1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    The following packages have unmet dependencies:
     libreoffice-calc : Depends: libreoffice-base-core (= 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0) but 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 is installed
                        Depends: libreoffice-core (= 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0) but 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 is installed
     libreoffice-core : Breaks: libreoffice-calc (< 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1) but 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0 is installed
                        Breaks: libreoffice-draw (< 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1) but 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0 is installed
                        Breaks: libreoffice-impress (< 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1) but 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0 is installed
     libreoffice-draw : Depends: libreoffice-core (= 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0) but 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 is installed
     libreoffice-impress : Depends: libreoffice-core (= 1:5.4.1~rc2-0ubuntu0.16.04.1~lo0) but 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 is installed
    E: Unmet dependencies. Try using -f.

    Usually these updates install without issues but not this time.  Someone needs to fix repository:
    Get:33 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial/main amd64 libreoffice-calc amd64 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 [6,909 kB]
    Get:34 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial/main amd64 libreoffice-impress amd64 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 [911 kB]
    Get:35 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial/main amd64 libreoffice-draw amd64 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 [3,402 kB]
    Get:41 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial/main amd64 libreoffice-base-core amd64 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 [711 kB]
    Get:54 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial/main amd64 libreoffice-common all 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 [20.9 MB]
    Get:58 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial/main amd64 libreoffice-core amd64 1:5.4.2~rc2-0ubuntu0.16.04.1~lo1 [36.3 MB]

  • lxlelxle
    PMPosts: 2,656
    The update manager also states at the end of it's run to do the following..

    "deborphan: The status file is in an improper state.
    One or more packages are marked as half-installed, half-configured,
    unpacked, triggers-awaited or triggers-pending. Exiting.

    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these."

    Doing so finishes the install. The repository responsible for libreoffice is a PPA maintain by the Libreoffice team. Not sure if they are aware of the extra step needed this time.
  • "You might want to run 'apt-get -f install' to correct these."

    That worked for me. Thanks for the info.

    ---