package python-uno 1:3.5.0-2ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libreoffice (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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-
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/
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 1
Processing triggers for fontconfig ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
tim@zaphod:~$
The lock file /var/lib/
$ ls -l /var/lib/
-rw-r--r-- 1 root root 126 Mar 8 20:55 /var/lib/
~$ 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-
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-
Synchronizing repository for bundled extensions
Disabling: script-
Disabling: pythonscript.py
unopkg done.
Unpacking replacement python-uno ...
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: python-uno 1:3.5.0-2ubuntu1
ProcVersionSign
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)
tags: | removed: need-duplicate-check |
I ran apt-get dist-upgrade in a terminal, because update manager warned that a partial upgrade needed to be run.
After running apt-get -f install, update-manager popped up again, with 71 packages to upgrade. No archives were fetched ('Need to get 0 B/40.8 MB of archives.') which indicates that those packages were blocked by the error.