kimchi-project / kimchi

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

Dependency libvirt-bin for Kimchi not satisfiable on Debian 9.x #1176

Open verwilst opened 6 years ago

verwilst commented 6 years ago

OS: Debian 9.x

dpkg -i kimchi-2.5.0-0.noarch.deb

Selecting previously unselected package kimchi. (Reading database ... 52978 files and directories currently installed.) Preparing to unpack kimchi-2.5.0-0.noarch.deb ... Unpacking kimchi (2.5.0) ... dpkg: dependency problems prevent configuration of kimchi: kimchi depends on libvirt-bin; however: Package libvirt-bin is not installed.

dpkg: error processing package kimchi (--install): dependency problems - leaving unconfigured Errors were encountered while processing: kimchi

libvirt-bin is no longer part of the repositories.

verwilst commented 6 years ago

The package was split into two parts:

libvirt-daemon-system libvirt-clients

kerberjg commented 6 years ago

Even despite the two replacement packages are installed, dpkg still refuses to configure kimchi until it sees a package named libvirt-bin

kerberjg commented 6 years ago

Solution: clone and compile Wok and Kimchi from source:

sudo apt-get install python-apt sosreport python-configobj python-parted \
                                  gcc make autoconf automake gettext \
                                  git pkgconf xsltproc logrotate \
                                  python-cherrypy3 python-cheetah python-pam \
                                  python-m2crypto python-jsonschema \
                                  python-psutil python-ldap python-lxml nginx \
                                  openssl websockify novnc python-libvirt \
                                  libvirt-daemon nfs-common qemu-kvm \
                                  python-ethtool sosreport python-ipaddr \
                                  python-lxml open-iscsi python-guestfs \
                                  libguestfs-tools spice-html5 python-magic \
                                  python-paramiko python-imaging fonts-font-awesome \
                                  hddtemp libuser1 python-augeas python-libuser
git clone --recursive https://github.com/kimchi-project/wok.git
cd wok
git checkout stable-2.5.x
git submodule update --remote
./autogen.sh --system
make
sudo make install
cd src/wok/plugins/gingerbase
./autogen.sh --system
make
sudo make install
cd ../ginger
./autogen.sh --system
make
sudo make install
cd ../kimchi
./autogen.sh --system
make
sudo make install

EDIT: updated the script

Nottt commented 6 years ago

@kerberjg Hi, I'm having issues installing kimchi inside a ubuntu docker. I run your script, but the command "kimchi" is not recognized, any idea of why this may be happening?

kerberjg commented 6 years ago

I'm pretty sure there isn't a "kimchi" command in my script, can you post your logs/screenshots?

Nottt commented 6 years ago

Sorry for my newbieness, but I can't understand/find the documentation on how I'm supposed to start kimchi.

I basically just create a ubuntu docker with docker create -i -t ubuntu /bin/bash, start it, and get a shell inside it, I then create a .sh file with your script and run it. Everything seems to work OK.

But what now? I can't access it on port 127.0.0.1

kerberjg commented 6 years ago

With Docker it's a bit different, you need to specify the port to expose from inside the container when you're launching it