kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.12k stars 364 forks source link

python-m2crypto problem on 20.04 #1330

Open tgwaste opened 4 years ago

tgwaste commented 4 years ago

hi, any way to solve this?

# sudo apt install -y ./wok-3.0.0-0.ubuntu.noarch.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'wok' instead of './wok-3.0.0-0.ubuntu.noarch.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wok : Depends: python-m2crypto but it is not installable
E: Unable to correct problems, you have held broken packages.

Any reason it cant use this instead?

python3-m2crypto is already the newest version (0.31.0-9ubuntu1)
Criptos commented 4 years ago

If you are sure is installed, then force the instalacion and watch /var/log/wok/wpk-error.lg for errors...

Using pip I currenly have this crypto leated libs asn1crypto (0.24.0) bcrypt (3.2.0) cryptography (3.0)

and at least that isn't my issue...

alinefm commented 4 years ago

I will take a look on this in the next days.

Omemanti commented 3 years ago

Is there a sound answer yet? I also have: python3-m2crypto installed, but it needs python-m2crypto (without 3).

update: If I change the dependencies to Python3-m2crypto it installs well. (maybe a separate .deb for 20.04?)

nlightenme commented 2 years ago

I had the same issue on Ubuntu 22.04 and as @Omemanti said, changing the dependency to python3-m2crypto worked.