我正在运行ubuntu服务器12.04。我想编译Monetdb on Virtual box,但得到错误,我没有安装pkg-config。当我使用sudo apt-get install pkg-config时,我得到错误:
Package pkg-config is not available, but is referred to by another package. This mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'pkg-config' has no installation candidate.我在14.04上没有这个问题。提前谢谢。
发布于 2016-03-30 18:51:41
通过以下方式修复问题:
sudo rm -rf /var/lib/apt/lists/*
sudo apt-key --keyserver keyserver.ubuntu.com --recv-keys KEY
sudo apt-get update虽然不确定为什么会这样。
https://stackoverflow.com/questions/36306248
复制相似问题