Uninstalling CyberWatch
Published: October 22, 2021 - 4:26 PM
Good morning,
(Server console used under Windows 10 and WAPT Enterprise 2.1.0.10550 installed on a Debian 10 server, client 2.1 on Ubuntu 21.04).
I am unable to uninstall my CyberWatch Ubuntu agent using the following code:
nor with
It remains stuck during uninstallation.
On the workstation, if I do:
And if I run `apt remove --purge cyberwatch-agent` in parallel on the machine, it returns:
This seems to logically explain the error, but how do we solve it?
(I also tried adding sudo to my package command but no result).
Thanks in advance,
Sincerely, Thomas.
(Server console used under Windows 10 and WAPT Enterprise 2.1.0.10550 installed on a Debian 10 server, client 2.1 on Ubuntu 21.04).
I am unable to uninstall my CyberWatch Ubuntu agent using the following code:
Code: Select all
def uninstall():
run('sudo apt remove --purge cyberwatch-agent')Code: Select all
def uninstall():
apt_remove('cyberwatch-agent')On the workstation, if I do:
Code: Select all
root@PC:~# ps aux | grep -i cyber
root 353952 0.0 0.0 2628 636 ? S 16:16 0:00 /bin/sh -c sudo apt remove --purge cyberwatch-agent
root 353953 0.0 0.0 23312 4428 ? S 16:16 0:00 sudo apt remove --purge cyberwatch-agent
root 353956 2.0 0.2 89980 67688 ? S 16:16 0:00 apt remove --purge cyberwatch-agent
root 354233 0.0 0.0 17784 1848 pts/0 S+ 16:17 0:00 grep --color=auto -i cyberCode: Select all
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 353956 (apt) (I also tried adding sudo to my package command but no result).
Thanks in advance,
Sincerely, Thomas.