[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem pinning openoffice from lenny-backports



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim Cutts wrote:

<snip>

> Would it not have been simpler just to have done:
> 
> aptitude install openoffice.org/lenny-backports

That is what in effect I did, but with a slightly different command:
"aptitude -t lenny-backports install openoffice.org", which was successful.

> I don't think pinning is necessary here.

No, it is not; but I thought I would take the opportunity to learn how
to pin.  Obviously I failed.

I did however want to be able to have backport packages upgraded
automatically in accordance with the following from the backports
instruction page:

 If you want to get your packages from backports upgraded automatically
 the following entry in /etc/apt/preferences should be sufficient:

	Package: *
	Pin: release a=lenny-backports
	Pin-Priority: 200

After I got OpenOffice.org version 3 running I put those three lines --
and *only* those three lines -- in file /etc/apt/preferences.  Then when
I ran aptitude update I got back the same error message:

 E: Invalid record in the preferences file, no Package header

So I still don't know how to pin, and I would still like to know what I
am doing wrong, in particular so that I can have backport packages
upgraded automatically.

Ken Heard


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknYp0sACgkQlNlJzOkJmTdzywCaAzt33fQuUTVAZTM09Lv/1HBU
+KEAnRjKt8LWw78AmH1BfbF5qA6rcy+M
=VvRB
-----END PGP SIGNATURE-----

Reply to: