无法升级操作系统安装(MATE);请问如何解决?

无法升级操作系统安装(MATE);请问如何解决?

我见过类似的问题,但无法完全解决问题......

我想这可能很容易......

W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3

非常感谢!

答案1

最简单的解决方案是删除vivaldi.list和:

sudo rm /etc/apt/sources.list.d/vivaldi.list

然后运行

sudo apt-get update
sudo apt-get upgrade

相关内容