Ubuntu 16.04 严重错误

Ubuntu 16.04 严重错误

我尝试使用软件中心安装 Zoom,但安装失败。然后我尝试使用软件中心安装 gdebi,但也没有安装成功。然后我尝试在终端中安装 gdebi,并收到此消息

The package skypeforlinux needs to be reinstalled, but I can't find an archive for it

我研究了这个问题,尝试了各种解决方案,太多了,记不清了,但都不起作用。现在当我去更新管理器时,我收到了这条消息

apt transaction returned result exit-failed

我现在有两个问题:
1) 无法安装软件;
2) 无法更新 ubuntu。这个问题能解决吗?


~$ sudo apt update 
Hit:1 archive.canonical.com/ubuntu xenial InRelease 
Hit:2 ie.archive.ubuntu.com/ubuntu xenial InRelease 
Get:3 ie.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] 
Get:4 ie.archive.ubuntu.com/ubuntu xenial-security InRelease [109 kB] 
Get:5 ie.archive.ubuntu.com/ubuntu xenial-updates/main Sources [347 kB] 
Get:6 ie.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,120 kB] 
Get:7 ie.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [907 kB]
Get:8 ie.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [795 kB] 
Get:9 ie.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [721 kB] 
Fetched 4,108 kB in 2s (1,637 kB/s) 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
35 packages can be upgraded. Run 'apt list --upgradable' to see them. 

~$ sudo apt upgrade 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done
E: The package skypeforlinux needs to be reinstalled, but I can't find an archive for it.

答案1

首先删除 skypeforlinux 包

sudo dpkg --remove --force-all skypeforlinux

然后获取所有更新并安装它们

sudo apt-get update
sudo apt-get dist-upgrade

然后继续安装 Zoom。

相关内容