Bug 62972 - Cannot upgrade from Ubuntu 12.04.2
Summary: Cannot upgrade from Ubuntu 12.04.2
Status: RESOLVED DUPLICATE of bug 62725
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
(See in Summary)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-31 23:22 UTC by Douglas Lucas
Modified: 2013-04-05 09:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Lucas 2013-03-31 23:22:11 UTC
I am running Ubuntu 12.04.2 as a live system.

I have the LibreOffice repo installed. From sources.list:

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

When I try to upgrade LibreOffice from the version included by default in Ubuntu 12.04.2 to whatever the latest version in the repo is as of 31 March 2013, the upgrade fails and LibreOffice Writer crashes if I attempt to run it. (This has been happening for about 2 weeks now.) Here is what terminal gives me when I attempt to 'sudo apt-get upgrade':

The following packages will be REMOVED:
  libexttextcat0
The following NEW packages will be installed:
  libboost-date-time1.46.1 libcdr-0.0-0 libclucene-contribs1 libclucene-core1
  libcmis-0.3-3 libexttextcat-2.0-0 libframe6 libgeis1 libgrail5
  libmspub-0.0-0 libreoffice-pdfimport libvisio-0.0-0
  linux-image-3.2.0-39-generic sbsigntool
The following packages will be upgraded:
  accountsservice bind9-host dmsetup dnsutils fonts-opensymbol ginn
  gnome-control-center gnome-control-center-data gnome-online-accounts
  gnome-screenshot gwibber gwibber-service gwibber-service-facebook
  gwibber-service-identica gwibber-service-twitter language-selector-common
  language-selector-gnome libaccountsservice0 libbind9-80
  libdevmapper-event1.02.1 libdevmapper1.02.1 libdns81 libexttextcat-data
  libgnome-control-center1 libgoa-1.0-0 libgoa-1.0-common libgrip0
  libgwibber-gtk2 libgwibber2 libisc83 libisccc80 libisccfg82
  liblightdm-gobject-1-0 liblvm2app2.2 liblwres80 libneon27-gnutls
  libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core
  libreoffice-draw libreoffice-emailmerge libreoffice-gnome libreoffice-gtk
  libreoffice-help-en-us libreoffice-impress libreoffice-math
  libreoffice-style-human libreoffice-style-tango libreoffice-writer
  libssl1.0.0 libssl1.0.0:i386 libunity-2d-private0 libunity-core-5.0-5
  libxml2 libxml2:i386 libxml2-utils libxrandr-dev libxrandr2 lightdm
  linux-generic linux-image-generic openssl python-libxml2 python-uno rsyslog
  ubiquity ubiquity-frontend-gtk ubiquity-ubuntu-artwork unity unity-2d-common
  unity-2d-panel unity-2d-shell unity-2d-spread unity-common unity-services
  uno-libs3 ure
78 upgraded, 14 newly installed, 1 to remove and 0 not upgraded.
Need to get 129 MB of archives.
After this operation, 188 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
[...]
Fetched 129 MB in 1min 30s (1,426 kB/s)                                        
      libreoffice-gnome:amd64 conflicts with libreoffice-core:amd64
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 190824 files and directories currently installed.)
Preparing to replace libxml2 2.7.8.dfsg-5.1ubuntu4.3 (using .../libxml2_2.7.8.dfsg-5.1ubuntu4.4_amd64.deb) ...
De-configuring libxml2:i386 ...
Unpacking replacement libxml2 ...
Preparing to replace libxml2:i386 2.7.8.dfsg-5.1ubuntu4.3 (using .../libxml2_2.7.8.dfsg-5.1ubuntu4.4_i386.deb) ...
Unpacking replacement libxml2:i386 ...
Setting up libxml2 (2.7.8.dfsg-5.1ubuntu4.4) ...
Setting up libxml2:i386 (2.7.8.dfsg-5.1ubuntu4.4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 190824 files and directories currently installed.)
Preparing to replace ure 4.0.1~rc2-0ubuntu1~precise1~ppa1 (using .../ure_4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
Unpacking replacement ure ...
Preparing to replace uno-libs3 4.0.1~rc2-0ubuntu1~precise1~ppa1 (using .../uno-libs3_4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
Unpacking replacement uno-libs3 ...
Preparing to replace libreoffice-writer 1:3.5.4-0ubuntu1.1 (using .../libreoffice-writer_1%3a4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
Unpacking replacement libreoffice-writer ...
Preparing to replace libreoffice-calc 1:3.5.4-0ubuntu1.1 (using .../libreoffice-calc_1%3a4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
Unpacking replacement libreoffice-calc ...
Preparing to replace libreoffice-base-core 1:3.5.4-0ubuntu1.1 (using .../libreoffice-base-core_1%3a4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
Unpacking replacement libreoffice-base-core ...
Preparing to replace libreoffice-impress 1:3.5.4-0ubuntu1.1 (using .../libreoffice-impress_1%3a4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
Unpacking replacement libreoffice-impress ...
Preparing to replace libreoffice-draw 1:3.5.4-0ubuntu1.1 (using .../libreoffice-draw_1%3a4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
Unpacking replacement libreoffice-draw ...
Preparing to replace libreoffice-style-tango 1:3.5.4-0ubuntu1.1 (using .../libreoffice-style-tango_1%3a4.0.2~rc1-0ubuntu1~precise2_all.deb) ...
Unpacking replacement 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 ...
dpkg: libreoffice-core: dependency problems, but removing anyway as you requested:
 python-uno depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1).
 libreoffice-gtk depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1).
 libreoffice-emailmerge depends on libreoffice-core.
 libreoffice-gnome depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1).
 libreoffice-math depends on libreoffice-core (= 1:3.5.4-0ubuntu1.1).
(Reading database ... 190824 files and directories currently installed.)
Removing libreoffice-core ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
(Reading database ... 190629 files and directories currently installed.)
Preparing to replace libreoffice-gnome 1:3.5.4-0ubuntu1.1 (using .../libreoffice-gnome_1%3a4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
Unpacking replacement libreoffice-gnome ...
Preparing to replace libreoffice-gtk 1:3.5.4-0ubuntu1.1 (using .../libreoffice-gtk_1%3a4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
Unpacking replacement libreoffice-gtk ...
Selecting previously unselected package libreoffice-core.
dpkg: considering deconfiguration of libreoffice-common, which would be broken by installation of libreoffice-core ...
dpkg: yes, will deconfigure libreoffice-common (broken by libreoffice-core).
Unpacking libreoffice-core (from .../libreoffice-core_1%3a4.0.2~rc1-0ubuntu1~precise2_amd64.deb) ...
De-configuring libreoffice-common ...
Preparing to replace libreoffice-common 1:3.5.4-0ubuntu1.1 (using .../libreoffice-common_1%3a4.0.2~rc1-0ubuntu1~precise2_all.deb) ...
Unpacking replacement libreoffice-common ...
dpkg: error processing /var/cache/apt/archives/libreoffice-common_1%3a4.0.2~rc1-0ubuntu1~precise2_all.deb (--unpack):
 trying to overwrite '/usr/lib/libreoffice/program/officehelper.py', which is also in package libreoffice-emailmerge 1:4.0.1~rc2-0ubuntu1~precise1~ppa1
dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe)
dpkg-deb: error: subprocess <decompress> returned error exit status 2
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
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a4.0.2~rc1-0ubuntu1~precise2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The OS GUI then gives me a "System problem detected" error.

I do not have any LibreOffice extensions involved; this is from a brand new install of Ubuntu each time (live system). Thanks!
Comment 1 Julien Nabet 2013-04-03 22:03:02 UTC
Björn: would say Ubuntu bug, what do you think?
Comment 2 Björn Michaelsen 2013-04-04 01:18:38 UTC
downstream bug, see also:
https://lists.launchpad.net/libreoffice/msg00049.html
Comment 3 Björn Michaelsen 2013-04-05 09:59:51 UTC

*** This bug has been marked as a duplicate of bug 62725 ***