如何在 Ubuntu 18.04.1 上安装 Midnight Commander?

如何在 Ubuntu 18.04.1 上安装 Midnight Commander?

我无法mc在 Ubuntu 18.04.1 上安装 Midnight Commander()。

/etc/apt/sources.list文件:

deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main

这是我尝试安装时收到的答复:

$ sudo apt-get install mc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mc 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

这没有帮助(#1):

$ sudo apt-get update

这没有帮助(#2):

$ sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
sudo apt-get install mc

http://de.archive.ubuntu.com例如,将镜像更改为 也无济于事。

答案1

您需要启用universe存储库:

sudo add-apt-repository universe

然后安装mc

sudo apt 安装 mc

相关内容