我正在做
lz@blade:~$ sudo apt-get build-dep gawk
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
builddeps:gawk : Depends: libreadline-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
这是我的消息来源:
deb http://br.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://br.archive.ubuntu.com/ubuntu/ bionic main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ bionic multiverse main universe restricted
deb http://br.archive.ubuntu.com/ubuntu/ bionic universe
deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
破损的包裹有哪些?
答案1
software-properties-gtk
将下载源更改为主服务器。sudo apt update && sudo apt-get clean
然后重试。
忘记了,并解锁其他来源deb-src