当我尝试更新我的 Vivaldi 浏览器时出现此错误。
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:
vivaldi-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)
我需要在 Ubuntu 中下载某些内容或者编辑文件吗?
答案1
首先,通过运行以下命令修复所有依赖问题:
sudo apt install -f
并更新:
sudo apt update
然后,卸载 Vivaldi:
sudo apt remove vivaldi-browser
下载从 Vivaldi 网站下载 Vivaldi .deb 包并将其保存到您的计算机上。
cd
到您下载 .deb 包的目录,然后通过运行以下命令安装 Vivaldi:
sudo apt install ./<vivaldi-deb>
上面的命令<vivaldi-deb>
是您下载的 Vivaldi .deb 包的实际名称。