Re: apt pinning: find out from which system version is a package
Alexander V. Makartsev wrote:
> You can check what branches have the package
> you want with "rmadison" command.
>
> Example:
> $ sudo apt install devscripts
> $ rmadison linux-image-amd64
> linux-image-amd64 | 3.16+63+deb8u2 | oldstable | amd64, i386
> linux-image-amd64 | 4.9+80+deb9u7 | stable | amd64
> linux-image-amd64 | 4.19+104~bpo9+1 | stretch-backports | amd64
> linux-image-amd64 | 4.19+104 | testing | amd64
> linux-image-amd64 | 4.19+104 | unstable | amd64
>
> You can check what package will be installed with "apt-cache" command.
> Example:
> $ apt-cache policy linux-image-amd64
> linux-image-amd64:
> Installed: 4.15+91~bpo9+1
> [...]
Priviet and good answer!
Still two invocations, but no worries, I can
make a zsh function and have them next to each
other, and then drop the unnecessary stuff :)
Thank you!
--
underground experts united
http://user.it.uu.se/~embe8573
Reply to: