package libreoffice-core 1:3.4.4-0ubuntu2 failed to install/upgrade: ErrorMessage: subprocess new pre-installation script returned error exit status 1

Bug #915874 reported by Adam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
New
Undecided
Unassigned

Bug Description

When attempting to upgrade from Alpha install media to current I get the following messages:

precise@Precise:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
 libreoffice-base-core : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
 libreoffice-calc : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
 libreoffice-common : Breaks: libreoffice-core (< 1:3.5~) but 1:3.4.4-0ubuntu2 is installed
 libreoffice-draw : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
 libreoffice-filter-binfilter : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
 libreoffice-gnome : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
 libreoffice-gtk : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
 libreoffice-impress : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
 libreoffice-math : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
 libreoffice-writer : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
 python-uno : Depends: libreoffice-core (= 1:3.5.0~beta2-2ubuntu2) but 1:3.4.4-0ubuntu2 is installed
E: Unmet dependencies. Try using -f.
precise@Precise:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libreoffice-l10n-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libreoffice-core
The following packages will be upgraded:
  libreoffice-core
1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
12 not fully installed or removed.
Need to get 0 B/38.6 MB of archives.
After this operation, 5,895 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 126172 files and directories currently installed.)
Preparing to replace libreoffice-core 1:3.4.4-0ubuntu2 (using .../libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb) ...
rmdir: failed to remove `usr/lib/libreoffice/basis3.4/program/': Directory not empty
dpkg: error processing /var/cache/apt/archives/libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
precise@Precise:~$ sudo update-manager -d

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Starting
Starting 2
Done
start: Job is already running: apport
ERROR:root:got an error from dpkg for pkg: '/var/cache/apt/archives/libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb': 'subprocess new pre-installation script returned error exit status 1'
ERROR:root:got an error from dpkg for pkg: '/var/cache/apt/archives/libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb': 'subprocess new pre-installation script returned error exit status 1'

A partial upgrade successfully completes but leaves unmet dependencies for libre office

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: libreoffice-core 1:3.4.4-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-8.15-generic 3.2.0
Uname: Linux 3.2.0-8-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Fri Jan 13 09:10:25 2012
ErrorMessage: ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120112)
SourcePackage: libreoffice
Title: package libreoffice-core 1:3.4.4-0ubuntu2 failed to install/upgrade: ErrorMessage: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-01-13 (0 days ago)

Revision history for this message
Adam (adam-jackman) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.