Suppose you tried to install latex on Ubuntu 22 with
sudo apt-get install texlive-full
sudo apt-get install texmaker
it get struck in first command only.If you try to kill it with Ctrl +C it
wont work.
we get following message
Running mtxrun --generate. This may take some time... done.
Pregenerating ConTeXt MarkIV format. This may take some time...
Now you try to run
apt-get autoremove
or similar apt-get command to uninstall the problematic package
we get following message
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure
-a' to correct the problem.
How to fix this problem ?
removed these packages using dpkg -r.
sudo dpkg -r context-modules.
sudo dpkg -r context.
sudo dpkg -r texlive-full.
Now again run
dpkg --configure -a
This time it does not get stuck .
No comments:
Post a Comment