实际上,我正在尝试安装 Botan 1.10.0 作为 Botan 1.10.0 的依赖项,但出现错误
$ sudo apt-get install -y libbotan-1.10-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libbotan-1.10-0
E: Couldn't find any package by glob 'libbotan-1.10-0'
E: Couldn't find any package by regex 'libbotan-1.10-0'
答案1
您正在尝试安装旧版本,该版本在存储库中不再可用。https://packages.ubuntu.com/search?keywords=botan<-此链接显示当前可用的版本。
sudo apt install botan
应该为您的 Ubuntu 版本(和所有依赖项)安装适当的版本。