![Debian(Jessie)从档案库安装旧软件包(如 Lenny 或 Squeeze)](https://linux22.com/image/1503020/Debian%EF%BC%88Jessie%EF%BC%89%E4%BB%8E%E6%A1%A3%E6%A1%88%E5%BA%93%E5%AE%89%E8%A3%85%E6%97%A7%E8%BD%AF%E4%BB%B6%E5%8C%85%EF%BC%88%E5%A6%82%20Lenny%20%E6%88%96%20Squeeze%EF%BC%89.png)
我尝试了很多搜索,但还是找不到解决方案,这是我的问题。
我的服务器是使用 Jessie (8) 发行版的 Debian,但我必须安装一个旧软件包(现已存档),该软件包可用于 Lenny (5) 等旧发行版
包名称是:ttf2pt1 可以被找寻到这里(官方)或这里(Debian 档案)
我尝试编辑我的来源列表使用旧的源 URL 但没有任何变化,我收到了几个错误,例如:
Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package ttf2pt1
E: The value 'lenny' is invalid for APT::Default-Release as such a release is not available in the sources E: The value 'lenny' is invalid for APT::Default-Release as such a release is not available in the sources
安装旧包到实际稳定分布? 谢谢
答案1
最后我独自找到了解决方案。
我确实要编辑我的源列表
但我应该补充一点:deb http://archive.debian.org/debian lenny main
然后apt-get update
然后我就可以安装我的旧包了:)