Skip to content

Instantly share code, notes, and snippets.

@uilianries
Created August 9, 2018 18:42
Show Gist options
  • Save uilianries/37be4932cd89b9854e915c4719e6f9de to your computer and use it in GitHub Desktop.
Save uilianries/37be4932cd89b9854e915c4719e6f9de to your computer and use it in GitHub Desktop.
bincrafters-remove-outdated==0.3.1 bug with python 2.7
$ docker run --rm -ti lasote/conangcc6
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
conan@796bc801c45c:~$ sudo pip install bincrafters-remove-outdated==0.3.1
The directory '/home/conan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/conan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting bincrafters-remove-outdated==0.3.1
Downloading https://files.pythonhosted.org/packages/39/a8/ed5c5db015862459775d8f82d44996e825e79e966d880417222c0e6c87bc/bincrafters_remove_outdated-0.3.1.tar.gz
Collecting conan>=1.5.1 (from bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/ce/7d/75da33da8b29ec5dc109eef77f06368f690926431a993396a820f294ad75/conan-1.6.1.tar.gz (672kB)
100% |################################| 675kB 1.3MB/s
Requirement already satisfied: colorama>=0.3.9 in /usr/local/lib/python2.7/dist-packages (from bincrafters-remove-outdated==0.3.1)
Collecting termcolor>=1.1.0 (from bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Requirement already satisfied: PyJWT<2.0.0,>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: requests<3.0.0,>=2.7.0 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: PyYAML<3.13.0,>=3.11 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: patch==1.16 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: fasteners>=0.14.1 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: node-semver==0.2.0 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: distro<1.2.0,>=1.0.2 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: pylint<1.9.0,>=1.8.1 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: future==0.16.0 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: pygments<3.0,>=2.0 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: astroid<1.7,>=1.6 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Collecting deprecation<2.1,>=2.0 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/9e/87/2e497672bf5157740f36233a8d2d59266dd083887ccdc5f3b6979e8c3a46/deprecation-2.0.5-py2-none-any.whl
Requirement already satisfied: bottle<0.13,>=0.12.8 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: pluginbase<1.0,>=0.5 in /usr/local/lib/python2.7/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: idna<2.7,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests<3.0.0,>=2.7.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests<3.0.0,>=2.7.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests<3.0.0,>=2.7.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests<3.0.0,>=2.7.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: monotonic>=0.1 in /usr/local/lib/python2.7/dist-packages (from fasteners>=0.14.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: configparser; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: mccabe in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: lazy-object-proxy in /usr/local/lib/python2.7/dist-packages (from astroid<1.7,>=1.6->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from astroid<1.7,>=1.6->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Requirement already satisfied: enum34>=1.1.3; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from astroid<1.7,>=1.6->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Collecting packaging (from deprecation<2.1,>=2.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/ad/c2/b500ea05d5f9f361a562f089fc91f77ed3b4783e13a08a3daf82069b1224/packaging-17.1-py2.py3-none-any.whl
Requirement already satisfied: futures in /usr/local/lib/python2.7/dist-packages (from isort>=4.2.5->pylint<1.9.0,>=1.8.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Collecting pyparsing>=2.0.2 (from packaging->deprecation<2.1,>=2.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
100% |################################| 61kB 3.0MB/s
Installing collected packages: pyparsing, packaging, deprecation, conan, termcolor, bincrafters-remove-outdated
Found existing installation: conan 1.1.1
Uninstalling conan-1.1.1:
Successfully uninstalled conan-1.1.1
Running setup.py install for conan ... done
Running setup.py install for termcolor ... done
Running setup.py install for bincrafters-remove-outdated ... done
Successfully installed bincrafters-remove-outdated-0.3.1 conan-1.6.1 deprecation-2.0.5 packaging-17.1 pyparsing-2.2.0 termcolor-1.1.0
You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
conan@796bc801c45c:~$ conan --version
Conan version 1.6.1
conan@796bc801c45c:~$ bincrafters-remove-outdated
Traceback (most recent call last):
File "/usr/local/bin/bincrafters-remove-outdated", line 11, in <module>
load_entry_point('bincrafters-remove-outdated==0.3.1', 'console_scripts', 'bincrafters-remove-outdated')()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 572, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2755, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2408, in load
return self.resolve()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2414, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/dist-packages/bincrafters_remove_outdated/main.py", line 4, in <module>
from bincrafters_remove_outdated import bincrafters_remove_outdated
ImportError: cannot import name bincrafters_remove_outdated
conan@796bc801c45c:~$ /usr/local/bin/bincrafters-remove-outdated
Traceback (most recent call last):
File "/usr/local/bin/bincrafters-remove-outdated", line 11, in <module>
load_entry_point('bincrafters-remove-outdated==0.3.1', 'console_scripts', 'bincrafters-remove-outdated')()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 572, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2755, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2408, in load
return self.resolve()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2414, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/dist-packages/bincrafters_remove_outdated/main.py", line 4, in <module>
from bincrafters_remove_outdated import bincrafters_remove_outdated
ImportError: cannot import name bincrafters_remove_outdated
conan@796bc801c45c:~$ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu artful-security InRelease [83.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu artful InRelease [237 kB]
Get:3 http://security.ubuntu.com/ubuntu artful-security/universe Sources [22.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu artful-updates InRelease [88.7 kB]
Get:5 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages [224 kB]
Get:6 http://archive.ubuntu.com/ubuntu artful-backports InRelease [74.6 kB]
Get:7 http://security.ubuntu.com/ubuntu artful-security/universe amd64 Packages [88.0 kB]
Get:8 http://archive.ubuntu.com/ubuntu artful/universe Sources [11.1 MB]
Get:9 http://security.ubuntu.com/ubuntu artful-security/restricted amd64 Packages [2933 B]
Get:10 http://security.ubuntu.com/ubuntu artful-security/restricted i386 Packages [2926 B]
Get:11 http://security.ubuntu.com/ubuntu artful-security/universe i386 Packages [87.5 kB]
Get:12 http://security.ubuntu.com/ubuntu artful-security/multiverse i386 Packages [1985 B]
Get:13 http://security.ubuntu.com/ubuntu artful-security/main i386 Packages [221 kB]
Get:14 http://security.ubuntu.com/ubuntu artful-security/multiverse amd64 Packages [1817 B]
Get:15 http://archive.ubuntu.com/ubuntu artful/restricted i386 Packages [14.7 kB]
Get:16 http://archive.ubuntu.com/ubuntu artful/universe amd64 Packages [10.8 MB]
Get:17 http://archive.ubuntu.com/ubuntu artful/multiverse i386 Packages [176 kB]
Get:18 http://archive.ubuntu.com/ubuntu artful/multiverse amd64 Packages [185 kB]
Get:19 http://archive.ubuntu.com/ubuntu artful/universe i386 Packages [10.7 MB]
Get:20 http://archive.ubuntu.com/ubuntu artful/restricted amd64 Packages [14.7 kB]
Get:21 http://archive.ubuntu.com/ubuntu artful/main amd64 Packages [1416 kB]
Get:22 http://archive.ubuntu.com/ubuntu artful/main i386 Packages [1412 kB]
Get:23 http://archive.ubuntu.com/ubuntu artful-updates/universe Sources [47.5 kB]
Get:24 http://archive.ubuntu.com/ubuntu artful-updates/restricted i386 Packages [2926 B]
Get:25 http://archive.ubuntu.com/ubuntu artful-updates/multiverse amd64 Packages [4373 B]
Get:26 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [351 kB]
Get:27 http://archive.ubuntu.com/ubuntu artful-updates/universe i386 Packages [153 kB]
Get:28 http://archive.ubuntu.com/ubuntu artful-updates/restricted amd64 Packages [2933 B]
Get:29 http://archive.ubuntu.com/ubuntu artful-updates/main i386 Packages [347 kB]
Get:30 http://archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages [154 kB]
Get:31 http://archive.ubuntu.com/ubuntu artful-updates/multiverse i386 Packages [4532 B]
Get:32 http://archive.ubuntu.com/ubuntu artful-backports/main i386 Packages [1467 B]
Get:33 http://archive.ubuntu.com/ubuntu artful-backports/universe amd64 Packages [4359 B]
Get:34 http://archive.ubuntu.com/ubuntu artful-backports/universe i386 Packages [4118 B]
Get:35 http://archive.ubuntu.com/ubuntu artful-backports/main amd64 Packages [1462 B]
Fetched 38.0 MB in 18s (2082 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
45 packages can be upgraded. Run 'apt list --upgradable' to see them.
conan@796bc801c45c:~$ sudo apt install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dh-python libpython3-stdlib python3-minimal python3.6 python3.6-minimal
Suggested packages:
python3-doc python3-tk python3-venv python3.6-venv python3.6-doc binfmt-support
The following NEW packages will be installed:
dh-python libpython3-stdlib python3 python3-minimal python3.6 python3.6-minimal
0 upgraded, 6 newly installed, 0 to remove and 45 not upgraded.
Need to get 1720 kB of archives.
After this operation, 10.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu artful/main amd64 python3.6-minimal amd64 3.6.3-1ubuntu1 [1422 kB]
Get:2 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 python3-minimal amd64 3.6.3-0ubuntu3 [23.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu artful/main amd64 python3.6 amd64 3.6.3-1ubuntu1 [175 kB]
Get:4 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 libpython3-stdlib amd64 3.6.3-0ubuntu3 [6908 B]
Get:5 http://archive.ubuntu.com/ubuntu artful/main amd64 dh-python all 2.20170125 [83.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 python3 amd64 3.6.3-0ubuntu3 [8706 B]
Fetched 1720 kB in 2s (580 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package python3.6-minimal.
(Reading database ... 18323 files and directories currently installed.)
Preparing to unpack .../python3.6-minimal_3.6.3-1ubuntu1_amd64.deb ...
Unpacking python3.6-minimal (3.6.3-1ubuntu1) ...
Setting up python3.6-minimal (3.6.3-1ubuntu1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 18332 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.6.3-0ubuntu3_amd64.deb ...
Unpacking python3-minimal (3.6.3-0ubuntu3) ...
Selecting previously unselected package python3.6.
Preparing to unpack .../python3.6_3.6.3-1ubuntu1_amd64.deb ...
Unpacking python3.6 (3.6.3-1ubuntu1) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.6.3-0ubuntu3_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.6.3-0ubuntu3) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20170125_all.deb ...
Unpacking dh-python (2.20170125) ...
Setting up python3-minimal (3.6.3-0ubuntu3) ...
Selecting previously unselected package python3.
(Reading database ... 18426 files and directories currently installed.)
Preparing to unpack .../python3_3.6.3-0ubuntu3_amd64.deb ...
Unpacking python3 (3.6.3-0ubuntu3) ...
Setting up libpython3-stdlib:amd64 (3.6.3-0ubuntu3) ...
Setting up python3.6 (3.6.3-1ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up python3 (3.6.3-0ubuntu3) ...
running python rtupdate hooks for python3.6...
running python post-rtupdate hooks for python3.6...
Setting up dh-python (2.20170125) ...
conan@796bc801c45c:~$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
build-essential dbus g++ g++-7 gir1.2-glib-2.0 libapparmor1 libdbus-1-3 libdbus-glib-1-2 libgirepository-1.0-1 libpython3-dev libpython3.6-dev libstdc++-7-dev python-pip-whl python3-asn1crypto python3-cffi-backend python3-crypto
python3-cryptography python3-dbus python3-dev python3-gi python3-idna python3-keyring python3-keyrings.alt python3-pkg-resources python3-secretstorage python3-setuptools python3-six python3-wheel python3-xdg python3.6-dev
Suggested packages:
default-dbus-session-bus | dbus-session-bus g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg libstdc++-7-doc python3-crypto-dbg python-crypto-doc python-cryptography-doc python3-cryptography-vectors python-dbus-doc
python3-dbus-dbg gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-secretstorage-doc python-setuptools-doc
The following NEW packages will be installed:
build-essential dbus g++ g++-7 gir1.2-glib-2.0 libapparmor1 libdbus-1-3 libdbus-glib-1-2 libgirepository-1.0-1 libpython3-dev libpython3.6-dev libstdc++-7-dev python-pip-whl python3-asn1crypto python3-cffi-backend python3-crypto
python3-cryptography python3-dbus python3-dev python3-gi python3-idna python3-keyring python3-keyrings.alt python3-pip python3-pkg-resources python3-secretstorage python3-setuptools python3-six python3-wheel python3-xdg python3.6-dev
0 upgraded, 31 newly installed, 0 to remove and 45 not upgraded.
Need to get 15.4 MB of archives.
After this operation, 69.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 libapparmor1 amd64 2.11.0-2ubuntu17.1 [28.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu artful/main amd64 libdbus-1-3 amd64 1.10.22-1ubuntu1 [165 kB]
Get:3 http://archive.ubuntu.com/ubuntu artful/main amd64 dbus amd64 1.10.22-1ubuntu1 [144 kB]
Get:4 http://archive.ubuntu.com/ubuntu artful/main amd64 libgirepository-1.0-1 amd64 1.54.1-1 [82.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu artful/main amd64 gir1.2-glib-2.0 amd64 1.54.1-1 [131 kB]
Get:6 http://archive.ubuntu.com/ubuntu artful/main amd64 libdbus-glib-1-2 amd64 0.108-2 [67.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-dbus amd64 1.2.4-1build3 [84.1 kB]
Get:8 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-gi amd64 3.24.1-2build1 [153 kB]
Get:9 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 libstdc++-7-dev amd64 7.2.0-8ubuntu3.2 [1456 kB]
Get:10 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 g++-7 amd64 7.2.0-8ubuntu3.2 [7555 kB]
Get:11 http://archive.ubuntu.com/ubuntu artful/main amd64 g++ amd64 4:7.2.0-1ubuntu1 [1482 B]
Get:12 http://archive.ubuntu.com/ubuntu artful/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]
Get:13 http://archive.ubuntu.com/ubuntu artful/main amd64 libpython3.6-dev amd64 3.6.3-1ubuntu1 [2483 kB]
Get:14 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 libpython3-dev amd64 3.6.3-0ubuntu3 [7000 B]
Get:15 http://archive.ubuntu.com/ubuntu artful/universe amd64 python-pip-whl all 9.0.1-2 [1379 kB]
Get:16 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-asn1crypto all 0.22.0-1 [70.0 kB]
Get:17 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-cffi-backend amd64 1.9.1-2build2 [60.7 kB]
Get:18 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 python3-crypto amd64 2.6.1-7ubuntu0.1 [244 kB]
Get:19 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-idna all 2.5-1 [31.7 kB]
Get:20 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-six all 1.10.0-4 [10.8 kB]
Get:21 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-cryptography amd64 1.9-1 [215 kB]
Get:22 http://archive.ubuntu.com/ubuntu artful/main amd64 python3.6-dev amd64 3.6.3-1ubuntu1 [519 kB]
Get:23 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 python3-dev amd64 3.6.3-0ubuntu3 [1208 B]
Get:24 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-secretstorage all 2.3.1-2 [12.1 kB]
Get:25 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-keyring all 10.4.0-1 [26.0 kB]
Get:26 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-keyrings.alt all 2.2-2 [16.0 kB]
Get:27 http://archive.ubuntu.com/ubuntu artful/universe amd64 python3-pip all 9.0.1-2 [114 kB]
Get:28 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-pkg-resources all 36.2.7-2 [98.7 kB]
Get:29 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-setuptools all 36.2.7-2 [178 kB]
Get:30 http://archive.ubuntu.com/ubuntu artful/universe amd64 python3-wheel all 0.29.0-2 [48.4 kB]
Get:31 http://archive.ubuntu.com/ubuntu artful/main amd64 python3-xdg all 0.25-4 [31.5 kB]
Fetched 15.4 MB in 8s (1850 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libapparmor1:amd64.
(Reading database ... 18442 files and directories currently installed.)
Preparing to unpack .../00-libapparmor1_2.11.0-2ubuntu17.1_amd64.deb ...
Unpacking libapparmor1:amd64 (2.11.0-2ubuntu17.1) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../01-libdbus-1-3_1.10.22-1ubuntu1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.10.22-1ubuntu1) ...
Selecting previously unselected package dbus.
Preparing to unpack .../02-dbus_1.10.22-1ubuntu1_amd64.deb ...
Unpacking dbus (1.10.22-1ubuntu1) ...
Selecting previously unselected package libgirepository-1.0-1:amd64.
Preparing to unpack .../03-libgirepository-1.0-1_1.54.1-1_amd64.deb ...
Unpacking libgirepository-1.0-1:amd64 (1.54.1-1) ...
Selecting previously unselected package gir1.2-glib-2.0:amd64.
Preparing to unpack .../04-gir1.2-glib-2.0_1.54.1-1_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (1.54.1-1) ...
Selecting previously unselected package libdbus-glib-1-2:amd64.
Preparing to unpack .../05-libdbus-glib-1-2_0.108-2_amd64.deb ...
Unpacking libdbus-glib-1-2:amd64 (0.108-2) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../06-python3-dbus_1.2.4-1build3_amd64.deb ...
Unpacking python3-dbus (1.2.4-1build3) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../07-python3-gi_3.24.1-2build1_amd64.deb ...
Unpacking python3-gi (3.24.1-2build1) ...
Selecting previously unselected package libstdc++-7-dev:amd64.
Preparing to unpack .../08-libstdc++-7-dev_7.2.0-8ubuntu3.2_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.2.0-8ubuntu3.2) ...
Selecting previously unselected package g++-7.
Preparing to unpack .../09-g++-7_7.2.0-8ubuntu3.2_amd64.deb ...
Unpacking g++-7 (7.2.0-8ubuntu3.2) ...
Selecting previously unselected package g++.
Preparing to unpack .../10-g++_4%3a7.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:7.2.0-1ubuntu1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../11-build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Selecting previously unselected package libpython3.6-dev:amd64.
Preparing to unpack .../12-libpython3.6-dev_3.6.3-1ubuntu1_amd64.deb ...
Unpacking libpython3.6-dev:amd64 (3.6.3-1ubuntu1) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../13-libpython3-dev_3.6.3-0ubuntu3_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.6.3-0ubuntu3) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../14-python-pip-whl_9.0.1-2_all.deb ...
Unpacking python-pip-whl (9.0.1-2) ...
Selecting previously unselected package python3-asn1crypto.
Preparing to unpack .../15-python3-asn1crypto_0.22.0-1_all.deb ...
Unpacking python3-asn1crypto (0.22.0-1) ...
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack .../16-python3-cffi-backend_1.9.1-2build2_amd64.deb ...
Unpacking python3-cffi-backend (1.9.1-2build2) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../17-python3-crypto_2.6.1-7ubuntu0.1_amd64.deb ...
Unpacking python3-crypto (2.6.1-7ubuntu0.1) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../18-python3-idna_2.5-1_all.deb ...
Unpacking python3-idna (2.5-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../19-python3-six_1.10.0-4_all.deb ...
Unpacking python3-six (1.10.0-4) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../20-python3-cryptography_1.9-1_amd64.deb ...
Unpacking python3-cryptography (1.9-1) ...
Selecting previously unselected package python3.6-dev.
Preparing to unpack .../21-python3.6-dev_3.6.3-1ubuntu1_amd64.deb ...
Unpacking python3.6-dev (3.6.3-1ubuntu1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../22-python3-dev_3.6.3-0ubuntu3_amd64.deb ...
Unpacking python3-dev (3.6.3-0ubuntu3) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../23-python3-secretstorage_2.3.1-2_all.deb ...
Unpacking python3-secretstorage (2.3.1-2) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../24-python3-keyring_10.4.0-1_all.deb ...
Unpacking python3-keyring (10.4.0-1) ...
Selecting previously unselected package python3-keyrings.alt.
Preparing to unpack .../25-python3-keyrings.alt_2.2-2_all.deb ...
Unpacking python3-keyrings.alt (2.2-2) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../26-python3-pip_9.0.1-2_all.deb ...
Unpacking python3-pip (9.0.1-2) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../27-python3-pkg-resources_36.2.7-2_all.deb ...
Unpacking python3-pkg-resources (36.2.7-2) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../28-python3-setuptools_36.2.7-2_all.deb ...
Unpacking python3-setuptools (36.2.7-2) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../29-python3-wheel_0.29.0-2_all.deb ...
Unpacking python3-wheel (0.29.0-2) ...
Selecting previously unselected package python3-xdg.
Preparing to unpack .../30-python3-xdg_0.25-4_all.deb ...
Unpacking python3-xdg (0.25-4) ...
Setting up python-pip-whl (9.0.1-2) ...
Setting up python3-cffi-backend (1.9.1-2build2) ...
Setting up python3-crypto (2.6.1-7ubuntu0.1) ...
Setting up python3-idna (2.5-1) ...
Setting up python3-xdg (0.25-4) ...
Setting up python3-six (1.10.0-4) ...
Setting up python3-wheel (0.29.0-2) ...
Setting up python3-pkg-resources (36.2.7-2) ...
Setting up libpython3.6-dev:amd64 (3.6.3-1ubuntu1) ...
Setting up libgirepository-1.0-1:amd64 (1.54.1-1) ...
Setting up libstdc++-7-dev:amd64 (7.2.0-8ubuntu3.2) ...
Setting up python3-asn1crypto (0.22.0-1) ...
Setting up gir1.2-glib-2.0:amd64 (1.54.1-1) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
Setting up libapparmor1:amd64 (2.11.0-2ubuntu17.1) ...
Setting up python3-pip (9.0.1-2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up python3-setuptools (36.2.7-2) ...
Setting up python3.6-dev (3.6.3-1ubuntu1) ...
Setting up libdbus-1-3:amd64 (1.10.22-1ubuntu1) ...
Setting up libpython3-dev:amd64 (3.6.3-0ubuntu3) ...
Setting up python3-cryptography (1.9-1) ...
Setting up g++-7 (7.2.0-8ubuntu3.2) ...
Setting up libdbus-glib-1-2:amd64 (0.108-2) ...
Setting up python3-keyrings.alt (2.2-2) ...
Setting up python3-dev (3.6.3-0ubuntu3) ...
Setting up python3-gi (3.24.1-2build1) ...
Setting up g++ (4:7.2.0-1ubuntu1) ...
Setting up dbus (1.10.22-1ubuntu1) ...
Setting up python3-dbus (1.2.4-1build3) ...
Setting up build-essential (12.4ubuntu1) ...
Setting up python3-secretstorage (2.3.1-2) ...
Setting up python3-keyring (10.4.0-1) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
conan@796bc801c45c:~$ sudo python3 -m pip install bincrafters-remove-outdated==0.3.1
The directory '/home/conan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/conan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting bincrafters-remove-outdated==0.3.1
Downloading https://files.pythonhosted.org/packages/39/a8/ed5c5db015862459775d8f82d44996e825e79e966d880417222c0e6c87bc/bincrafters_remove_outdated-0.3.1.tar.gz
Collecting colorama>=0.3.9 (from bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Collecting conan>=1.5.1 (from bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/ce/7d/75da33da8b29ec5dc109eef77f06368f690926431a993396a820f294ad75/conan-1.6.1.tar.gz (672kB)
100% |################################| 675kB 1.1MB/s
Collecting termcolor>=1.1.0 (from bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Collecting PyJWT<2.0.0,>=1.4.0 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/93/d1/3378cc8184a6524dc92993090ee8b4c03847c567e298305d6cf86987e005/PyJWT-1.6.4-py2.py3-none-any.whl
Collecting PyYAML<3.13.0,>=3.11 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz (253kB)
100% |################################| 256kB 1.8MB/s
Collecting astroid<1.7,>=1.6 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/0e/9b/18b08991c8c6aaa827faf394f4468b8fee41db1f73aa5157f9f5fb2e69c3/astroid-1.6.5-py2.py3-none-any.whl (293kB)
100% |################################| 296kB 1.8MB/s
Collecting bottle<0.13,>=0.12.8 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/bd/99/04dc59ced52a8261ee0f965a8968717a255ea84a36013e527944dbf3468c/bottle-0.12.13.tar.gz (70kB)
100% |################################| 71kB 2.9MB/s
Collecting deprecation<2.1,>=2.0 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/dd/06/aed49f13984c4acfcd67d699b2a0e96fefd2f9c700ce88a43120eb0363e2/deprecation-2.0.5.tar.gz
Collecting distro<1.2.0,>=1.0.2 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/b0/55/29bfd4d4d4149e860ed01aa446108eb17b240997b746c06a2d0c8ce04f69/distro-1.1.0-py2.py3-none-any.whl
Collecting fasteners>=0.14.1 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/14/3a/096c7ad18e102d4f219f5dd15951f9728ca5092a3385d2e8f79a7c1e1017/fasteners-0.14.1-py2.py3-none-any.whl
Collecting future==0.16.0 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz (824kB)
100% |################################| 829kB 851kB/s
Collecting node-semver==0.2.0 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/51/ff/cef31b5db35ebd626b3b6ddc1c66d80bef6293a8e44165aa50103a0a9e1b/node_semver-0.2.0-py3-none-any.whl
Collecting patch==1.16 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/da/74/0815f03c82f4dc738e2bfc5f8966f682bebcc809f30c8e306e6cc7156a99/patch-1.16.zip
Collecting pluginbase<1.0,>=0.5 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/6e/f4/1db0a26c1c7fad81a1214ad1b02839a7bd98d8ba68f782f6edcc3d343441/pluginbase-0.7.tar.gz (40kB)
100% |################################| 40kB 2.9MB/s
Collecting pygments<3.0,>=2.0 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl (841kB)
100% |################################| 849kB 948kB/s
Collecting pylint<1.9.0,>=1.8.1 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/8b/62/b2c07085dd7bb4b7e8bb813873421692c1157191e87234550a1c39dff232/pylint-1.8.4-py2.py3-none-any.whl (690kB)
100% |################################| 696kB 1.1MB/s
Collecting requests<3.0.0,>=2.7.0 (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB)
100% |################################| 92kB 1.6MB/s
Requirement already satisfied: six>=1.10.0 in /usr/lib/python3/dist-packages (from conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Collecting lazy-object-proxy (from astroid<1.7,>=1.6->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/65/1f/2043ec33066e779905ed7e6580384425fdc7dc2ac64d6931060c75b0c5a3/lazy_object_proxy-1.3.1-cp36-cp36m-manylinux1_x86_64.whl (55kB)
100% |################################| 61kB 3.8MB/s
Collecting wrapt (from astroid<1.7,>=1.6->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz
Collecting packaging (from deprecation<2.1,>=2.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/ad/c2/b500ea05d5f9f361a562f089fc91f77ed3b4783e13a08a3daf82069b1224/packaging-17.1-py2.py3-none-any.whl
Collecting monotonic>=0.1 (from fasteners>=0.14.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/ac/aa/063eca6a416f397bd99552c534c6d11d57f58f2e94c14780f3bbf818c4cf/monotonic-1.5-py2.py3-none-any.whl
Collecting isort>=4.2.5 (from pylint<1.9.0,>=1.8.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/1f/2c/22eee714d7199ae0464beda6ad5fedec8fee6a2f7ffd1e8f1840928fe318/isort-4.3.4-py3-none-any.whl (45kB)
100% |################################| 51kB 4.5MB/s
Collecting mccabe (from pylint<1.9.0,>=1.8.1->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Requirement already satisfied: idna<2.8,>=2.5 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.7.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Collecting urllib3<1.24,>=1.21.1 (from requests<3.0.0,>=2.7.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133kB)
100% |################################| 143kB 1.7MB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0.0,>=2.7.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
100% |################################| 143kB 2.5MB/s
Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.7.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl (150kB)
100% |################################| 153kB 1.5MB/s
Collecting pyparsing>=2.0.2 (from packaging->deprecation<2.1,>=2.0->conan>=1.5.1->bincrafters-remove-outdated==0.3.1)
Downloading https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
100% |################################| 61kB 2.9MB/s
Installing collected packages: colorama, PyJWT, PyYAML, lazy-object-proxy, wrapt, astroid, bottle, pyparsing, packaging, deprecation, distro, monotonic, fasteners, future, node-semver, patch, pluginbase, pygments, isort, mccabe, pylint, urllib3, chardet, certifi, requests, conan, termcolor, bincrafters-remove-outdated
Running setup.py install for PyYAML ... done
Running setup.py install for wrapt ... done
Running setup.py install for bottle ... done
Running setup.py install for deprecation ... done
Running setup.py install for future ... done
Running setup.py install for patch ... done
Running setup.py install for pluginbase ... done
Running setup.py install for conan ... done
Running setup.py install for termcolor ... done
Running setup.py install for bincrafters-remove-outdated ... done
Successfully installed PyJWT-1.6.4 PyYAML-3.12 astroid-1.6.5 bincrafters-remove-outdated-0.3.1 bottle-0.12.13 certifi-2018.4.16 chardet-3.0.4 colorama-0.3.9 conan-1.6.1 deprecation-2.0.5 distro-1.1.0 fasteners-0.14.1 future-0.16.0 isort-4.3.4 lazy-object-proxy-1.3.1 mccabe-0.6.1 monotonic-1.5 node-semver-0.2.0 packaging-17.1 patch-1.16 pluginbase-0.7 pygments-2.2.0 pylint-1.8.4 pyparsing-2.2.0 requests-2.19.1 termcolor-1.1.0 urllib3-1.23 wrapt-1.10.11
conan@796bc801c45c:~$ bincrafters-remove-outdated
usage: bincrafters-remove-outdated [-h] [--yes] [--ignore] [--version] remote
bincrafters-remove-outdated: error: the following arguments are required: remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment