artefactual-labs / am-packbuild

Archivematica package building scripts
GNU General Public License v2.0
4 stars 6 forks source link

Problem: am-common trusty 1.7.2 package can't be installed #187

Closed scollazo closed 5 years ago

scollazo commented 6 years ago

This is the error:

requests 2.18.4 has requirement urllib3<1.23,>=1.21.1, but you'll have urllib3 1.23 which is incompatible.
Installing collected packages: mysqlclient, urllib3, idna, chardet, certifi, requests, agentarchives, bagit, Django, elasticsearch, python-dateutil
  Running setup.py install for mysqlclient ... done
  Found existing installation: urllib3 1.7.1
Cannot uninstall 'urllib3'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
dpkg: error processing package archivematica-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
Errors were encountered while processing:
 archivematica-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
scollazo commented 6 years ago

I think this is somehow related to python-urllib3-whl being installed as a dependency of archivematica-common:

ubuntu@am172-trusty-pkg:/etc/apt$ sudo apt-get install -y archivematica-common
Reading package lists... Done
Building dependency tree
Reading state information... Done 
The following extra packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl
  libgcc-4.8-dev libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4
  libmysqlclient-dev libmysqlclient18 libpython-dev libpython2.7-dev
  libquadmath0 libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
  mysql-common python-chardet-whl python-colorama python-colorama-whl
  python-dev python-distlib python-distlib-whl python-html5lib
  python-html5lib-whl python-pip python-pip-whl python-requests-whl
  python-setuptools python-setuptools-whl python-six-whl python-urllib3-whl
  python-wheel python2.7-dev python3-pkg-resources zlib1g-dev
scollazo commented 5 years ago

I wasn't able to reproduce this, so closing.