1

当我sudo apt-get install flex在 Ubuntu 10.4 LTS 中输入终端时,会显示以下消息并终止进程:

reading package lists...done

building dependency tree 

reading state information..done

package flex is not available ....but is referred to by another package

this may mean that package flex is missing, has been obsoleted or is only available from another source
E: package flex has no installation candidate
4

1 回答 1

1

您的软件包可能不是最新的,因此只需运行:

sudo apt-get update

执行此命令后,再次运行您的命令。这对我有用。

于 2019-01-22T05:32:18.107 回答