[Gllug] useful script (maybe) for Debian users

Stig Brautaset stigbrau at start.no
Sun Sep 22 23:32:19 UTC 2002


On Sep 23 2002, Paul was overheard saying:
> > My Debian system is mostly Woody, but some packages are from Sid.  I
> > couldn't find anywhere a tool that could tell me which packages on my
> > system are from Woody and which are from Sid, so I ended up writing one.
[snip]

> Packages from stable:  apt-show-versions -a | grep uptodate\ stable
> Packages from testing:  apt-show-versions -a | grep uptodate\ testing
> Packages from unstable:  apt-show-versions -a | grep uptodate\ unstable

ITYM: apt-show-versions -a | grep unstable\ uptodate

> Packages which could/should be upgraded:
>   apt-show-versions -u
> 
> Upgrade all upgradable packages across all versions (stable/testing/unstable):
>   apt-get install `apt-show-versions -u -b`

*boggle*

I've been looking for something like this for ages, and ended up writing
my own today.  Oh well. It was a nice exercise anyway, and if I had to
go through all the effort of writing my own program before anybody told
me about apt-show-versions then so be it :P

I know about it now and it looks like a nice tool. 


Stig
-- 
brautaset.org

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list