%20%E5%BE%9E%E5%AD%98%E6%AA%94%E5%AE%89%E8%A3%9D%E8%88%8A%E8%BB%9F%E9%AB%94%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 檔案)
我嘗試編輯我的來源.list使用舊的來源網址但沒有任何變化,我收到了幾個錯誤,例如:
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
然後我就可以安裝我的舊套件了:)