Web lists-archives.com

Re: apt pinning: find out from which system version is a package




apt-show-versions script are useful as well.
apt-show-versions is a package itself.


Toni Mas

Missatge de Francisco M Neto <fmneto@xxxxxxxxxxxxx> del dia dl., 29
d’abr. 2019 a les 23:10:
>
> Greetings!
>
>
> On Mon, 2019-04-29 at 05:30 +0200, Emanuel Berg wrote:
> > But is there a way to find out/confirm from
> > which release is a certain pack?
>
>         You're looking for apt-cache policy.
>
>         Example:
>
> ==========================
>
> $ apt-cache policy gnome-core
> gnome-core:
>   Installed: 1:3.30+1
>   Candidate: 1:3.30+1
>   Version table:
>  *** 1:3.30+1 900
>         900 http://sft.if.usp.br/debian buster/main amd64 Packages
>         800 http://sft.if.usp.br/debian sid/main amd64 Packages
>         100 /var/lib/dpkg/status
>      1:3.22+3 400
>         400 http://sft.if.usp.br/debian stretch/main amd64 Packages
>
> ==============================
>
>
> --
> []'s,
>
> Francisco M Neto <fmneto@xxxxxxxxxxxxx>
>
> GPG: 4096R/D692FBF0