Updating or installing applications on Ubuntu may result in opera-based errors. This is due to an Opera update issue. This can be easily solved by the following method. The full error looks like this in your terminal:
dpkg: Error handling package opera-stable (–configure):Post-install script subprocess of installed opera stable package returned error exit status 1An error occurred during processing:Opera stabilityE: Subprocess /usr/bin/dpkg returned error code (1)
dpkg resolution: Error handling package opera-stable error on Linux
Open a terminal application (Ctrl + Alt + T) and run the following commands one by one. If necessary, enter the Ubuntu user password 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. Then try installing the application on your system. No opera browser error occurred.
READ: How to install OmniaWrite on Ubuntu-A text editor for authors and writers
It’s a sequel.