sudo apt-get install libsqlite3-dev libmysqlclient-dev -y
输出:
After this operation, 10.5 MB of additional disk space will be used.
Err:1 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-0ubuntu2
Could not connect to in.archive.ubuntu.com:80 (2403:8940:ffff::f), connection timed out Could not connect to in.archive.ubuntu.com:80 (103.97.84.254), connection timed out
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/z/zlib/zlib1g-dev_1.2.11.dfsg-0ubuntu2_amd64.deb Could not connect to in.archive.ubuntu.com:80 (2403:8940:ffff::f), connection timed out Could not connect to in.archive.ubuntu.com:80 (103.97.84.254), connection timed out
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
有人知道如何解决这个问题吗
1条答案
按热度按时间lmyy7pcs1#
似乎apt无法连接到正确的存档。也许有一个选项,你可以改变服务器下载。
你也可以试试跑步
sudo apt update
或者sudo apt install libsqlite3-dev libmysqlclient-de --fix-missing
如错误消息所示。编辑:我发现,你可以通过
software sources
(linux mint,也许这也适用于您)