When I run any command in my terminal, I get the following response:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
So I ran the command sudo dpkg --configure -a
. My terminal was stuck on:
Running mtxrun --generate. This may take some time... done.Pregenerating ConTeXt MarkIV format. This may take some time...
After waiting an entire day, I stopped it and ran the command again and now I get
kdsouza@bsc-848851112:~$ sudo dpkg --configure -a[sudo] password for kdsouza: dpkg: error: dpkg frontend lock was locked by another process with pid 5312Note: removing the lock file is always wrong, and can end up damaging thelocked area and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ>.
What should I do to fix this issue?