ente-io / ente

Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
https://ente.io
GNU Affero General Public License v3.0
16.16k stars 831 forks source link

Installing .deb on Ubuntu 24 #3555

Open ftmiranda opened 1 month ago

ftmiranda commented 1 month ago

Description

Hello, I'm using Ubuntu 24.04.1

I downloaded the amd64.deb version of ente and these are the steps I used to install it:

$ sudo apt install ./ente-1.7.5-amd64.deb [sudo] password for user: Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'ente' instead of './ente-1.7.5-amd64.deb' The following NEW packages will be installed: ente 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 0 B/220 MB of archives. After this operation, 1,092 MB of additional disk space will be used. Get:1 /home/user/Downloads/ente-1.7.5-amd64.deb ente amd64 1.7.5 [220 MB] Selecting previously unselected package ente. (Reading database ... 234804 files and directories currently installed.) Preparing to unpack .../Downloads/ente-1.7.5-amd64.deb ... Unpacking ente (1.7.5) ... Setting up ente (1.7.5) ... update-alternatives is /usr/bin/update-alternatives update-alternatives: using /opt/ente/ente to provide /usr/bin/ente (ente) in auto mode Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ... Processing triggers for desktop-file-utils (0.27-2build1) ... N: Download is performed unsandboxed as root as file '/home/user/Downloads/ente-1.7.5-amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

$ ente [100231:1002/131028.029101:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/ente/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap (core dumped)

$ sudo chmod 4755 /opt/ente/chrome-sandbox

After these steps now I can use the ente application. Is this the correct way of installing and using the ente application?

Thank you,

Version

1.7.5

What product are you using?

Ente Photos

What platform are you using?

Desktop - Linux

mnvr commented 1 month ago

sudo chmod 4755 /opt/ente/chrome-sandbox, as you did, should work. We haven't changed our packaging recently, so it looks like something has changed in Ubuntu 24 (vs prior ones) vis a vis Electron.

I don't know if it is the recommend approach, but there do not seem to be obvious alternatives yet. Upstream threads: