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

Re: apt-cache stable/testing



On Wed, Apr 09, 2003 at 12:30:19PM +0200, David Fokkema wrote:
> I have a server running stable, but occasionally I want to get a package
> from testing that is not yet included in stable. So, I have both stable
> and testing in my sources list and default-release stable in my apt.conf.

I very much recommend building newer packages from source instead. If
you're installing packages from testing these days, they'll likely
depend on a newer libc6, and at that point you might as well be running
testing.

> When I run apt-cache to search for a package, I want to know whether the
> results are from stable or testing, or from a locally compiled and
> installed package. Does someone know how to do this?

Use 'apt-cache policy <package>'.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: