Dependency installation problem with libappindicator on Debian Bookworm

I’m trying to install duplicati_2.0.6.3-1_all.deb on Debian Bookworm. I’ve followed the instructions in both the manual and on the forum.

I then try to install with sudo apt install ./duplicati_2.0.6.3-1_all.deb but run into:

sudo apt install ./duplicati_2.0.6.3-1_all.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'duplicati' instead of './duplicati_2.0.6.3-1_all.deb'
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:
 duplicati : Depends: libappindicator0.1-cil but it is not installable or
                      libappindicator3-0.1-cil but it is not installable
E: Unable to correct problems, you have held broken packages.

Now, you might say “you’ve got the held broken packages” error, but running sudo dpkg --get-selections | grep hold shows no packages. Running a sudo apt autoremove has already removed unused packages. I can install other packages without a problem and without getting that held broken packages" error.

I don’t know what to do next. Perhaps this dependency is a “nice to have” on an Ubuntu installation with a GUI, but I’m trying to switch from Ubuntu to Debian without running a desktop manager on a new system that I’m building as a NAS.


this has nothing to do with a Gui. For testing purposes I am running Duplicati in a Ubuntu 20.04 container and obviously the libappindicator1 package does nothing in a container, it just satisfies dependencies.

The package has been removed from your distribution, so there is nothing you can do (short of installing lxc and running the current stable distribution in it)

Meaning no graphics at all? If so, you don’t need libappindicator* (which is for the tray icon).
The challenge will be persuading your install tools to forgive an omission. There seem to be
apt-get options to request this, but make sure that’s the extent of the missing dependencies.

-f, --fix-broken
-m, --ignore-missing, --fix-missing
look interesting, but I’m not an apt-get expert, so if you try this, please do some research…

Alternatively you can install by .zip I think. At least it seemed to work for someone recently:

Is it possible to install Duplicati without X11 and GTK dependencies?

Upcoming shift to Ayatana (App)Indicator(s) looks like part of their rationale behind migration.
This seems to be a messy area where one doesn’t know which indicator library to depend on.
Rip out libappindicator as it isn’t compatible with net5 changes Duplicati for far-future version.

made me wonder if it fixed the indicator headaches. I actually ran an artifact on Linux today.

Warning: this build does not support GTK, rebuild with ENABLE_GTK defined

so maybe I can’t tell yet.

No graphics at all, I want to run this machine headless and manage it using SSH. Applications will be web based. I tried running apt, apt-get or aptitude with -f and -m but that didn’t work.

When I search with apt-cache search for the missing dependency I get results that point to Ayatana, but when I install those, the dependencies are not satisfied.

But, I went for a different solution. I plan to run Debian only as host OS and run as much as possible via Docker containers. I was used to having Duplicati installed on Ubuntu on my current (old) NAS. This does have a lightweight desktop manager installed but I only use that on very rare occasions with Xvnc. So with this new Debian based NAS, I tried a dockerized Duplicati and that works for me. It is possible to map the / of the host OS to the Duplicati container as the source.

So, actually my original question isn’t answered, I have found a working solution since I already planned to use as much Docker containers as possible. Even backup does so now :smile: That’s the reason I’ll mark this as the solution.

1 Like