无法解决问题,因为没有任何帮助。尝试安装mysql但找不到包。 gedit 和其他一些包看起来一样。
首先存储库带有子域“by”。 (由于区域设置)。但是我将它们更改为没有子域的主服务器。也许这引起了问题?
我使用 xubuntu 16.04 xenial xerus。
source.list 是
# deb cdrom:[Xubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719)]/ xenial main multiverse restricted universe
deb http://archive.ubuntu.com/ubuntu xenial main restricted
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
deb http://archive.ubuntu.com/ubuntu xenial universe
deb http://archive.ubuntu.com/ubuntu xenial-updates universe
deb http://archive.ubuntu.com/ubuntu xenial multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
deb http://archive.ubuntu.com/ubuntu xenial-security universe
deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
apt-get update
, apt-get upgrade
没有帮助
原文由 Maryja Piaredryj 发布,翻译遵循 CC BY-SA 4.0 许可协议
存储库中没有名称为“mysql”的包。
如果你想连接其他mysql服务器,你需要mysql-client包:
sudo apt-get install mysql-client
。如果要托管数据库,则需要 mysql-server 软件包:
sudo apt-get install mysql-server
。安装指南: https ://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04