Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
yllekz opened this issue Aug 15, 2022 · 12 comments
Closed

Comments

@yllekz
Copy link

yllekz commented Aug 15, 2022

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
Copy link

ilbertt commented Aug 15, 2022

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
    

@yllekz
Copy link
Author

yllekz commented Aug 18, 2022

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
Copy link
Author

yllekz commented Aug 21, 2022

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
Copy link

mkono87 commented Nov 27, 2022

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

@tekkman
Copy link

tekkman commented Dec 7, 2022

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
Copy link
Author

yllekz commented Dec 7, 2022

@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
Copy link

skaox commented Jan 1, 2023

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
Copy link

cosme12 commented Feb 25, 2023

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
Copy link

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
Copy link
Author

yllekz commented Mar 3, 2023

Workaround works for me too, thanks!

@TheNomad11
Copy link

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
Copy link
Owner

UnnoTed commented Mar 30, 2023

Fixed in v1, it uses libayatana-appindicator3 now.

@UnnoTed UnnoTed closed this as completed Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants