Re: Which installed pkg belongs to which release?
On Fri, 25 Apr 2003 10:58:20 +0200 Thomas Gebhardt wrote:
> Hi,
>
> Is there an easy and recommended way to scan the list of installed
> packages against an apt-get source.list and get a comprehensive
> list of all installed packages, each assigned to (at least) an
> apt-get source or marked as "unavailable"?
Not that I know of. I managed to produce that list by comparing the list
of installed packages (in /var/lib/dpkg/status or output of dpkg -l '*')
with all the *Packages files found under /var/lib/apt/lists, that
contain all the packages in the distributions mentioned in the
sources.list file. I can send you my script if you want it, it takes a
*long* time to run on my AMD 300 MHz machine but produces very
satisfactory results.
Example output:
Started Fri, 25 Apr 2003 15:22:22 +0100
Finished Fri, 25 Apr 2003 17:44:44 +0100
(unknown): 57 packages
stable: 453 packages
testing: 985 packages
unstable: 263 packages
unstable alsaplayer-common 0.99.74-3
unstable amor 4:3.1.1-1
...
testing aalib1-dev 1.4p5-17
testing abcde 2.1.1-1 >> 2.1.2-1(unstable)
testing acm 5.0-11
testing aconnectgui 0.9.0rc2-1-2
testing adduser 3.49 >> 3.50(unstable)
...
testing zsh-doc 4.0.6-30
stable abcmidi 17-1
stable alsaconf 0.4.3b-4 >> 0.9.2-6(unstable)
stable alsaplayer 0.99.59-5 >> 0.99.74-3(unstable)
...
stable zip 2.30-5
??? abiword 1.1.3+cvs.2003.02.12-1 ---> 1.9.0+cvs.2003.04.20-1(unstable)
??? abiword-common 1.1.3+cvs.2003.02.12-1 ---> 1.9.0+cvs.2003.04.20-1(unstable)
??? abiword-plugins 1.1.3+cvs.2003.02.12-1 ---> 1.9.0+cvs.2003.04.20-1(unstable)
...
??? xpdf 2.02-1 ---> 2.02-2(unstable)
??? xpdf-common 2.02-1 ---> 2.02-2(unstable)
??? xpdf-reader 2.02-1 ---> 2.02-2(unstable)
??? xpdf-utils 2.02-1 ---> 2.02-2(unstable)
--
Carlos Sousa
http://vbc.dyndns.org/
Reply to: