sunder icon indicating copy to clipboard operation
sunder copied to clipboard

Add mention of required packages for Debian

Open conorsch opened this issue 8 years ago • 5 comments

When installing the deb package, a few apt dependencies must be satsified, otherwise the dpkg -i command will fail. These seem to be:

  • libappindicator1
  • libdbusmenu-glib4
  • libdbusmenu-gtk4
  • libindicator7

Tested under Debian Stretch. Should also test on Ubuntu Xenial and document any differences.

conorsch avatar May 08 '17 16:05 conorsch

@conorsch @GabeIsman What's the latest on this? Seems like a blocker for release.

garrettr avatar Jun 15 '17 23:06 garrettr

I just tested installing the .deb on Tails 3.3, which was the most recent version of Tails as of yesterday. The missing dependencies were gconf2, gconf-service, and libappindicator1.

After some experimentation, I found these steps to successfully install Sunder, and its dependencies, on Tails:

sudo dpkg -i /path/to/sunder.deb
sudo apt-get update && sudo apt-get install -yf

Note that apt-get update is a necessary prerequisite for apt-get install -f to act in the desired manner, which is to install the missing dependencies for Sunder. I found that calling apt-get install -f without updating first led to apt-get deciding that the best solution was to remove sunder rather than to install its missing dependencies.

garrettr avatar Jan 10 '18 07:01 garrettr

After some experimentation, I found these steps to successfully install Sunder, and its dependencies, on Tails

Additional note: since these steps need to be online to install the missing dependencies, they require a slight reworking of the process for creating an airgapped Tails system for use with Sunder, which I will add to the documentation. I don't know of any other (reasonable) way to install Sunder's dependencies on Tails without having it online initially.

garrettr avatar Jan 23 '18 21:01 garrettr

I tried to install a build from yesterday on a Tails 3.5 using the following command.

$ sudo apt install sunder_0.1.0_amd64.deb

That showed me the follow error.

 sunder : Depends: gconf2 but it is not installable
          Depends: gconf-service but it is not installable
          Depends: libappindicator1 but it is not installable

Next, I did $ sudo apt-get update and then tried to install again. The following packages got installed.

gconf-service gconf2 gconf2-common libappindicator1 libdbusmenu-glib4
  libdbusmenu-gtk4 libgconf-2-4 libindicator7 sunder

Also from the log:

Creating config file /etc/gconf/2/path with new version
Setting up libindicator7:amd64 (0.5.0-3+b1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1.0tails1) ...
Processing triggers for sgml-base (1.29) ...
Setting up libdbusmenu-glib4:amd64 (12.10.2-2) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up libgconf-2-4:amd64 (3.2.6-4+b1) ...
Setting up gconf-service (3.2.6-4+b1) ...
Setting up libdbusmenu-gtk4:amd64 (12.10.2-2) ...
Setting up gconf2 (3.2.6-4+b1) ...
Setting up libappindicator1:amd64 (0.4.92-4) ...
Setting up sunder (0.1.0) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
N: Download is performed unsandboxed as root as file '/home/amnesia/Persistent/sunder_0.1.0_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

kushaldas avatar Feb 03 '18 04:02 kushaldas

#91 got us pretty far along here, but via recommending --fix-broken on the apt-get command. We should install explicitly list dependencies that should be installed, so that the apt-get operations complete cleanly, and the system is never in a broken state if the documentation is followed.

conorsch avatar Feb 23 '18 19:02 conorsch