wireguird icon indicating copy to clipboard operation
wireguird copied to clipboard

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

Open yllekz opened this issue 3 years ago • 3 comments

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'

yllekz avatar Aug 15 '22 17:08 yllekz

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:

  • lsb_release -a

    Distributor ID:	Ubuntu
    Description:	Ubuntu 22.04.1 LTS
    Release:	22.04
    Codename:	jammy
    
  • uname -a

    Linux mypc 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
    

ilbertt avatar Aug 15 '22 20:08 ilbertt

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 avatar Aug 18 '22 18:08 yllekz

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...

yllekz avatar Aug 21 '22 00:08 yllekz

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

mkono87 avatar Nov 27 '22 03:11 mkono87

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

tekkman avatar Dec 07 '22 16:12 tekkman

@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.

yllekz avatar Dec 07 '22 21:12 yllekz

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

skaox avatar Jan 01 '23 06:01 skaox

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

cosme12 avatar Feb 25 '23 21:02 cosme12

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!

josecarlos19 avatar Mar 01 '23 13:03 josecarlos19

Workaround works for me too, thanks!

yllekz avatar Mar 03 '23 14:03 yllekz

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

TheNomad11 avatar Mar 19 '23 21:03 TheNomad11

Fixed in v1, it uses libayatana-appindicator3 now.

UnnoTed avatar Mar 30 '23 03:03 UnnoTed