如果我运行apt-cache policy wine
,我将看到数据包的版本如下
wine:
Installed: 1.6.2-20
Candidate: 1.6.2-20
Version table:
1.8.6-5 0
650 http://mirror.yandex.ru/debian/ testing/main amd64 Packages
*** 1.6.2-20 0
700 http://http.debian.net/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
但是我无法使用安装它apt-get install wine=1.8.6-5
。Apt失败,原因如下:
Err http://mirror.yandex.ru/debian/ testing/main wine all 1.8.6-5
404 Not Found [IP: 213.180.204.183 80]
Err http://mirror.yandex.ru/debian/ testing/main wine64 amd64 1.8.6-5
404 Not Found [IP: 213.180.204.183 80]
Err http://mirror.yandex.ru/debian/ testing/main libwine amd64 1.8.6-5
404 Not Found [IP: 213.180.204.183 80]
Err http://mirror.yandex.ru/debian/ testing/main fonts-wine all 1.8.6-5
404 Not Found [IP: 213.180.204.183 80]
E: Failed to fetch http://mirror.yandex.ru/debian/pool/main/w/wine/wine_1.8.6-5_all.deb 404 Not Found [IP: 213.180.204.183 80]
E: Failed to fetch http://mirror.yandex.ru/debian/pool/main/w/wine/wine64_1.8.6-5_amd64.deb 404 Not Found [IP: 213.180.204.183 80]
E: Failed to fetch http://mirror.yandex.ru/debian/pool/main/w/wine/libwine_1.8.6-5_amd64.deb 404 Not Found [IP: 213.180.204.183 80]
E: Failed to fetch http://mirror.yandex.ru/debian/pool/main/w/wine/fonts-wine_1.8.6-5_all.deb 404 Not Found [IP: 213.180.204.183 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
据我所知,镜子中没有这样的版本。还有另一种,不同于我尝试过的一种。
那么为什么会发生这种情况以及如何解决呢?
就像它的名字所说的那样,apt-cache
它将向您显示来自程序包数据本地缓存的信息。也就是说,它认为镜像仍然具有版本1.8.6-5,因为您已经很长时间没有更新该缓存了。
如果在软件包下载期间遇到404错误,则需要apt-get update
刷新此缓存,这也表明可能也该升级所有软件包了。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句