On Tue, Aug 30, 2005 at 01:04:51PM -0400, Ben Bettin wrote: > Properly setup your /etc/apt/preferences file to include JUST that > package from unstable. > > When Sarge was in testing I wanted to use the firestarter package from > unstable. This was my /etc/apt/preferences file for using all > packages from testing, and the single package from unstable: > > Package: * > Pin: release a=testing > Pin-Priority: 900 > > Package: firestarter > Pin: release a=unstable > Pin-Priority: 1100 > > Package: * > Pin: release o=Debian > Pin-Priority: -10 > > I read about how to do this in the reference documentation at > debian.org. I don't recall which document exactly, it's been a while. > It is dangerous to mix stable/testing/unstable. Mixing testing/unstable is not quite so bad. However, if you notice, the original question was how to get the logrotate from Sid into Sarge. Currently, there are still many places where Sarge and Sid coincide. However, as time passes, the divergence will increase and make things more challenging. For example, as soon as a new version of logrotate is uploaded that depends on libc6 that is in Etch or Sid, things will get very complex.
The best way to handle this is to properly backport the package(s) and pay attention to updates as they enter Sid. That way you can selectively grab the ones you want and be assured that they will be compiled against the libraries you already have installed, instead of pulling in new libraries and other dependencies. Check out my website for a HOWTO on customizing Debian packages, including backporting. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto
pgpJl6XzPQAue.pgp
Description: PGP signature