因為家中的電腦用 56k 撥接的, 所以想從別台電腦抓下來的 .deb檔, 拿回家用,
我把那台電腦上 /var/cache/apt/archives/*.deb 全copy 回家, 放在家裡電腦的
vol2/deb/ 目錄下, 請問一下我的 source.list 該如何寫?
看了無痛法, 是這樣用
deb file:/home/moto/debian stable main contrib non-free
那我就設成
deb file:/vol2/deb unstable main contrib non-free
可是這樣就出現錯誤, 我想是不是因為我的 deb 檔都放在同一目錄,
Failed to fetch file:/vol2/deb/dists/unstable/main/binary-i386/Packages File not found
Failed to fetch file:/vol2/deb/dists/unstable/contrib/binary-i386/Packages File not found
Failed to fetch file:/vol2/deb/dists/unstable/nonfree/binary-i386/Packages File not found
那我就改成
deb file:/vol2/deb
可是我還是錯了
E: Malformed line 1 in source list /etc/apt/sources.list (dist)