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

Re: Query installed packages for source branch?



On Wed, Nov 14, 2001 at 09:38:46AM -0800, Patrick Eaton wrote:
> I want to query my system to find out which installed packages came
> from stable, testing, and unstable branches.  Or perhaps more
> appropriately, which branch of the repository do the installed
> packages reside in now (regardless of which branch they were in when
> they were installed).  Is this possible?

It is indeed, if you're running apt >= 0.5. Try 'apt-cache policy
<packagename>'.

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



Reply to: