ztefn / haguichi

Haguichi provides a graphical frontend for Hamachi on Linux.
https://haguichi.net
GNU General Public License v3.0
151 stars 8 forks source link

libappindicator3-1 package does not exist in Debian testing #39

Closed vascowhite closed 3 years ago

vascowhite commented 3 years ago

Hi,

This is a great project, I use it all the time! I am trying to install this on debian testing (bullseye). When I attempt to install it I get the following error:-

Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 haguichi : Depends: libappindicator3-1 but it is not installable
            Recommends: dconf-cli but it is not going to be installed
            Recommends: desktop-file-utils but it is not going to be installed
            Recommends: dnsutils
E: Unable to correct problems, you have held broken packages.

I did some searching and found this:- https://support.delta.chat/t/debian-package-fails-to-install-on-testing-bullseye-nonexisting-dependency/1364

libappindicator3-1 package does not exist in Debian testing (and probably won’t in the upcoming stable release). The package is subject to be removed from 1 Debian 1.

Proposed solution by Debian: migrate to libayatana-appindicator.

Is this in your future plans? Any suggestions on a work around?

ztefn commented 3 years ago

Thanks for reporting this! I was aware that libappindicator had been forked into this new project because the original project was unmaintained. But I didn't know it was already available in the package repositories for a while intended to replace the original library.

Knowing this now, I will plan to replace the appindicator library for the upcoming release (version 1.4.4).

As work around you could build and install from source (appindicator is not enabled by default) or use the flatpak version.

vascowhite commented 3 years ago

Thanks for the quick reply. I'll try building it myself, I have an aversion to flatpak that I can't explain :)

ztefn commented 3 years ago

News flash. Supporting ayatana-appindicator is easy, API appears to be the same. Just needs the Meson build script to be aware.

As for totally replacing libappindicator, this is a little premature. Seems to be a Debian-only crusade for now. Ubuntu folks don't play along and are keeping libappindicator in main.

So I decided to split deb packaging into separate branches for Ubuntu and Debian so that they can have their own different dependencies (additional advantage is we can leave out the ubuntu-mono and Yaru icons as well).

Having separate build means separate PPA repository. This PPA now contains the stable release (version 1.4.3) with a patch for the build script to use ayatana-appindicator. Here you can find the Launchpad build recipe.

In order to install Haguichi from this PPA for Debian: sudo sh -c 'echo "deb http://ppa.launchpad.net/ztefn/haguichi-debian/ubuntu bionic main" > /etc/apt/sources.list.d/haguichi-debian.list' sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB75B0EBE2C821AC sudo apt update sudo apt install -y haguichi

I will soon update the installation instructions for Debian on the website to these commands if no problems arise.

vascowhite commented 3 years ago

This worked perfectly. Thank you for the quick action, having the separate repository makes perfect sense.

It's nice to have the icon back :)

Just sent you £10 - have a beer on me.

ztefn commented 3 years ago

Good to hear! I have updated the instructions on the website.

Thanks for the beer! 🍺️ You are now in the Hall of Fame. 🎉️