2009-08-10 4 views
0

8.10のリポジトリで使用できないため、Ubuntu 8.10にUbuntu 9.04リポジトリを使用してlibboost 1.38をインストールしようとしています。私は、次のコード行を追加することにより、アプトピニングを使用しようとしている:Apt-Pinning:JauntyリポジトリからlibboostをIntrepid Ubuntuにインストールする

/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 

私はシナプスを開こうとする私に、次のエラーを与える:

E: Invalid record in the preferences file, no Package header 
E: _cache->open() failed, please report. 

答えて

1

何の大手があってはなりません/etc/apt/preferencesエントリーのスペース。

+0

うわー...私が思ったより簡単な方法。ありがとう! – Dan

関連する問題