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

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

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

Regards, KDSys