【问题标题】:dpkg-deb: error: 'mysql-apt-config_0.8.14-1_all.deb' is not a Debian format archivedpkg-deb: 错误: 'mysql-apt-config_0.8.14-1_all.deb' 不是 Debian 格式存档
【发布时间】:2021-01-20 14:46:58
【问题描述】:

我运行以下命令来安装mysql服务器

dpkg -i mysql-apt-config_0.8.14-1_all.deb

并得到这个错误:

strong textdpkg-deb: error: 'mysql-apt-config_0.8.14-1_all.deb' is not a Debian format archive
dpkg: error processing archive mysql-apt-config_0.8.14-1_all.deb (--install):
dpkg-deb --control subprocess returned error exit status 2 Errors were encountered while processing: mysql-apt-config_0.8.14-1_all.deb

【问题讨论】:

    标签: mysql debian


    【解决方案1】:

    确保下载的文件是真实格式的mysql。 我的客户在我的国家没有权限从 oracle 访问 Mysql 网站。 当我下载 mysql-apt-config_0.8.14-1_all.deb 时

     wget http://repo.mysql.com/mysql-apt-config_0.8.14-1_all.deb
    

    下载的 HTML 页面错误...。 您应该使用代理或 VPN 进行下载。我用 Tor 浏览器下载了 mysql-apt-config_0.8.14-1_all.deb 并上传到服务器上。

    【讨论】:

    • 你为我节省了很多时间。 F 所有政客和他们的命令!
    猜你喜欢
    • 2023-03-29
    • 1970-01-01
    • 2016-01-07
    • 1970-01-01
    • 2022-12-27
    • 1970-01-01
    • 2018-03-20
    • 1970-01-01
    • 2022-12-21
    相关资源
    最近更新 更多