localsend icon indicating copy to clipboard operation
localsend copied to clipboard

Failed to execute command "localsend_app"

Open jBNeo opened this issue 1 year ago • 4 comments

Describe the bug

I downloaded the *.deb file sudo dpkg -i LocalSend-1.14.0-linux-x86-64.deb Selecting previously unselected package localsend. (Reading database ... 115964 files and directories currently installed.) Preparing to unpack LocalSend-1.14.0-linux-x86-64.deb ... Unpacking localsend (1.14.0+45) ... dpkg: dependency problems prevent configuration of localsend: localsend depends on gir1.2-appindicator3-0.1 | gir1.2-ayatanaappindicator3-0.1; however: Package gir1.2-appindicator3-0.1 is not installed. Package gir1.2-ayatanaappindicator3-0.1 is not installed.

dpkg: error processing package localsend (--install): dependency problems - leaving unconfigured Processing triggers for desktop-file-utils (0.26-1) ... Processing triggers for mailcap (3.70+nmu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Errors were encountered while processing: localsend neo@debian:~/Downloads/localsend$

popup error says: Failed to execute command "localsend_app" Failed to execute child process "localsend_app" (No such file or directory)

I am running the following: Debian GNU/Linux 12 (bookworm) 64bit xfce version: 4.18 GTK version: 3.24.38 kernel version: 6.1.0-22-amd64

To reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Expected behavior

Should install

Screenshots

image

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Additional context

No response

jBNeo avatar Jul 08 '24 01:07 jBNeo

sudo apt install gir1.2-appindicator3-0.1

Have you tried using this?

CHUNG-HAO avatar Jul 08 '24 06:07 CHUNG-HAO

I will try that. Thanks, this is my 3rd day using Linux so I don't know much. Thus probably not a bug but an issue. One question though: How do I know I can safely install this dependency without breaking my system ? I went here: https://packages.debian.org/buster/gir1.2-appindicator3-0.1 And to a newbie like me, this doesn't mean much. Everything I've read in the Debian forums tells me NOT to break my system by installing software just like the above with sudo apt install.

Any help would be appreciated. Thanks.

jBNeo avatar Jul 08 '24 18:07 jBNeo

sudo apt install gir1.2-appindicator3-0.1

Have you tried using this?

I was told NOT to install that way. I discovered that the instructions on how to install this deb file would not work for me, I don't know about others. I have several ways to install listed below (yes I am a new Linux user so I assume you already know this):

How to install .deb package ?
LocalSend-1.14.0-linux-x86-64.deb Verify installation is successful by checking the applications menu (1) sudo apt install ./.deb , handles dependecies (2) sudo dpkg -i ./.deb , does not handle dependecies, low level tool (3) use Gdebi GUI package-file, sudo apt install gdebi , 3rd party installer ? sudo gdebi-gtk ./.deb OR right click and install with gdebi application (4) use Gdebt CLI, sudo gdebi ./.deb

(5) from Thunar file manager: double left clicking installation to install *.deb package

I choose (1). It worked fine and I can send/receive files from others but I received an error which I listed below. Can you please explain what this error is ?

neo@debian:~/Downloads/localsend$ sudo apt install ./LocalSend-1.14.0-linux-x86-64.deb 
[sudo] password for neo: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'localsend' instead of './LocalSend-1.14.0-linux-x86-64.deb'
The following NEW packages will be installed:
  localsend
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/9,354 kB of archives.
After this operation, 31.3 MB of additional disk space will be used.
Get:1 /home/neo/Downloads/localsend/LocalSend-1.14.0-linux-x86-64.deb localsend amd64 1.14.0+45 [9,354 kB]
Selecting previously unselected package localsend.
(Reading database ... 119051 files and directories currently installed.)
Preparing to unpack .../LocalSend-1.14.0-linux-x86-64.deb ...
Unpacking localsend (1.14.0+45) ...
Setting up localsend (1.14.0+45) ...
Installed Localsend successfully
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
N: Download is performed unsandboxed as root as file '/home/neo/Downloads/localsend/LocalSend-1.14.0-linux-x86-64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
neo@debian:~/Downloads/localsend$ 

Thanks.

jBNeo avatar Jul 11 '24 01:07 jBNeo

It's nothing important. You can ignore it since Localsend was successfully installed.

Mujtaba0150 avatar Jul 15 '24 10:07 Mujtaba0150