繁体   English   中英

无法在Ubuntu Server 18.04上找到包phpmyadmin

[英]Unable to locate package phpmyadmin on Ubuntu Server 18.04

每当我尝试在我的ubuntu服务器18.04上安装phpmyadmin时,我都会收到以下错误

sudo apt install phpmyadmin php-mbstring php-gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package phpmyadmin
E: Unable to locate package php-mbstring
E: Unable to locate package php-gettext

我发现的大多数线程建议使用apt重新更新和升级,但这样做没有做任何事情,我也在第四行得到了这个错误

Err:5 http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]
Hit:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:7 http://download.webmin.com/download/repository sarge Release
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu bionic Release' does not have a Release file.

有人可以帮忙吗?

在Ubuntu Server 18.04上,apt源列表相当简短且安全。 如果要安装phpmyadmin或autossh或主源列表中不支持的其他数据包的数量,则应调整源列表。

$ sudo apt edit-sources

您可以使用以下列表:

deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse

更多信息可以在这里找到: handyman.dulare.com/ubuntu-18-04-bionic-unable-to-locate-package ...

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM