upgrade pip before using -c option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
Undecided
|
Mark Hamzy |
Bug Description
The installed pip can be an older version which does not support the -c argument. Therefore, upgrade pip before using -c.
2018-01-19 22:00:24.230 | dib-run-parts Running /tmp/in_
2018-01-19 22:00:24.232 | + set -eu
2018-01-19 22:00:24.232 | + set -o pipefail
2018-01-19 22:00:24.233 | ++ dirname /tmp/in_
2018-01-19 22:00:24.234 | + SCRIPTDIR=
2018-01-19 22:00:24.234 | + IPADIR=
2018-01-19 22:00:24.234 | + /usr/share/
2018-01-19 22:00:24.240 | generate_
2018-01-19 22:00:24.240 | generate_
2018-01-19 22:00:24.240 | generate_
2018-01-19 22:00:24.240 | generate_
2018-01-19 22:00:24.240 | generate_
2018-01-19 22:00:24.245 | % Total % Received % Xferd Average Speed Time Time Time Current
2018-01-19 22:00:24.245 | Dload Upload Total Spent Left Speed
2018-01-19 22:00:24.509 | ^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M100 12144 100 12144 0 0 46000 0 --:--:-- --:--:-- --:--:-- 46174
2018-01-19 22:00:24.513 | + virtualenv /usr/share/
2018-01-19 22:00:24.762 | New python executable in /usr/share/
2018-01-19 22:00:25.343 | Installing Setuptools.
2018-01-19 22:00:25.923 | Installing Pip....
2018-01-19 22:00:25.925 | + /usr/share/
2018-01-19 22:00:26.080 | pip 1.4.1 from /usr/share/
2018-01-19 22:00:26.088 | + /usr/share/
2018-01-19 22:00:26.226 |
2018-01-19 22:00:26.226 | Usage:
2018-01-19 22:00:26.226 | pip install [options] <requirement specifier> ...
2018-01-19 22:00:26.226 | pip install [options] -r <requirements file> ...
2018-01-19 22:00:26.226 | pip install [options] [-e] <vcs project url> ...
2018-01-19 22:00:26.226 | pip install [options] [-e] <local project path> ...
2018-01-19 22:00:26.226 | pip install [options] <archive url/path> ...
2018-01-19 22:00:26.228 |
2018-01-19 22:00:26.228 | no such option: -c
Fix proposed to branch: master /review. openstack. org/535983
Review: https:/