My plan is like this:
Say I'm running 12.04 LTS, life is good, but its packages guadually become old. Then 12.10 is out, I add a deb-src
line in my sources.list, and backport (download source, build, install) selected packages from the new release. Since the new release is supported, I should get security updates, on which case I will backport the updated versions. The system is still stable, and I get the new packages that I want, even with security updates (which I don't get if I go the Debian route and backport from testing).
Now the questions:
Is this plan as good as I think it is? I think it's the best I can get if I want maximum stability and security on the condition that I get these new packages I absolutely need. Right? Wrong?
If it's a good plan, how to do it in practice? In an ideal world, I think I should be able to just
apt-get install something
, and if the version with the highest priority comes from adeb
line, install the package; if it comes from adeb-src
line, download source, build, and install. But apparently the reality isn't so rosy, not only do I have to do extra work building and installing a source package, but I also cannot find a way to tell when there is a new version of the package from that repository! When I doapt-cache policy something
, only thedeb
lines are listed. Why are source repositories discriminated against? How can I track a source repository and install upgrades as they come out?
apt-cache showsrc
is the source equivalent ofapt-get policy
, I suppose. At least I don't know of one closer. And building backports is perfectly reasonable. See my question/answer on unix.sx. As how to know when there is more recent source package available, that is a good question. I don't have an answer, but would be interested in one. I imagine you could program a tool in python or perl or whatever using the APT api without too much trouble, though.not reproducible
in lieu of abandoned question which isn't an option.