After updating GNOME to 3.20.2 I had some problems with my touchpad so in that confusion I mistakenly deleted /usr/bin/touch and after that I even became more stupid and deleted /bin/touch.
Now after this I can't seem to install any of the programs. Here's the error generated in installing a program..
user1@pqrx:~$ sudo apt-get install gir1.2-gtop-2.0 [sudo] password for user1: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: gir1.2-gtop-2.0 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/54.6 kB of archives. After this operation, 104 kB of additional disk space will be used. Selecting previously unselected package gir1.2-gtop-2.0:amd64. (Reading database ... 351267 files and directories currently installed.) Preparing to unpack .../gir1.2-gtop-2.0_2.34.0-1_amd64.deb ... Unpacking gir1.2-gtop-2.0:amd64 (2.34.0-1) ... Setting up gir1.2-gtop-2.0:amd64 (2.34.0-1) ... sh: 1: touch: not found update-kali-menu: error: Can't open /var/lock/kali-menu: No such file or directory E: Problem executing scripts DPkg::Post-Invoke '[ ! -x /usr/share/kali-menu/update-kali-menu ] || /usr/share/kali-menu/update-kali-menu wait_dpkg' E: Sub-process returned an error code
Any help will be much appreciated.