我正在尝试在Ubuntu桌面18.04.2上安装vagrant,我得到了以下错误
sudo apt install vagrant
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:
vagrant : Depends: ruby-net-scp (>= 1.1.0) but it is not going to be installed
Depends: ruby-net-sftp but it is not going to be installed
Depends: ruby-net-ssh (>= 1:2.6.6) but it is not going to be installed
Recommends: vagrant-libvirt but it is not going to be installed
E: Unable to correct problems, you have held broken packages.如何解决这个问题?有什么线索吗?
发布于 2019-03-14 17:37:53
让Ubuntu修复未满足的依赖项和损坏的包的命令是
~ sudo apt-get install -f当你运行该命令时,Ubuntu会尝试自我修复。当它完成时,您可以通过再次运行命令来测试它是否工作。
https://stackoverflow.com/questions/55158846
复制相似问题