Anydesk Update Error (5.5.5)

Anydesk Update Error (5.5.5)

I just run the update from the terminal after download the anydesk from its official site with this command :

myubuntu# sudo dpkg -i anydesk-

It result an error :

(Reading database ... 268522 files and directories currently installed.)
Preparing to unpack anydesk_5.5.5-1_amd64.deb ...
/var/lib/dpkg/info/anydesk.prerm: line 13: /etc/init.d/anydesk: Permission denied
/var/lib/dpkg/ line 11: /etc/init.d/anydesk: No such file or directory
Unpacking anydesk (5.5.5) over (5.5.5) ...
Setting up anydesk (5.5.5) ...
 System start/stop links for /etc/init.d/anydesk already exist.
/var/lib/dpkg/info/anydesk.postinst: line 23: /etc/init.d/anydesk: Permission denied
dpkg: error processing package anydesk (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Errors were encountered while processing:

And I searched for the solution, and found one in here.

sudo chmod -R 755 /usr/share/anydesk
sudo chmod 755 /var/lib/dpkg/info/anydesk.p*
sudo dpkg --configure anydesk
sudo apt-get install -f

And walah, the anydesk is updated now.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.