我正在尝试使用Ubuntu 9.04存储库在Ubuntu 8.10中安装libboost1.38,因为它在任何8.10存储库中都不可用。我试图通过添加以下几行代码来使用Apt- trying:
/etc/apt/sources.list:
deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe
/etc/apt/preferences (Which I had to create):
Package: *libboost*
Pin: release a=jaunty
Pin-Priority: 900当我尝试打开Synaptic时,会出现以下错误:
E: Invalid record in the preferences file, no Package header
E: _cache->open() failed, please report.发布于 2009-08-10 16:26:56
/etc/apt/preferences条目中不应该有前导空格。
https://stackoverflow.com/questions/1255808
复制相似问题