UnnoTed / wireguird

wireguard gtk gui for linux
MIT License
684 stars 47 forks source link

Does not work with Ubuntu 22.04 - "Cannot install libappindicator3-dev" #7

Closed yllekz closed 1 year ago

yllekz commented 1 year ago

Hello, it seems this app doesn't work with Linux Mint 21 which uses Ubuntu 22.04.

Trying to install the .deb results in Error: Cannot install 'libappindicator3-dev'

ilbertt commented 1 year ago

Same here, I'm getting the error:

wireguird depends on libappindicator3-dev (>= 1.0.0); however:
  Package libappindicator3-dev is not installed.

and when trying to install libappindicator3-dev:

The following packages have unmet dependencies:
 libayatana-appindicator3-1 : Conflicts: libappindicator3-1

System info:

yllekz commented 1 year ago

So the weirdest thing happened today...now I'm able to install it just fine and I'm not sure what I did differently to suddenly make it work.

Strange that it didn't work the other day but decided to work today...

This was all I ran this time around:

wget -O ~/Downloads/wireguird.deb https://github.com/UnnoTed/wireguird/releases/download/v0.2.0/wireguird_amd64.deb
sudo dpkg -i ~/Downloads/wireguird.deb

The system that successfully installed it (which was a clean Linux Mint install) somehow listed both "libappindicator3-1" and "libappindicator3-dev" as installed, so maybe it's an order-of-operations thing (that of which I don't fully understand yet).

A different system I have (which was in-place upgraded from Linux Mint 20 to 21) by comparison had "gir1.2-appindicator3-0.1" installed which was different from the "fresh install" system. Removing it didn't accomplish much though so I'm still dissecting that a bit.

I did get it working on this system after running the following (which ripped out a bunch of other stuff including "blueman" so I'm not sure if this should be considered a golden solution):

sudo apt install libappindicator3-1 libappindicator3-de

^After running this (which completed successfully), wireguird could install.

yllekz commented 1 year ago

Another update, and this one is a doozy:

So the above workaround does work, but what I didn't realize was that it removes the entire Blueman Bluetooth stack that Linux Mint 21 now uses.

Attempting to reinstall blueman warns that libappindicator3-1, libappindicator3-dev, and wireguird will all be removed:

The following additional packages will be installed:
  gir1.2-ayatanaappindicator3-0.1 libayatana-appindicator3-1
The following packages will be REMOVED:
  libappindicator3-1 libappindicator3-dev wireguird

so right now you have to choose either between Wireguird or having Bluetooth...

mkono87 commented 1 year ago

Same issue here on mint 21 also. Im glad I didnt try the workaround.

tekkman commented 1 year ago

successfully installed on Mint 21 after the fallowing:

sudo apt --fix-broken install sudo apt install libappindicator3-1 libappindicator3-dev sudo dpkg -i wireguird_amd64.deb

yllekz commented 1 year ago

@tekkman yes but check if your bluetooth stack is still present. As mentioned, the issue is you lose bluetooth support if you install via that path.

skaox commented 1 year ago

Ubuntu Mate 22.04 with the workaround I lose Bluetooth (blueman) and Network (network-manager).

apt install libappindicator3-1

The following packages will be REMOVED :
  ayatana-indicator-application blueman gir1.2-ayatanaappindicator3-0.1 libayatana-appindicator3-1 mate-optimus network-manager-gnome redshift-gtk transmission-gtk ubuntu-mate-core
  ubuntu-mate-desktop ubuntu-release-upgrader-gtk update-manager update-notifier

For Ubuntu 22.04 and newer libayatana-appindicator3-dev should be used instead of libappindicator3-dev

(-: I changed the dependencies required and it work like a charm ;-)

wireguird_amd64_libayatana-appindicator3-dev.zip

Couldn't upload the deb package so after download change the extension .zip to .deb

cosme12 commented 1 year ago

Ubuntu Mate 22.04 with the workaround I lose Bluetooth (blueman) and Network (network-manager).

apt install libappindicator3-1

The following packages will be REMOVED :
  ayatana-indicator-application blueman gir1.2-ayatanaappindicator3-0.1 libayatana-appindicator3-1 mate-optimus network-manager-gnome redshift-gtk transmission-gtk ubuntu-mate-core
  ubuntu-mate-desktop ubuntu-release-upgrader-gtk update-manager update-notifier

For Ubuntu 22.04 and newer libayatana-appindicator3-dev should be used instead of libappindicator3-dev

(-: I changed the dependencies required and it work like a charm ;-)

wireguird_amd64_libayatana-appindicator3-dev.zip

Couldn't upload the deb package so after download change the extension .zip to .deb

Working great! Thanks

josecarlos19 commented 1 year ago

Ubuntu Mate 22.04 with the workaround I lose Bluetooth (blueman) and Network (network-manager).

apt install libappindicator3-1

The following packages will be REMOVED :
  ayatana-indicator-application blueman gir1.2-ayatanaappindicator3-0.1 libayatana-appindicator3-1 mate-optimus network-manager-gnome redshift-gtk transmission-gtk ubuntu-mate-core
  ubuntu-mate-desktop ubuntu-release-upgrader-gtk update-manager update-notifier

For Ubuntu 22.04 and newer libayatana-appindicator3-dev should be used instead of libappindicator3-dev

(-: I changed the dependencies required and it work like a charm ;-)

wireguird_amd64_libayatana-appindicator3-dev.zip

Couldn't upload the deb package so after download change the extension .zip to .deb

Works on Linux Mint 21.1!

yllekz commented 1 year ago

Workaround works for me too, thanks!

TheNomad11 commented 1 year ago

Ubuntu Mate 22.04 with the workaround I lose Bluetooth (blueman) and Network (network-manager).

apt install libappindicator3-1

The following packages will be REMOVED :
  ayatana-indicator-application blueman gir1.2-ayatanaappindicator3-0.1 libayatana-appindicator3-1 mate-optimus network-manager-gnome redshift-gtk transmission-gtk ubuntu-mate-core
  ubuntu-mate-desktop ubuntu-release-upgrader-gtk update-manager update-notifier

For Ubuntu 22.04 and newer libayatana-appindicator3-dev should be used instead of libappindicator3-dev

(-: I changed the dependencies required and it work like a charm ;-)

wireguird_amd64_libayatana-appindicator3-dev.zip

Couldn't upload the deb package so after download change the extension .zip to .deb

Thanks so much, works now on Linux Mint 21.1

UnnoTed commented 1 year ago

Fixed in v1, it uses libayatana-appindicator3 now.