FS#31088 - extra/twisted depends on pycrypto, but pycrypto was renamed to python[2]-crypto

Attached to Project: Arch Linux
Opened by Martin Saraceno (tinux) - Friday, 10 August 2012, 07:58 GMT
Last edited by Eric Belanger (Snowman) - Friday, 10 August 2012, 18:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Very recently 'pycrypto' seems to have been renamed to 'python-crypto' and 'python2-crypto', respectively.

It seems the dependencies of the 'twisted', which depends on 'pycrypto' still, have not been updated.

Steps to reproduce:
# pacman -Suy
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: twisted: requires pycrypto
This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 10 August 2012, 18:38 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Friday, 10 August 2012, 13:23 GMT
What version of pacman is this? I don't see pycrypto getting replaced by python2-crypto anywhere on your pacman output. python2-crypto provides pycrypto=2.6, so dependencies should be covered even if packages haven't been rebuilt for the name change.
Comment by Martin Saraceno (tinux) - Friday, 10 August 2012, 13:40 GMT
At some point yesterday I got this:

# pacman -Suy
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
:: Replace pycrypto with extra/python-crypto? [Y/n]
:: Replace pycrypto with extra/python2-crypto? [Y/n] n
resolving dependencies...
looking for inter-conflicts...

Targets (2): pycrypto-2.5-1 [removal] python-crypto-2.6-1

Total Download Size: 0.33 MiB
Total Installed Size: 3.76 MiB
Net Upgrade Size: 0.36 MiB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...
python-crypto-2.6-1... 333.2 KiB 286K/s 00:01 [#########################] 100%
(1/1) checking package integrity [#########################] 100%
(1/1) loading package files [#########################] 100%
(1/1) checking for file conflicts [#########################] 100%
(2/2) checking available disk space [#########################] 100%
(1/1) removing pycrypto [#########################] 100%
(1/1) installing python-crypto [#########################] 100%


Then I tried to install python2-crypto, which gave me this:

# pacman -S python2-crypto
resolving dependencies...
looking for inter-conflicts...
:: python2-crypto and python-crypto are in conflict (pycrypto). Remove python-crypto? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: python2-crypto and python-crypto are in conflict


However, now I removed twisted and python-crypto, and after a reinstallation of twisted, actually _can_ install python-crypto without causing a conflict with python2-crypto.


I'm not sure what was wrong, but it seems fine now.

Thanks!

Loading...