[Touch-packages] [Bug 1670813] Re: package python-setuptools 20.7.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2020-07-23 Thread Kai Kasurinen
*** This bug is a duplicate of bug 1715062 ***
https://bugs.launchpad.net/bugs/1715062

** This bug has been marked a duplicate of bug 1715062
   package python-six 1.10.0-3 failed to install/upgrade: subprocess installed 
pre-removal script returned error exit status 1

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-setuptools in
Ubuntu.
https://bugs.launchpad.net/bugs/1670813

Title:
  package python-setuptools 20.7.0-1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in python-setuptools package in Ubuntu:
  New

Bug description:
  attempting to install pip

  $ sudo apt-get install python-pip
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following additional packages will be installed:
libpython-all-dev python-all python-all-dev python-pip-whl python-setuptools
python-wheel
  Suggested packages:
python-setuptools-doc
  The following NEW packages will be installed
libpython-all-dev python-all python-all-dev python-pip python-pip-whl
python-setuptools python-wheel
  0 to upgrade, 7 to newly install, 0 to remove and 5 not to upgrade.
  1 not fully installed or removed.
  Need to get 1,475 kB of archives.
  After this operation, 2,614 kB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 libpython-all-dev 
amd64 2.7.11-1 [992 B]
  Get:2 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 python-all amd64 
2.7.11-1 [978 B]
  Get:3 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 python-all-dev 
amd64 2.7.11-1 [1,000 B]
  Get:4 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
python-pip-whl all 8.1.1-2ubuntu0.4 [1,110 kB]
  Get:5 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
python-pip all 8.1.1-2ubuntu0.4 [144 kB]
  Get:6 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 python-setuptools 
all 20.7.0-1 [169 kB]
  Get:7 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 python-wheel 
all 0.29.0-1 [48.0 kB]
  Fetched 1,475 kB in 0s (4,260 kB/s) 
  Selecting previously unselected package libpython-all-dev:amd64.
  (Reading database ... 227429 files and directories currently installed.)
  Preparing to unpack .../libpython-all-dev_2.7.11-1_amd64.deb ...
  Unpacking libpython-all-dev:amd64 (2.7.11-1) ...
  Selecting previously unselected package python-all.
  Preparing to unpack .../python-all_2.7.11-1_amd64.deb ...
  Unpacking python-all (2.7.11-1) ...
  Selecting previously unselected package python-all-dev.
  Preparing to unpack .../python-all-dev_2.7.11-1_amd64.deb ...
  Unpacking python-all-dev (2.7.11-1) ...
  Selecting previously unselected package python-pip-whl.
  Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.4_all.deb ...
  Unpacking python-pip-whl (8.1.1-2ubuntu0.4) ...
  Selecting previously unselected package python-pip.
  Preparing to unpack .../python-pip_8.1.1-2ubuntu0.4_all.deb ...
  Unpacking python-pip (8.1.1-2ubuntu0.4) ...
  Selecting previously unselected package python-setuptools.
  Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ...
  Unpacking python-setuptools (20.7.0-1) ...
  Selecting previously unselected package python-wheel.
  Preparing to unpack .../python-wheel_0.29.0-1_all.deb ...
  Unpacking python-wheel (0.29.0-1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up python-coverage (3.7.1+dfsg.1-1ubuntu7) ...
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in 
  from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in 
  from ConfigParser import SafeConfigParser
  ImportError: No module named 'ConfigParser'
  dpkg: error processing package python-coverage (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up libpython-all-dev:amd64 (2.7.11-1) ...
  Setting up python-all (2.7.11-1) ...
  Setting up python-all-dev (2.7.11-1) ...
  Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
  Setting up python-pip (8.1.1-2ubuntu0.4) ...
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in 
  from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in 
  from ConfigParser import SafeConfigParser
  ImportError: No module named 'ConfigParser'
  dpkg: error processing package python-pip (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up python-setuptools (20.7.0-1) ...
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in 
  from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in 
  from 

[Touch-packages] [Bug 1670813] Re: package python-setuptools 20.7.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-04-30 Thread Patrick Martin
This is another one where the default python is to blame

sudo update-alternatives --config python is the fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-setuptools in
Ubuntu.
https://bugs.launchpad.net/bugs/1670813

Title:
  package python-setuptools 20.7.0-1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in python-setuptools package in Ubuntu:
  New

Bug description:
  attempting to install pip

  $ sudo apt-get install python-pip
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following additional packages will be installed:
libpython-all-dev python-all python-all-dev python-pip-whl python-setuptools
python-wheel
  Suggested packages:
python-setuptools-doc
  The following NEW packages will be installed
libpython-all-dev python-all python-all-dev python-pip python-pip-whl
python-setuptools python-wheel
  0 to upgrade, 7 to newly install, 0 to remove and 5 not to upgrade.
  1 not fully installed or removed.
  Need to get 1,475 kB of archives.
  After this operation, 2,614 kB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 libpython-all-dev 
amd64 2.7.11-1 [992 B]
  Get:2 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 python-all amd64 
2.7.11-1 [978 B]
  Get:3 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 python-all-dev 
amd64 2.7.11-1 [1,000 B]
  Get:4 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
python-pip-whl all 8.1.1-2ubuntu0.4 [1,110 kB]
  Get:5 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
python-pip all 8.1.1-2ubuntu0.4 [144 kB]
  Get:6 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 python-setuptools 
all 20.7.0-1 [169 kB]
  Get:7 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 python-wheel 
all 0.29.0-1 [48.0 kB]
  Fetched 1,475 kB in 0s (4,260 kB/s) 
  Selecting previously unselected package libpython-all-dev:amd64.
  (Reading database ... 227429 files and directories currently installed.)
  Preparing to unpack .../libpython-all-dev_2.7.11-1_amd64.deb ...
  Unpacking libpython-all-dev:amd64 (2.7.11-1) ...
  Selecting previously unselected package python-all.
  Preparing to unpack .../python-all_2.7.11-1_amd64.deb ...
  Unpacking python-all (2.7.11-1) ...
  Selecting previously unselected package python-all-dev.
  Preparing to unpack .../python-all-dev_2.7.11-1_amd64.deb ...
  Unpacking python-all-dev (2.7.11-1) ...
  Selecting previously unselected package python-pip-whl.
  Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.4_all.deb ...
  Unpacking python-pip-whl (8.1.1-2ubuntu0.4) ...
  Selecting previously unselected package python-pip.
  Preparing to unpack .../python-pip_8.1.1-2ubuntu0.4_all.deb ...
  Unpacking python-pip (8.1.1-2ubuntu0.4) ...
  Selecting previously unselected package python-setuptools.
  Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ...
  Unpacking python-setuptools (20.7.0-1) ...
  Selecting previously unselected package python-wheel.
  Preparing to unpack .../python-wheel_0.29.0-1_all.deb ...
  Unpacking python-wheel (0.29.0-1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up python-coverage (3.7.1+dfsg.1-1ubuntu7) ...
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in 
  from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in 
  from ConfigParser import SafeConfigParser
  ImportError: No module named 'ConfigParser'
  dpkg: error processing package python-coverage (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up libpython-all-dev:amd64 (2.7.11-1) ...
  Setting up python-all (2.7.11-1) ...
  Setting up python-all-dev (2.7.11-1) ...
  Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
  Setting up python-pip (8.1.1-2ubuntu0.4) ...
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in 
  from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in 
  from ConfigParser import SafeConfigParser
  ImportError: No module named 'ConfigParser'
  dpkg: error processing package python-pip (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up python-setuptools (20.7.0-1) ...
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in 
  from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in 
  from ConfigParser import SafeConfigParser
  ImportError: No module named 'ConfigParser'
  dpkg: error processing package python-setuptools (--configure):
   subprocess 

[Touch-packages] [Bug 1670813] Re: package python-setuptools 20.7.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-03-07 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-setuptools in
Ubuntu.
https://bugs.launchpad.net/bugs/1670813

Title:
  package python-setuptools 20.7.0-1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in python-setuptools package in Ubuntu:
  New

Bug description:
  attempting to install pip

  $ sudo apt-get install python-pip
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following additional packages will be installed:
libpython-all-dev python-all python-all-dev python-pip-whl python-setuptools
python-wheel
  Suggested packages:
python-setuptools-doc
  The following NEW packages will be installed
libpython-all-dev python-all python-all-dev python-pip python-pip-whl
python-setuptools python-wheel
  0 to upgrade, 7 to newly install, 0 to remove and 5 not to upgrade.
  1 not fully installed or removed.
  Need to get 1,475 kB of archives.
  After this operation, 2,614 kB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 libpython-all-dev 
amd64 2.7.11-1 [992 B]
  Get:2 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 python-all amd64 
2.7.11-1 [978 B]
  Get:3 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 python-all-dev 
amd64 2.7.11-1 [1,000 B]
  Get:4 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
python-pip-whl all 8.1.1-2ubuntu0.4 [1,110 kB]
  Get:5 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
python-pip all 8.1.1-2ubuntu0.4 [144 kB]
  Get:6 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 python-setuptools 
all 20.7.0-1 [169 kB]
  Get:7 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 python-wheel 
all 0.29.0-1 [48.0 kB]
  Fetched 1,475 kB in 0s (4,260 kB/s) 
  Selecting previously unselected package libpython-all-dev:amd64.
  (Reading database ... 227429 files and directories currently installed.)
  Preparing to unpack .../libpython-all-dev_2.7.11-1_amd64.deb ...
  Unpacking libpython-all-dev:amd64 (2.7.11-1) ...
  Selecting previously unselected package python-all.
  Preparing to unpack .../python-all_2.7.11-1_amd64.deb ...
  Unpacking python-all (2.7.11-1) ...
  Selecting previously unselected package python-all-dev.
  Preparing to unpack .../python-all-dev_2.7.11-1_amd64.deb ...
  Unpacking python-all-dev (2.7.11-1) ...
  Selecting previously unselected package python-pip-whl.
  Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.4_all.deb ...
  Unpacking python-pip-whl (8.1.1-2ubuntu0.4) ...
  Selecting previously unselected package python-pip.
  Preparing to unpack .../python-pip_8.1.1-2ubuntu0.4_all.deb ...
  Unpacking python-pip (8.1.1-2ubuntu0.4) ...
  Selecting previously unselected package python-setuptools.
  Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ...
  Unpacking python-setuptools (20.7.0-1) ...
  Selecting previously unselected package python-wheel.
  Preparing to unpack .../python-wheel_0.29.0-1_all.deb ...
  Unpacking python-wheel (0.29.0-1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up python-coverage (3.7.1+dfsg.1-1ubuntu7) ...
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in 
  from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in 
  from ConfigParser import SafeConfigParser
  ImportError: No module named 'ConfigParser'
  dpkg: error processing package python-coverage (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up libpython-all-dev:amd64 (2.7.11-1) ...
  Setting up python-all (2.7.11-1) ...
  Setting up python-all-dev (2.7.11-1) ...
  Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
  Setting up python-pip (8.1.1-2ubuntu0.4) ...
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in 
  from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in 
  from ConfigParser import SafeConfigParser
  ImportError: No module named 'ConfigParser'
  dpkg: error processing package python-pip (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up python-setuptools (20.7.0-1) ...
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in 
  from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in 
  from ConfigParser import SafeConfigParser
  ImportError: No module named 'ConfigParser'
  dpkg: error processing package python-setuptools (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up