Bug 25422 - fwbackups crashes at startup with 'Please install paramiko (python-paramiko)'
Summary: fwbackups crashes at startup with 'Please install paramiko (python-paramiko)'
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: High major
Target Milestone: Mageia 7
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-10 01:33 CEST by Frédéric "LpSolit" Buclin
Modified: 2019-09-11 21:10 CEST (History)
1 user (show)

See Also:
Source RPM: fwbackups-1.43.7-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Frédéric "LpSolit" Buclin 2019-09-10 01:33:52 CEST
When starting fwbackups in Mageia 7, it immediately crashes:

Traceback (most recent call last):
  File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 87, in <module>
    raise fwbackups.fwbackupsError(_('Please install paramiko (python-paramiko)'))
fwbackupsError: u"Please install paramiko (python-paramiko)"


But trying to install python-paramiko-2.4.2-2 conflicts with the already installed python-paramiko-2.6.0-1.

Should fwbackups be recompiled to work with paramiko 2.6.0? fwbackups was working fine in Mageia 6. (pretty severe regression as I can no longer backup my system using it.)
Comment 1 Lewis Smith 2019-09-10 21:15:06 CEST
This is curious. I did not have python-paramiko, so installed it - and it came in as 'python-paramiko-2.4.2-2.mga7', which is what is required.
 # urpmq -i python-paramiko
Name        : python-paramiko
Version     : 2.4.2
Release     : 2.mga7

Do you know how you got your 'python-paramiko-2.6.0-1' Frédéric?

 # urpmi --test fwbackups
    $MIRRORLIST: media/core/release/fwbackups-1.43.7-1.mga7.noarch.rpm
wrthi'n gosod fwbackups-1.43.7-1.mga7.noarch.rpm o /var/cache/urpmi/rpms       
Wrthi'n paratoi...               #############################################
Gellir gosod                     = It can be installed
------------
So I suggest re-installing python-paramiko, either:
- If possible, UNinstall the version 2.6.0-1 (but this might take all sorts of other things with it):
 # urpmi -e python-paramiko              [or try first with --test parameter]
then re-install it - and check the version.
 OR
- # urpmi --downgrade python-paramiko
and see what version you get. If it is 2.4.2-2, good; if it is older, then you would have to update the system to bring it to this version. fwbackups should then be happy.

CC: (none) => lewyssmith
Whiteboard: (none) => NEEDINFO

Comment 2 Frédéric "LpSolit" Buclin 2019-09-10 21:54:20 CEST
(In reply to Lewis Smith from comment #1)
> Do you know how you got your 'python-paramiko-2.6.0-1' Frédéric?

Probably because bug 25094 updated python-paramiko from 2.4.2 to 2.6.0 one month ago and renamed it to python2-paramiko? See https://advisories.mageia.org/MGAA-2019-0092.html for the advisory.

I do not want to downgrade it, for the reasons described in the advisory. So I think the right fix is to recompile fwbackups to work with the newer version of python-paramiko, and fix the dependency, if needed.

Whiteboard: NEEDINFO => (none)

Comment 3 Lewis Smith 2019-09-11 21:10:26 CEST
Thank you for your explanation.

By chance, I have just been fed the update of python-paramiko to
 python2-paramiko-2.6.0-1.mga7
Re-naming packages like this is confusing; but it has certainly replaced
 python-paramiko-2.4.2-2.mga7
although the advisory made no mention of the name change.
For the record:
 $ urpmq --whatrequires-recursive python-paramiko
Nothing.
 $ urpmq --whatrequires-recursive python2-paramiko
Nothing.
 $ urpmq --requires fwbackups
...
python2dist(paramiko)
 $ urpmq --requires-recursive fwbackups
...
python-paramiko|python2-paramiko

Have to assign globally for fwbackups; CC'ing philippem for python-paramiko.

CC: lewyssmith => makowski.mageia
Assignee: bugsquad => pkg-bugs


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