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

Installing .deb on Ubuntu 24 #3555

Open
ftmiranda opened this issue Oct 2, 2024 · 1 comment
Open

Installing .deb on Ubuntu 24 #3555

ftmiranda opened this issue Oct 2, 2024 · 1 comment
Labels
- photos Relates to the Ente Photos --desktop Plaftorm is desktop

Comments

@ftmiranda
Copy link

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

mnvr commented Oct 4, 2024

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:

@mnvr mnvr added --desktop Plaftorm is desktop - photos Relates to the Ente Photos and removed triage labels Oct 4, 2024
@mnvr mnvr changed the title Not sure if this is the best way to install a .deb application Installing on Ubuntu 24 Oct 4, 2024
@mnvr mnvr changed the title Installing on Ubuntu 24 Installing .deb on Ubuntu 24 Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- photos Relates to the Ente Photos --desktop Plaftorm is desktop
Projects
None yet
Development

No branches or pull requests

2 participants