[PKG-Openstack-devel] Bug#895007: jenkins-job-builder: fails to install: update-alternatives: error: alternative path /usr/bin/python3-jenkins-jobs doesn't exist

Mattia Rizzolo mattia at debian.org
Fri Apr 6 08:26:24 BST 2018


Package: python3-jenkins-job-builder
Version: 2.0.3-1
Severity: serious

% sudo apt purge python-jenkins-job-builder
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-jenkins python-multi-key-dict python-pbr python-stevedore
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  jenkins-job-builder python3-fasteners python3-jenkins python3-jenkins-job-builder python3-monotonic python3-multi-key-dict python3-pbr python3-stevedore
The following packages will be REMOVED:
  python-jenkins-job-builder*
The following NEW packages will be installed:
  python3-fasteners python3-jenkins python3-jenkins-job-builder python3-monotonic python3-multi-key-dict python3-pbr python3-stevedore
The following packages will be upgraded:
  jenkins-job-builder
1 upgraded, 7 newly installed, 1 to remove and 0 not upgraded.
Need to get 318 kB of archives.
After this operation, 778 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://debian.anycast-test.mirrors.debian.org/debian unstable/main amd64 python3-monotonic all 1.1-2 [5,292 B]
Get:2 http://debian.anycast-test.mirrors.debian.org/debian unstable/main amd64 python3-fasteners all 0.12.0-3 [14.5 kB]
Get:3 http://debian.anycast-test.mirrors.debian.org/debian unstable/main amd64 python3-multi-key-dict all 2.0.3-1 [9,584 B]
Get:4 http://debian.anycast-test.mirrors.debian.org/debian unstable/main amd64 python3-pbr all 3.1.1-4 [54.7 kB]
Get:5 http://debian.anycast-test.mirrors.debian.org/debian unstable/main amd64 python3-jenkins all 0.4.16-1 [21.0 kB]
Get:6 http://debian.anycast-test.mirrors.debian.org/debian unstable/main amd64 python3-stevedore all 1.28.0-2 [19.6 kB]
Get:7 http://debian.anycast-test.mirrors.debian.org/debian unstable/main amd64 jenkins-job-builder all 2.0.3-1 [6,020 B]
Get:8 http://debian.anycast-test.mirrors.debian.org/debian unstable/main amd64 python3-jenkins-job-builder all 2.0.3-1 [187 kB]
...
Selecting previously unselected package python3-jenkins-job-builder.
(Reading database ... 212680 files and directories currently installed.)
Preparing to unpack .../python3-jenkins-job-builder_2.0.3-1_all.deb ...
Unpacking python3-jenkins-job-builder (2.0.3-1) ...
Setting up python3-pbr (3.1.1-4) ...
Setting up python3-multi-key-dict (2.0.3-1) ...
Setting up python3-monotonic (1.1-2) ...
Setting up python3-stevedore (1.28.0-2) ...
Setting up python3-fasteners (0.12.0-3) ...
Setting up python3-jenkins (0.4.16-1) ...
Setting up python3-jenkins-job-builder (2.0.3-1) ...
update-alternatives: error: alternative path /usr/bin/python3-jenkins-jobs doesn't exist
dpkg: error processing package python3-jenkins-job-builder (--configure):
 installed python3-jenkins-job-builder package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of jenkins-job-builder:
 jenkins-job-builder depends on python3-jenkins-job-builder (= 2.0.3-1); however:
  Package python3-jenkins-job-builder is not configured yet.

dpkg: error processing package jenkins-job-builder (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3-jenkins-job-builder
 jenkins-job-builder
[master 257bb1c] committing changes in /etc after apt run
 Author: Mattia Rizzolo <mattia at debian.org>
 1 file changed, 1 deletion(-)
 delete mode 120000 alternatives/jenkins-jobs
E: Sub-process /usr/bin/dpkg returned an error code (1)



On a related note, I'm not sure why python3-jenkins-job-builder needs to
Breaks+Replaces python-jenkins-job-builder.  It seem to make the life of
APT harder:
|% sudo apt upgrade jenkins-job-builder
|...
|The following packages have unmet dependencies:
| jenkins-job-builder : Depends: python3-jenkins-job-builder (= 2.0.3-1) but it is not going to be installed
|E: Broken packages
|% sudo apt upgrade python3-jenkins-job-builder
|...
|The following packages have unmet dependencies:
| python3-jenkins-job-builder : Breaks: python-jenkins-job-builder but 2.0.0~b2-2 is to be installed
|E: Broken packages
|% sudo apt purge python-jenkins-job-builder
|-> works, see above
|% sudo apt upgrade jenkins-job-builder python-jenkins-job-builder-
|-> also works
I don't any particular reason to Breaks/Replaces the removed python3
package.
-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20180406/65ef6ddc/attachment.sig>


More information about the Openstack-devel mailing list