1

I'm trying to install libboost 1.38 in Ubuntu 8.10 using a Ubuntu 9.04 repository since it isn't avalable in any of the 8.10 repositories. I'm trying to use an Apt-pinning by adding the following lines of code:

/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

Which gives me the following error when I try to open Synaptic:

E: Invalid record in the preferences file, no Package header
E: _cache->open() failed, please report.
Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
Dan
  • 9,935
  • 15
  • 56
  • 66

1 Answers1

2

There should be no leading space in /etc/apt/preferences entries.

bdonlan
  • 224,562
  • 31
  • 268
  • 324