Bug 23810 - unsatisfied pythonegg(2)(cffi) trying to install python-cryptography-2.3.1-1.mga6.x86_64
Summary: unsatisfied pythonegg(2)(cffi) trying to install python-cryptography-2.3.1-1....
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Python Stack Maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 23339
  Show dependency treegraph
 
Reported: 2018-11-06 06:17 CET by Bit Twister
Modified: 2018-11-10 22:41 CET (History)
5 users (show)

See Also:
Source RPM: python-cryptography-2.3.1-1.mga6.x86_64
CVE:
Status comment:


Attachments

Description Bit Twister 2018-11-06 06:17:38 CET
Description of problem:   mga7 dev0

A requested package cannot be installed:
python-cryptography-2.3.1-1.mga6.x86_64 (due to unsatisfied pythonegg(2)(asn1crypto)[>= 0.21.0])


Version-Release number of selected component (if applicable):


How reproducible: always


Steps to Reproduce:
1. clean install of Mageia-Cauldron-netinstall-nonfree-x86_64.iso  
2. Enable nonfree and tainted media.
3. Pick Custom package install
4. in Package Group Selection screen, set all package groups selected except
   Other Graphical Desktops. In that one select IceWM, MythFrontEnd, Xfce
5. Enable nonfree and tainted media.
6. urpmi --downloader wget --auto --auto-update --test
Comment 1 Bit Twister 2018-11-06 12:30:38 CET
Sorry, that should have been for mga6. and step 1
1. clean install of Mageia-6.1-netinstall-nonfree-x86_64.iso

Source RPM: pythonegg => pythonegg, python-cryptography-
Version: Cauldron => 6

Comment 2 Marja Van Waes 2018-11-06 12:41:55 CET
duplicate of 23803 (see also bug 23339)

*** This bug has been marked as a duplicate of bug 23803 ***

Resolution: (none) => DUPLICATE
CC: (none) => marja11
Status: NEW => RESOLVED

Comment 3 Bit Twister 2018-11-07 14:14:38 CET
(In reply to Marja Van Waes from comment #2)
> duplicate of 23803 (see also bug 23339)
> 
> *** This bug has been marked as a duplicate of bug 23803 ***

Going to re-open the bug here since the problem has not been resolved on the mirror for uses who do not have testing enabled.

Resolution: DUPLICATE => (none)
Status: RESOLVED => REOPENED

Comment 4 Marja Van Waes 2018-11-08 08:44:21 CET
(In reply to Bit Twister from comment #3)
> (In reply to Marja Van Waes from comment #2)
> > duplicate of 23803 (see also bug 23339)
> > 
> > *** This bug has been marked as a duplicate of bug 23803 ***
> 
> Going to re-open the bug here since the problem has not been resolved on the
> mirror for uses who do not have testing enabled.

Maybe your mirror hadn't synced, yet, but it is there:

[marja@localhost mageia]$ ls -al distrib/6/x86_64/media/core/updates | grep  asn1crypto
-rw-r--r-- 4 marja marja     161430 nov  6 01:44 python2-asn1crypto-0.22.0-1.1.mga6.noarch.rpm
-rw-r--r-- 4 marja marja     167590 nov  6 01:44 python3-asn1crypto-0.22.0-1.1.mga6.noarch.rpm
[marja@localhost mageia]$ 

tmb moved the python-asn1crypto packages to updates almost 24 hours before you added your comment, see bug #23803, comment #5 ;-)

*** This bug has been marked as a duplicate of bug 23803 ***

Resolution: (none) => DUPLICATE
Status: REOPENED => RESOLVED

Comment 5 Bit Twister 2018-11-08 09:17:02 CET
(In reply to Marja Van Waes from comment #4)
> (In reply to Bit Twister from comment #3)
> > (In reply to Marja Van Waes from comment #2)
> > > duplicate of 23803 (see also bug 23339)
> > > 
> > > *** This bug has been marked as a duplicate of bug 23803 ***
> > 
> > Going to re-open the bug here since the problem has not been resolved on the
> > mirror for uses who do not have testing enabled.
> 
> Maybe your mirror hadn't synced, yet, but it is there:

Then again, it was synced when I tested.

> [marja@localhost mageia]$ ls -al distrib/6/x86_64/media/core/updates | grep 
> asn1crypto
> -rw-r--r-- 4 marja marja     161430 nov  6 01:44
> python2-asn1crypto-0.22.0-1.1.mga6.noarch.rpm
> -rw-r--r-- 4 marja marja     167590 nov  6 01:44
> python3-asn1crypto-0.22.0-1.1.mga6.noarch.rpm
> [marja@localhost mageia]$ 

I have a cron job running nightly to pull down a listing of my selected mirror and a quick grep of the index files shows
$ uidx python2-asn1crypto-0.22.0-1.1.mga6.noarch.rpm
core32_updates-0006.0.x86_64.idx:python2-asn1crypto-0.22.0-1.1.mga6.noarch.rpm 158K 2018-11-05 19:44
core_updates-0006.0.x86_64.idx:python2-asn1crypto-0.22.0-1.1.mga6.noarch.rpm 158K 2018-11-05 19:44


> tmb moved the python-asn1crypto packages to updates almost 24 hours before
> you added your comment, see bug #23803, comment #5 ;-)

Oh, I know, but what do I see
      Created Thu Nov  8 01:55:04 CST 2018 with
      script --return --append  --quiet --command "urpmi --downloader wget  --wait-lock --replacefiles --auto-select --auto --download-all --test" /var/local/tmp/wb_mga6_6_o0_pull_updates_urpmi.log_127
      
Script started on Thu 08 Nov 2018 01:55:04 AM CST
A requested package cannot be installed:
python-cryptography-2.3.1-1.mga6.x86_64 (due to unsatisfied pythonegg(2)(cffi)[>= 1.7])
Installation is possible
While some packages may have been installed, there were failures.
A requested package cannot be installed:
python-cryptography-2.3.1-1.mga6.x86_64 (due to unsatisfied pythonegg(2)(cffi)[>= 1.7])
A requested package cannot be installed:

Looking at pythonegg, I see
$ uidx pythonegg
$ 

indicating it does not exist on the mirror. If that is correct, then in my stupid opinion, it seems to me that python-cryptography-2.3.1-1.mga6.x86_64 has to be released to not require pythonegg

Status: RESOLVED => REOPENED
Resolution: DUPLICATE => (none)

Bit Twister 2018-11-08 18:56:58 CET

Source RPM: pythonegg, python-cryptography- => python-cryptography-2.3.1-1.mga6.x86_64

Comment 6 Marja Van Waes 2018-11-08 22:52:02 CET
Ok, I had missed you had mentioned pythonegg :-[

Assigning to the python maintainers, CC'ing Bruno

Summary: unsatisfied pythonegg(2)(asn1crypto) trying to install python-cryptography-2.3.1-1.mga6.x86_64 => unsatisfied pythonegg(2)(cffi) trying to install python-cryptography-2.3.1-1.mga6.x86_64
CC: (none) => bruno
Assignee: bugsquad => python

Comment 7 Marja Van Waes 2018-11-08 22:56:10 CET
(In reply to Marja Van Waes from comment #6)
> Ok, I had missed you had mentioned pythonegg :-[

No, I had seen that, I just don't know what it means :-p

Anyway, the error changed from "unsatisfied pythonegg(2)(asn1crypto)" to "unsatisfied pythonegg(2)(cffi)"
Comment 8 Marc Krämer 2018-11-09 11:49:06 CET
there is the same error with 
python3-cryptography-2.3.1-1.mga6.x86_64 (due to unsatisfied pythonegg(3)(cffi)[>= 1.7])

CC: (none) => mageia

Comment 9 Thomas Andrews 2018-11-09 15:07:46 CET
Confirmed. 

I was one of the QA members who attempted to test Bug 23339, python-cryptography. I did not see this issue at that time. 

The packages under test were:

python-cryptography-2.3.1-1.mga6
python3-cryptography-2.3.1-1.mga6
python-cryptography-vectors-2.3.1-1.mga6
python3-cryptography-vectors-2.3.1-1.mga6

The core release versions of those packages were not installed on my test system, so I installed them and their dependencies. That went smoothly. I then activated the testing repos and selected the above packages to be updated. As I recall, no additional packages were required. The update proceeded without incident.

I just checked again, on a different system, which also did not have any of the packages in Bug 23339 installed. Again, I installed the original packages and any dependencies from core release, and again there were no problems.

But this time, when I went to update the packages, I received the following message:

Sorry, the following packages cannot be selected:

- python-cryptography-2.3.1-1.mga6.x86_64 (due to unsatisfied pythonegg(2)(cffi)[>= 1.7])
- python3-cryptography-2.3.1-1.mga6.x86_64 (due to unsatisfied pythonegg(3)(cffi)[>= 1.7])

I have no idea why I did not receive the message in the original test.

CC: (none) => andrewsfarm

Comment 10 Thomas Andrews 2018-11-09 15:29:02 CET
The missing package(s) are in the updates testing repos, but were not listed in Bug 23339 to be tested.

Please see Bug 23111. 

If the python-cffi and/or python3-cffi packages currently in testing are available and selected (as needed), the update proceeds without incident.
Marja Van Waes 2018-11-10 07:25:42 CET

Blocks: (none) => 23339

Comment 11 Thomas Backlund 2018-11-10 12:35:17 CET
python-cffi-1.7.0-1.mga6 move in progress

Resolution: (none) => FIXED
CC: (none) => tmb
Status: REOPENED => RESOLVED

Comment 12 Thomas Andrews 2018-11-10 15:37:55 CET
Checked out in VirtualBox. Packages now update without incident.
Comment 13 Marc Krämer 2018-11-10 22:41:53 CET
jepp, looks good. thx.

Note You need to log in before you can comment on or make changes to this bug.