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-imaging not available on Ubuntu 18.04 LTS #1227

Closed Jnesselr closed 5 years ago

Jnesselr commented 6 years ago

I'm trying to install kimchi, but apt is throwing this error:

Package python-imaging is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python-pil

E: Package 'python-imaging' has no installation candidate

Does kimchi only work with python 2? python-imaging is only available for python 2 I believe and Ubuntu 18.04 is python3 by default.

PMaynard commented 6 years ago

I got it working by installing python-pil, and ignoring the need for python-imaging. Since pil is a fork of python-imaging.

Erlenbush commented 6 years ago

I tried that, but with python-pil kimchi still doesn't seem to want to start. I have wok up and running but can't seem to get Kimchi going.

PMaynard commented 6 years ago

What errors are you seeing, post them here if you can. I ended up removing the .deb install and running from source, it was easy to build after trying to install the .deb.

djtobyy commented 6 years ago

Got the same Problem: After Installing all there are dependencies what can't be solved: (Sorry my OS is GERMAN :) 👎 )

PS: It says: "kimchi is depending on PACKAGENAME but package PACKAGENAME is not installed."

` Vorbereitung zum Entpacken von kimchi-2.5.0-0.noarch.deb ... Entpacken von kimchi (2.5.0) ... dpkg: Abhängigkeitsprobleme verhindern Konfiguration von kimchi: kimchi hängt ab von python-imaging; aber: Paket python-imaging ist nicht installiert.

kimchi hängt ab von novnc; aber: Paket novnc ist nicht installiert.

kimchi hängt ab von python-libvirt; aber: Paket python-libvirt ist nicht installiert.

kimchi hängt ab von python-ethtool; aber: Paket python-ethtool ist nicht installiert.

kimchi hängt ab von python-ipaddr; aber: Paket python-ipaddr ist nicht installiert.

kimchi hängt ab von python-guestfs; aber: Paket python-guestfs ist nicht installiert.

kimchi hängt ab von python-magic; aber: Paket python-magic ist nicht installiert.

kimchi hängt ab von python-paramiko; aber: Paket python-paramiko ist nicht installiert. `

rickyphewitt commented 6 years ago

I ran into this same issue. I was able to install python-pil instead of python-imaging. Then run the command: dpkg --ignore-depends=python-imaging -i your-kimchi-deb-here Then opened up the wok web interface and enabled the plugin.

Erlenbush commented 6 years ago

The current error I'm seeing in the wok error log is that I'm missing module: paramiko. It says kimchi can not be imported, error: No module named paramiko

Erlenbush commented 6 years ago

ah that's python-paramiko

Erlenbush commented 6 years ago

sudo apt install python-paramiko fixed it:)

tekgeek1205 commented 6 years ago

So with the help of this thread, I've got everything up and running except I'm still getting this error when I try to install anything else.

kimchi : Depends: python-imaging but it is not installable

If I run apt --fix-broken install It uninstall kimchi. Then I can install what I need. What a pain. How do I make apt ignore this missing dependency when Installing other stuff. Python-pil seem to be working.

juan-vg commented 6 years ago

@tekgeek1205 you can edit dependencies manually

https://serverfault.com/a/383958/471258

tekgeek1205 commented 6 years ago

@juan-vg Thanks for responding, I figured it out at like 2 in the morning after chasing a different rabbit down it's hole. Then forgot to update my post the next morning.

damaspi commented 5 years ago

I did the following to remove the python-imaging dependency:

alinefm commented 5 years ago

Fixed by bc66961b5c1ca1d257df4ec5caf46f163512e771

gitpower2017 commented 5 years ago

Hello,

i have found my Problem.