I got this error when I tried to update my Vivaldi browser.

Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up vivaldi-stable (2.8.1664.36-1) ...
dpkg: error processing package vivaldi-stable (--configure):
 installed vivaldi-stable package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Do I need to download something or edit a file in Ubuntu?

  • Run sudo apt install -f. This might fix some dependency problems. Then update and reinstall vivaldi. Sep 23 '19 at 12:19
  • 1
    Also, you could try sudo dpkg --configure vivaldi-stable first and see if it works without removing.
    – Raffa
    Sep 23 '19 at 12:54
  • 1
    @Raffa Installing a package with apt (or apt-get) actually runs dpkg under the hood, but has the additional benefit of taking care of package dependencies. Check this question. Sep 23 '19 at 13:31
  • 1
    The 2.8.1664.36-1 package is most likely broken. I had the same issue earlier today, but when I tried just now I got 2.8.1664.36-2 instead and it installed just fine, without running any additional commands. I would add this post as a comment, but I'm not allowed yet, sorry.
    – Zoda
    Sep 23 '19 at 15:36
  • 1
    If you haven't done so already, you can also add the Vivaldi stable and/or beta PPA to your system to get updates automatically. For the stable version, see help.vivaldi.com/article/… The beta is the same, but substituting "beta" for "stable". I have used the beta for several years with no stability issues.
    – Joe
    Sep 26 '19 at 7:37

First, fix any dependency problems by running:

sudo apt install -f

and update:

sudo apt update

Then, uninstall Vivaldi:

sudo apt remove vivaldi-browser

Download the Vivaldi .deb package from the Vivaldi website and save it on your computer.

cd to the directory where you downloaded the .deb package and then install Vivaldi by running:

sudo apt install ./<vivaldi-deb>

In the above command <vivaldi-deb> is the actual name of the Vivaldi .deb package that you downloaded.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.