:: Re: [DNG] package listing
Página Principal
Delete this message
Reply to this message
Autor: Hendrik Boom
Data:  
Para: dng
Assunto: Re: [DNG] package listing
On Fri, Jun 16, 2017 at 05:27:30PM +0100, KatolaZ wrote:
> 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


I'm often iterested in the packages that are in the repos I have *not* specified
in sources.list

-- hendrik