我sudo apt-get install filezilla
在 Lubuntu 上运行,但它返回说无法找到包。具体来说E: Unable to locate package filezilla3
我尝试过更新、清除并再次更新,但还是找不到。找不到有此问题的人。FileZilla 建议尝试使用包管理器来获取 Filezilla。我尝试了他们的二进制文件,但它要求我选择一些东西来运行它。我在 apt-get update 期间确实收到几行信息,说它无法启动连接。
哦,我尝试用二进制文件 ./filezilla,它说找不到文件。
我正在使用 Lubuntu 19.04 版本。
apt-get update 的输出
Hit:1 http://security.ubuntu.com/ubuntu disco-security InRelease
Err:2 http://us.archive.ubuntu.com/ubuntu disco InRelease
Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::19). - connect (101: Network is unreachable) Could not connect to us.archive.ubuntu.com:80 (91.189.91.23), connection timed out Could not connect to us.archive.ubuntu.com:80 (91.189.91.26), connection timed out
Err:3 http://us.archive.ubuntu.com/ubuntu disco-updates InRelease
Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::19). - connect (101: Network is unreachable)
Err:4 http://us.archive.ubuntu.com/ubuntu disco-backports InRelease
Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::19). - connect (101: Network is unreachable)
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/disco/InRelease Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::19). - connect (101: Network is unreachable) Could not connect to us.archive.ubuntu.com:80 (91.189.91.23), connection timed out Could not connect to us.archive.ubuntu.com:80 (91.189.91.26), connection timed out
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/disco-updates/InRelease Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::19). - connect (101: Network is unreachable)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/disco-backports/InRelease Cannot initiate the connection to us.archive.ubuntu.com:80 (2001:67c:1562::19). - connect (101: Network is unreachable)
W: Some index files failed to download. They have been ignored, or old ones used instead.
非常感谢您的帮助。
答案1
家庭网络出现问题,特别感谢解决方案的评论:sudo apt-get -o Acquire::ForceIPv4=true update
强制 apt-get 使用 IPv4。