2012-08-15 124 views
6

当我试图通过以下命令在Ubuntu 11.04安装autoconf的如何在Ubuntu 11.04中安装autoconf?

sudo apt-get install autoconf 

这个错误出现

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
Package autoconf is not available, but is referred to by another package. 
This may mean that the package is missing, has been obsoleted, or 
is only available from another source 

E: Package 'autoconf' has no installation candidate 

如何消除这种误差和安装呢?

+0

我投票结束这个问题作为题外话,因为它不涉及任何代码问题,目前适用于5年过后的分配。 – viraptor 2017-10-02 10:05:09

回答

-1

它为我工作。请确保您通过运行更新:

sudo apt-get update 

这可能是问题。

-2

启用软件源选项卡中的复选框(在系统设置下)

-1

如果有ufw活动。

sudo ufw disable 
sudo apt-get update 
sudo apt-get install autoconf 
sudo ufw enable 
+0

没有明确的理由这样做,这是无用的和潜在的危险。 – viraptor 2017-10-02 10:01:18