[SOLVED] anydesk update install error

Message
Author
User avatar
ludolph
Posts: 78
Joined: Fri Oct 07, 2011 7:38 am

[SOLVED] anydesk update install error

#1 Post by ludolph »

When I tried to re-install (update) anydesk app by MXPI i get the following error. Any help how to update from v 5.0.0 to 5.1.0 ??

Code: Select all

Hit:1 http://ftp.cz.debian.org/debian stretch-updates InRelease
Ign:2 http://ftp.cz.debian.org/debian stretch InRelease
Hit:3 http://ftp.cz.debian.org/debian stretch Release
Hit:4 http://security.debian.org stretch/updates InRelease
Hit:5 https://ftp.sh.cvut.cz/mxlinux/packages/antix/stretch stretch InRelease
Hit:6 https://ftp.sh.cvut.cz/mxlinux/packages/mx/repo stretch InRelease
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease
Get:8 https://desktop-download.mendeley.com/download/apt stable InRelease [2,456 B]
Hit:9 https://repo.skype.com/deb stable InRelease
Hit:10 https://download.virtualbox.org/virtualbox/debian stretch InRelease
Hit:11 http://apt.insynchq.com/ubuntu precise InRelease
Hit:12 http://repository.spotify.com stable InRelease
Hit:14 http://dl.google.com/linux/chrome/deb stable Release
Hit:15 https://download.sublimetext.com apt/stable/ InRelease
Hit:16 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Fetched 2,456 B in 1s (1,441 B/s)
Reading package lists...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 4386k  100 4386k    0     0  15.5M      0 --:--:-- --:--:-- --:--:-- 15.5M
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  anydesk
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,492 kB of archives.
After this operation, 316 kB of additional disk space will be used.
Get:1 /tmp/anydesk.deb anydesk amd64 5.1.0 [4,492 kB]
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 432783 files and directories currently installed.)
Preparing to unpack /tmp/anydesk.deb ...
Stopping AnyDesk global service: anydesk already stopped.
/var/lib/dpkg/tmp.ci/preinst: line 11: /etc/init.d/anydesk: No such file or directory
Unpacking anydesk (5.1.0) over (5.0.0-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Setting up anydesk (5.1.0) ...
insserv: script anydesk is not an executable regular file, skipped!
/var/lib/dpkg/info/anydesk.postinst: line 23: /etc/init.d/anydesk: Permission denied
dpkg: error processing package anydesk (--configure):
 subprocess installed post-installation script returned error exit status 126
Processing triggers for hicolor-icon-theme (0.15-1) ...
Errors were encountered while processing:
 anydesk
E: Sub-process /usr/bin/dpkg returned an error code (1)
Last edited by ludolph on Mon Jun 17, 2019 2:17 am, edited 1 time in total.

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: anydesk update install error

#2 Post by fehlix »

ludolph wrote: Fri Jun 14, 2019 8:54 am When I tried to re-install (update) anydesk app by MXPI i get the following error. Any help how to update from v 5.0.0 to 5.1.0 ??
I'll have a look .. :snail: ..
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: anydesk update install error

#3 Post by fehlix »

ludolph wrote: Fri Jun 14, 2019 8:54 am When I tried to re-install (update) anydesk app by MXPI i get the following error. Any help how to update from v 5.0.0 to 5.1.0 ??
The reason for the error messages when installing or updating to version 5.1.0 of AnyDesk
is a little "bug" regarding wrong permissions within the deb-package provided by Anydesk.
The bug will also show up if you directly download the deb-package from their weg-page:

Quick Fix:
After installing latest or upgrading to latest anydesk version 5.1.0
you'll receive some error messages. To fix the wrongly set permissions run this:

Code: Select all

sudo chmod -R 755 /usr/share/anydesk
and

Code: Select all

sudo chmod 755 /var/lib/dpkg/info/anydesk.p*
and to finish the installation run

Code: Select all

sudo dpkg --configure anydesk
and

Code: Select all

sudo apt-get install -f
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
ludolph
Posts: 78
Joined: Fri Oct 07, 2011 7:38 am

Re: anydesk update install error

#4 Post by ludolph »

Thanks a lot for your "quick fix"!!!

But I would like to ask if these "bugs" (very similar for nordvpn, see viewtopic.php?f=134&t=50875) are not related to some MX Linux specific behavior because on other distributions (Debian, Ubuntu, Mint) the AnyDesk (re-)installation or update process works without any problems. I suspect the systemd absence could be the reason. Am I right? If yes, anydesk and nordvpn should need modification of sysVinit scripts available at MXPI.

I am afraid that more and more new apps could have similar problems. So maybe it is time to start using of systemd. What is your opinion?

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: anydesk update install error

#5 Post by fehlix »

ludolph wrote: Sat Jun 15, 2019 4:50 am But I would like to ask if these "bugs" (very similar for nordvpn, see viewtopic.php?f=134&t=50875) are not related to some MX Linux specific behavior because on other distributions (Debian, Ubuntu, Mint) the AnyDesk (re-)installation or update process works without any problems. I suspect the systemd absence could be the reason. Am I right?

I am afraid that more and more new apps could have similar problems. So maybe it is time to start using of systemd. What is your opinion?
This anydesk "bug" is not related to the other issue within nordvpn update installer.
The andydesk deb package comes with a sysvinit installer part. This part within the original deb-pack of version 5.1.0 has a bug regarding permissions of the sysvinit scripts. ISTM, they simply have not tested their deb-package within sysVinit system, like MX or antiX.
If the deb-package get's installed within a systemd running distribution, the bug would probably not show up, but I have not tested within systemd, although they have permission issues within the post/pre-rm scripts. So might be another issue would show up also in systemd based distributions.
So you can either wait until AnyDesk provides a fixed version, or apply the quick fix provided.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
ludolph
Posts: 78
Joined: Fri Oct 07, 2011 7:38 am

Re: anydesk update install error

#6 Post by ludolph »

fehlix wrote: Sat Jun 15, 2019 5:24 am So you can either wait until AnyDesk provides a fixed version, or apply the quick fix provided.
You are right, your fix is very useful now. I reported the bug to the AnyDesk, so we will see what happens ...

The problem does not show up with systemd ...

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: anydesk update install error

#7 Post by fehlix »

ludolph wrote: Sat Jun 15, 2019 6:07 am I reported the bug to the AnyDesk, so we will see what happens ...
Let's see what they come up with ...
If they need to get help with setting up MX Linux to get their deb tested,
you can point them to this forum (or the German Sub-Forum) ... we would be delighted to assist ... :happy:
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
ludolph
Posts: 78
Joined: Fri Oct 07, 2011 7:38 am

Re: anydesk update install error

#8 Post by ludolph »

fehlix wrote: Sat Jun 15, 2019 8:25 am
ludolph wrote: Sat Jun 15, 2019 6:07 am I reported the bug to the AnyDesk, so we will see what happens ...
Let's see what they come up with ...
If they need to get help with setting up MX Linux to get their deb tested,
you can point them to this forum (or the German Sub-Forum) ... we would be delighted to assist ...
Anydesk team is terribly quiet ... so far no response ... so I think that Linux version of AnyDesk is not a top priority for them.

User avatar
Antediluvian
Posts: 304
Joined: Sun May 20, 2018 7:42 pm

Re: [SOLVED] anydesk update install error

#9 Post by Antediluvian »

For me, 4.0.1 is the current version in the MXPI and I have that installed. Where are you guys getting version 5? Directly from AnyDesk (5.1.1) as a .deb file? Any potential problems with that or should I wait for v5 to get into the MX repos?

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: [SOLVED] anydesk update install error

#10 Post by fehlix »

Antediluvian wrote: Tue Jun 18, 2019 4:59 pm For me, 4.0.1 is the current version in the MXPI and I have that installed. Where are you guys getting version 5? Directly from AnyDesk (5.1.1) as a .deb file? Any potential problems with that or should I wait for v5 to get into the MX repos?
With MX Package Installer Popular Apps -> anydesk, the installer will fetch latest available (5.1.1) from anydesk download website.
So if the update still errors, do apply the temp "Quick Fix" until anydesk will provide a fixed deb.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Locked

Return to “Package Requests/Status - MX 17/18”