How to tell which repositories provide which packages?

Little Girl littlergirl at gmail.com
Tue Jan 5 22:32:26 UTC 2021


Hey there,

Ian Bruntlett wrote:
>Little Girl wrote:

>> This will give you your installed version, the candidate version
>> that's available (if any), and the sources for the various
>> versions:
>>
>> apt-cache policy PACKAGENAME
>>
>> If you're feeling frisky, either of these will probably give you
>> way more information that you need, but can be good to keep in
>> your back pocket:
>>
>> dpkg -s PACKAGENAME
>>
>> apt-cache showpkg PACKAGENAME

>Neat! Really useful, thank you :)

Any time. Command-line toys are always fun.

-- 
Little Girl

There is no spoon.




More information about the ubuntu-users mailing list