How to solve dpkg error processing package opera-stable error on Ubuntu

Sometimes when you update or install any application in Ubuntu you will get a opera based error. This will happen because of the opera update problem. You can solve this easily via the below method. Complete error will look like below in your terminal.

dpkg: error processing package opera-stable (–configure):
installed opera-stable package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
opera-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)

Solve dpkg: error processing package opera-stable error on linux

Open your terminal application (ctrl+alt+t) and run below commands one by one. Enter your Ubuntu user password if needed during this process.

sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old
sudo mkdir /var/lib/dpkg/info
sudo apt-get update && sudo apt-get -f install
sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old
sudo rm -rf /var/lib/dpkg/info
sudo mv /var/lib/dpkg/info_old /var/lib/dpkg/info

That’s all. Now try to install some application on your system and you didn’t get any opera browser error.

Also Read:  How to Set Your Favorite Browser as Default through Terminal in Ubuntu

Watch Video

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply