gpt4 book ai didi

boost - Apt-Pinning : Installing libboost from Jaunty repository into Intrepid Ubuntu

转载 作者:行者123 更新时间:2023-12-04 18:42:22 40 4
gpt4 key购买 nike

我正在尝试使用 Ubuntu 9.04 存储库在 Ubuntu 8.10 中安装 libboost 1.38,因为它在任何 8.10 存储库中都不可用。我正在尝试通过添加以下代码行来使用 Apt-pinning:

/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.

最佳答案

/etc/apt/preferences 中不应有前导空格条目。

关于boost - Apt-Pinning : Installing libboost from Jaunty repository into Intrepid Ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1255808/

40 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com