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

.deb dependency on libappindicator3-1 not available on Kali Linux #504

Closed
2 tasks done
laomaiweng opened this issue Feb 19, 2021 · 12 comments
Closed
2 tasks done

.deb dependency on libappindicator3-1 not available on Kali Linux #504

laomaiweng opened this issue Feb 19, 2021 · 12 comments
Labels
blocked/upstream Blocked on upstream dependency

Comments

@laomaiweng
Copy link

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

On Kali Linux (kali-rolling), libappindicator3-1 is no longer available since 2021-01-19 (see https://pkg.kali.org/pkg/libappindicator#, it's also been moved to the oldlibs package subsection in Debian Sid). Apparently, libayatana-appindicator should be used now (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037).

Installation of the draw.io .deb package (v14.1.8) can be forced with dpkg -i --force-depends and draw.io seems to work, so this is not a big issue, but I guess it's worth mentioning at least.

@frankgerhardt
Copy link

Same on Debian 10.

# dpkg -i drawio-amd64-14.5.1.deb 
Selecting previously unselected package draw.io.
(Reading database ... 262410 files and directories currently installed.)
Preparing to unpack drawio-amd64-14.5.1.deb ...
Unpacking draw.io (14.5.1) ...
dpkg: dependency problems prevent configuration of draw.io:
 draw.io depends on libappindicator3-1; however:
  Package libappindicator3-1 is not installed.

dpkg: error processing package draw.io (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for shared-mime-info (1.10-1) ...
Errors were encountered while processing:
 draw.io

And then to fix it:

# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libappindicator3-1 libindicator3-7
The following NEW packages will be installed:
  libappindicator3-1 libindicator3-7
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 106 kB of archives.
After this operation, 217 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://deb.debian.org/debian buster/main amd64 libindicator3-7 amd64 0.5.0-4 [52.9 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libappindicator3-1 amd64 0.4.92-7 [53.5 kB]
Fetched 106 kB in 0s (1947 kB/s)         
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
Selecting previously unselected package libindicator3-7:amd64.
(Reading database ... 262503 files and directories currently installed.)
Preparing to unpack .../libindicator3-7_0.5.0-4_amd64.deb ...
Unpacking libindicator3-7:amd64 (0.5.0-4) ...
Selecting previously unselected package libappindicator3-1:amd64.
Preparing to unpack .../libappindicator3-1_0.4.92-7_amd64.deb ...
Unpacking libappindicator3-1:amd64 (0.4.92-7) ...
Setting up libindicator3-7:amd64 (0.5.0-4) ...
Setting up libappindicator3-1:amd64 (0.4.92-7) ...
Setting up draw.io (14.5.1) ...
Processing triggers for libc-bin (2.28-10) ...

@AnwarKamel
Copy link

Try this:
sudo apt-get update
sudo apt-get clean
sudo apt-get autoremove

@532910
Copy link

532910 commented Sep 15, 2021

libappindicator3-1 is not available on debian sid
https://tracker.debian.org/news/1257945/removed-0492-8-from-unstable/

libappindicator is deprecated:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037

@ngulden
Copy link

ngulden commented Oct 6, 2021

And it's the same with Debian 11. The latest version draw.io 15.4.0 cannot be installed.

sudo dpkg -i drawio-amd64-15.4.0.deb
Selecting previously unselected package draw.io.
(Reading database ... 305989 files and directories currently installed.)
Preparing to unpack drawio-amd64-15.4.0.deb ...
Unpacking draw.io (15.4.0) ...
dpkg: dependency problems prevent configuration of draw.io:
 draw.io depends on libappindicator3-1; however:
  Package libappindicator3-1 is not installed.

dpkg: error processing package draw.io (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.0-1) ...
Errors were encountered while processing:
 draw.io

sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  draw.io
0 upgraded, 0 newly installed, 1 to remove and 67 not upgraded.
1 not fully installed or removed.
After this operation, 325 MB disk space will be freed.
Do you want to continue? [Y/n] y

@320x200
Copy link

320x200 commented Oct 13, 2021

On Debian Sid. Same problem, obviously.

dpkg -i --force-depends helps indeed at first, but then next time you want to upgrade any other parts of the system, apt refuses to work unless you apt --fix-broken and this uninstalls draw.io.

@WaldemarLehner
Copy link

As a workaround, one can use

wget http://ftp.us.debian.org/debian/pool/main/libi/libindicator/libindicator3-7_0.5.0-4_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/liba/libappindicator/libappindicator3-1_0.4.92-7_amd64.deb
sudo apt install ./libindicator3-7_0.5.0-4_amd64.deb
sudo apt install ./libappindicator3-1_0.4.92-7_amd64.deb

(source: RocketChat/Rocket.Chat.Electron#1975 (comment))

Here's a CI-Job that installs drawio using this Approach:

Job Definition

Job Log

@ywpc
Copy link

ywpc commented Nov 1, 2021

@WaldemarLehner Thanks for the solution. Debian officially dropped this package but unfortunately "legacy" software (like 3 years old) are still needed.

@codebyAbhishekBharti
Copy link

@WaldemarLehner thanks your solution also worked for me. having this problem while running droidcam in kali linux -5.10.0-kali9-amd64

@OliverSolomon
Copy link

As a workaround, one can use

wget http://ftp.us.debian.org/debian/pool/main/libi/libindicator/libindicator3-7_0.5.0-4_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/liba/libappindicator/libappindicator3-1_0.4.92-7_amd64.deb
sudo apt install ./libindicator3-7_0.5.0-4_amd64.deb
sudo apt install ./libappindicator3-1_0.4.92-7_amd64.deb

(source: RocketChat/Rocket.Chat.Electron#1975 (comment))

Here's a CI-Job that installs drawio using this Approach:

Job Definition

Job Log

This worked for me. I had the same error trying to install binance.

@davidjgraph davidjgraph added the blocked/upstream Blocked on upstream dependency label Jan 6, 2022
@davidjgraph
Copy link
Contributor

This thread is just noisy, now. I'm going to unsubscribe and close it. If someone has a solution, please start a new issue.

@hifihedgehog
Copy link

As a workaround, one can use

wget http://ftp.us.debian.org/debian/pool/main/libi/libindicator/libindicator3-7_0.5.0-4_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/liba/libappindicator/libappindicator3-1_0.4.92-7_amd64.deb
sudo apt install ./libindicator3-7_0.5.0-4_amd64.deb
sudo apt install ./libappindicator3-1_0.4.92-7_amd64.deb

Can confirm this solution works as expected.

@markuspla
Copy link

markuspla commented Mar 10, 2022

Reason - unable to install StarUML, missing libappindicator3-1.
Im confirm that this solution works on:

PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2022.1"
VERSION_ID="2022.1"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/upstream Blocked on upstream dependency
Projects
None yet
Development

No branches or pull requests