i am geeting error when i upgrade in my ubuntu terminal after updating. can you help me to fix that error.

Posted January 31, 2020 226 views
Ubuntu 18.04

root@xxxx:~$ sudo apt-get upgrade
E: Inavlid operation upgrade
root@xxxx:~$ sudo apt-get dist-upgrade
E: Inavalid operation dist-upgrade

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @sravanipalem,

Try to execute the update the following way first

sudo apt-get update
sudo apt-get upgrade

Usually this error happens when you miss type the apt command, which doesn’t seem to be case here however make sure you haven’t actually switched your keyboard language and miss typed any of the characters.