Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: libreoffice (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/960867
Title:
package python-uno 1:3.5.0-2ubuntu1 failed to install/upgrade:
subprocess new pre-installation script returned error exit status 1
Status in “libreoffice” package in Ubuntu:
Confirmed
Bug description:
$ lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
Extract from output of 'sudo apt-get dist-upgrade':
Preparing to replace python-uno 1:3.5.0-2ubuntu1 (using
.../python-uno_1%3a3.5.1-1ubuntu1_amd64.deb) ...
ERROR: unopkg cannot be started. The lock file indicates it as already
running. If this does not apply, delete the lock file at:
/var/lib/libreoffice/share/prereg/.lock
dpkg: error processing
/var/cache/apt/archives/python-uno_1%3a3.5.1-1ubuntu1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Processing triggers for fontconfig ...
Errors were encountered while processing:
/var/cache/apt/archives/python-uno_1%3a3.5.1-1ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
tim@zaphod:~$
The lock file /var/lib/libreoffice/share/prereg/.lock had survived multiple
reboots:
$ ls -l /var/lib/libreoffice/share/prereg/.lock
-rw-r--r-- 1 root root 126 Mar 8 20:55
/var/lib/libreoffice/share/prereg/.lock
~$ last reboot
reboot system boot 3.2.0-19-generic Tue Mar 20 19:47 - 18:13 (22:25)
reboot system boot 3.2.0-19-generic Mon Mar 19 18:26 - 19:45 (1+01:19)
Removing the lock file then running
sudo apt-get -f install
successfuly competed the installation:
$ 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:
libcogl5 gnome-js-common linux-headers-3.2.0-18 seed dkms libseed-gtk3-0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
python-uno
The following packages will be upgraded:
python-uno
1 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
52 not fully installed or removed.
Need to get 0 B/156 kB of archives.
After this operation, 219 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 238205 files and directories currently installed.)
Preparing to replace python-uno 1:3.5.0-2ubuntu1 (using
.../python-uno_1%3a3.5.1-1ubuntu1_amd64.deb) ...
Synchronizing repository for bundled extensions
Disabling: script-provider-for-python
Disabling: pythonscript.py
unopkg done.
Unpacking replacement python-uno ...
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: python-uno 1:3.5.0-2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
Uname: Linux 3.2.0-19-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Wed Mar 21 18:03:48 2012
ErrorMessage: subprocess new pre-installation script returned error exit
status 1
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110920.5)
SourcePackage: libreoffice
Title: package python-uno 1:3.5.0-2ubuntu1 failed to install/upgrade:
subprocess new pre-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-03-14 (7 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/960867/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp