我买了一台 System76 笔记本电脑。但是,每次我尝试安装某些东西时,都会出现此错误(或类似错误):
mike@mike-Lemur:~$ sudo apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.47.0-1ubuntu2.2).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgcc1:i386 : Depends: libc6:i386 (>= 2.2.4) but it is not going to be installed
libgcrypt20:i386 : Depends: libc6:i386 (>= 2.15) but it is not going to be installed
libgpg-error0:i386 : Depends: libc6:i386 (>= 2.15) but it is not going to be installed
liblzma5:i386 : Depends: libc6:i386 (>= 2.4) but it is not going to be installed
libpcre3:i386 : Depends: libc6:i386 (>= 2.4) but it is not going to be installed
libselinux1:i386 : Depends: libc6:i386 (>= 2.8) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
我该如何解决这个问题?
答案1
在您的系统上运行此命令:
sudo apt-get update && sudo apt-get -f install && sudo apt-get dist-upgrade