:: Re: [DNG] package listing
Startseite
Nachricht löschen
Nachricht beantworten
Autor: KatolaZ
Datum:  
To: dng
Betreff: Re: [DNG] package listing
On Sat, Jun 17, 2017 at 01:55:57AM +1000, Tom wrote:
> Interesting. Do you know how often it gets updated? Is it on an automatic
> schedule?
>


The list of all available packages in the repos you have in
/etc/apt/sources.list can be found in /var/lib/apt/lists. To visualise
that list (without version numbers) you can use something like:

$ grep "^Package: " /var/lib/apt/lists/*_Packages | cut -d " " -f 2 | sort

while if you also want the version numbers, you could use the only
slightly more complicated:

$ grep -E "^(Package: |Version: )" /var/lib/apt/lists/*_Packages | cut -d " " -f 2 | sed 'N;s/\n/ /'

If you are interested in which versions of a specific package are
available in each of the repos you have specified in
/etc/apt/sources.list just use

$ apt-cache policy PACKAGENAME

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]