touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #113679
[Bug 1510015] Re: Updating Ubuntu package libunity-scopes1.0 1.0.2+15.10.20150921-0ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
click has the right dependencies here (click Depends: python3-click
Depends: python3-apt Depends: libapt-pkg4.16). The problem is that
unity-scope-click.prerm (the relevant bit of which is in fact generated
by dh_click, so this isn't passing the buck) is calling click in a
situation where click may be technically in an unconfigured state: in
particular this is probably mid-way through upgrading the packages that
form part of the g++ 5 transition between 15.04 and 15.10, so libapt-pkg
and python-apt are temporarily in a rather sad state.
I don't think that strengthening dependencies is the answer here;
instead, we need to make things more robust against being run in this
kind of situation. The good news is that apt_pkg is only used in a few
places in click, and they almost all tolerate it not being importable.
The one exception is click.install, which originally imported apt_pkg
because it used it to parse framework entries in manifests. That has
since moved to click.framework, though, and the code there now copes
with this situation.
It therefore looks as though we can just drop the apt_pkg bits from
click.install and all will be well.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1510015
Title:
Updating Ubuntu package libunity-scopes1.0
1.0.2+15.10.20150921-0ubuntu1 failed to install/upgrade: subprocess
installed pre-removal script returned error exit status 1
Status in click package in Ubuntu:
Confirmed
Status in unity-scopes-api package in Ubuntu:
Confirmed
Bug description:
Upgrading Ubuntu
ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: libunity-scopes1.0 1.0.2+15.10.20150921-0ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu3
Architecture: amd64
Date: Mon Oct 26 19:24:58 2015
DuplicateSignature: package:libunity-scopes1.0:1.0.2+15.10.20150921-0ubuntu1:subprocess installed pre-removal script returned error exit status 1
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationDate: Installed on 2015-05-31 (148 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
RelatedPackageVersions:
dpkg 1.18.2ubuntu5
apt 1.0.10.2ubuntu1
SourcePackage: unity-scopes-api
Title: package libunity-scopes1.0 1.0.2+15.10.20150921-0ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1510015/+subscriptions
References