损坏的软件包错误安装 phpmyadmin
Broken packages error installing phpmyadmin
我正在手动将一个 wordpress 站点复制到一个 digitalocean 服务器,并且需要按照这里的技术方法中的描述导入数据库:
http://wpencyclopedia.com/enc/index.htm?moving-wordpress.htm
看来需要 phpmyadmin 来导入数据库(也就是说,我不能 ftp 通过 .sql 文件?)
我安装了phpmyadmin,导入不成功,所以我卸载了,现在不能再安装了。我收到这个错误。考虑重新开始 Ubuntu.
zhellman@dev-website:~$ sudo apt-get install phpmyadmin
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:
phpmyadmin : Depends: php but it is not installable
Depends: php-cli but it is not installable
Depends: php-mysql but it is not installable
Depends: php-json but it is not installable
Depends: php-mbstring but it is not installable
Depends: php-xml but it is not installable
Recommends: php-gd but it is not installable
Recommends: php-bz2 but it is not installable
Recommends: php-zip but it is not installable
Recommends: php-tcpdf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
It looks like phpmyadmin is needed to import the database (that is, I can't ftp over the .sql file?)
据我所知,所有 Digital Ocean droplet 都是功能齐全的 VPS 实例,因此您可以获得完全访问权限来做任何您想做的事情。如果你想FTP/SFTP/SCP一个文件到本地文件系统,用mysql
命令行客户端导入,那应该没问题。
此外,您可以使用 phpMyAdmin 的“UploadDir”功能上传文件(同样通过 SCP、SFTP、FTP 或任何其他文件传输方式prefer),然后直接通过phpMyAdmin导入。既然你有命令行访问权限,我不会亲自去做,但你可以。
关于损坏的包,我最有可能想到的是你可能修改了apt源列表,引入了不兼容的依赖项。我建议选择一个版本并使用它提供的包。您也可以直接下载 phpMyAdmin 并使用 Quick Install guide.
解压缩到您的 Web 根目录中
我正在手动将一个 wordpress 站点复制到一个 digitalocean 服务器,并且需要按照这里的技术方法中的描述导入数据库: http://wpencyclopedia.com/enc/index.htm?moving-wordpress.htm
看来需要 phpmyadmin 来导入数据库(也就是说,我不能 ftp 通过 .sql 文件?)
我安装了phpmyadmin,导入不成功,所以我卸载了,现在不能再安装了。我收到这个错误。考虑重新开始 Ubuntu.
zhellman@dev-website:~$ sudo apt-get install phpmyadmin 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:phpmyadmin : Depends: php but it is not installable Depends: php-cli but it is not installable Depends: php-mysql but it is not installable Depends: php-json but it is not installable Depends: php-mbstring but it is not installable Depends: php-xml but it is not installable Recommends: php-gd but it is not installable Recommends: php-bz2 but it is not installable Recommends: php-zip but it is not installable Recommends: php-tcpdf but it is not going to be installed E: Unable to correct problems, you have held broken packages.
It looks like phpmyadmin is needed to import the database (that is, I can't ftp over the .sql file?)
据我所知,所有 Digital Ocean droplet 都是功能齐全的 VPS 实例,因此您可以获得完全访问权限来做任何您想做的事情。如果你想FTP/SFTP/SCP一个文件到本地文件系统,用mysql
命令行客户端导入,那应该没问题。
此外,您可以使用 phpMyAdmin 的“UploadDir”功能上传文件(同样通过 SCP、SFTP、FTP 或任何其他文件传输方式prefer),然后直接通过phpMyAdmin导入。既然你有命令行访问权限,我不会亲自去做,但你可以。
关于损坏的包,我最有可能想到的是你可能修改了apt源列表,引入了不兼容的依赖项。我建议选择一个版本并使用它提供的包。您也可以直接下载 phpMyAdmin 并使用 Quick Install guide.
解压缩到您的 Web 根目录中