Unable to correct problems, you have held broken packages

 Ubuntu

Unable to correct problems, you have held broken packages

 

 

/etc/apt/sources.list 被破坏  需要修复   (屏蔽 系统更新的时候 会修改sources.list   导致此问题,所以关闭更新后 需要修改sources.list )

 

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

 

或者尝试 

sudo apt update

sudo apt upgrade (可以不用执行)

 

posted @ 2020-04-19 22:53  sinferwu  阅读(700)  评论(0编辑  收藏  举报