我是新人,所以请放轻松。
我刚刚将 ubuntu 安装为 Windows 10 旁边的双启动(Ubuntu 20.10 是我当前的版本),我正在尝试安装 vim。
我已经尝试过
sudo apt-get update
,然后sudo apt-get install vim
,但返回:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vim 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 'vim' has no installation candidate
当我尝试使用 vim 它返回:
Command 'vim' not found, but can be installed with:
sudo apt install vim # version 2:8.2.0716-3ubuntu2, or
sudo apt install vim-tiny # version 2:8.2.0716-3ubuntu2
所以我尝试安装 vim-tiny,它返回:
Building dependency tree
Reading state information... Done
vim-common is already the newest version (2:8.2.0716-3ubuntu2).
vim-common set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
然而,情况丝毫没有改变。
尝试安装 vim-gnome 或任何其他 vim 软件包会导致错误,例如我尝试安装 vim 时的错误
我尝试过sudo apt-get update
,然后sudo apt-get upgrade
重新尝试一切,但没有任何改变。
任何帮助将不胜感激(关于问题以及是否应该更改我的问题格式)