Page MenuHomePhabricator

scap 3.5.8-1 not installable on trusty hosts?
Closed, ResolvedPublic

Description

$ sudo apt-get install scap
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 scap : Depends: python-semver but it is not installable
E: Unable to correct problems, you have held broken packages.
$ sudo apt-cache show python-semver
N: Can't select versions from package 'python-semver' as it is purely virtual
N: No packages found
$ sudo apt-cache show scap
Package: scap
Version: 3.5.8-1
Architecture: all
Maintainer: Wikimedia Foundation Release Engineering <releng@wikimedia.org>
Installed-Size: 363
Depends: python, python:any (>= 2.7.5-5~), python:any (<< 2.8), python-jinja2, python-psutil, python-pygments, python-yaml, python-requests, git, bash-completio
n, python-semver
Suggests: php5-cli, git-fat
Priority: optional
Section: python
Filename: pool/main/s/scap/scap_3.5.8-1_all.deb
Size: 79112
SHA256: 6ed54aa925c13e65f7b918f6f39670a0f65dbda5bfd0ef42208a61c57e05406d
SHA1: c2d29e6d8ca89006d0a0a45f7124ca2abea502c1
MD5sum: 7fbe1960cfdb49d03150620f1c96b05b
Description: Deployment toolchain for Wikimedia projects
 Scap is a tool that was originally designed to deploy MediaWiki code on
 Wikimedia Foundation servers.
 .
 Functionality has since been added to support just about any git-based
 project, with additional support for serial deployment groups, templated
 configuration deployment, rolling or highly concurrent execution, service
 restart, intermediate checks, and automated rollback.
Description-md5: b415d87a48148d14f1746d05500b10f9

At least on scap target host in production (californium) is a trusty host. These errors were seen in the striker labs project where I was trying to setup a new testing server that matches californium.

Probably fixable by backporting the python-semver package from https://packages.ubuntu.com/source/xenial/python-semver

Event Timeline

thcipriani assigned this task to demon.
thcipriani added subscribers: demon, thcipriani.

@demon fixed in 3.6.0-1, closing:

thcipriani@8176e8584974:~$ cat /etc/*release                                                                                                          
DISTRIB_ID=Ubuntu                                                                                                                                     
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
thcipriani@8176e8584974:~$ apt-cache policy scap | scap say -n                                                                                        
 ------------------------------------------------------------------------------------                                                                 
/                                                                                    \
|scap:                                                                               |
|  Installed: 3.8.4-1                                                                |
|  Candidate: 3.8.4-1                                                                |
|  Version table:                                                                    |
| *** 3.8.4-1 0                                                                      |
|       1001 http://apt.wikimedia.org/wikimedia/ trusty-wikimedia/main amd64 Packages|
|        100 /var/lib/dpkg/status                                                    |
\                                                                                    /
 ------------------------------------------------------------------------------------
    \     
     \     
      \      
           ___ ____
         ⎛   ⎛ ,----
          \  //==--'
     _//|,.·//==--'    ____________________________                                                                                                   
    _OO≣=-  ︶ ᴹw ⎞_§ ______  ___\ ___\ ,\__ \/ __ \                                                                                                  
   (∞)_, )  (     |  ______/__  \/ /__ / /_/ / /_/ /                                                                                                  
     ¨--¨|| |- (  / ______\____/ \___/ \__^_/  .__/                                                                                                   
         ««_/  «_/ jgs/bd808                /_/