How to tell which repositories provide which packages?

Chris Green cl at isbd.net
Tue Jan 5 20:58:13 UTC 2021


On Tue, Jan 05, 2021 at 03:29:17PM -0500, Little Girl wrote:
> Hey there,
> 
> Chris Green wrote:
> 
> >Is there a way to tell from which repositories packages have been
> >installed?
> >
> >I particularly want to see if I have any packages installed from a
> >particular PPA.
> 
> 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
> 
These are all the wrong way round though.  I don't know the package
names, I want to know if (for example) if any packages have been
installed from:-
    http://ppa.launchpad.net/vincent-vandevyvre/vvv/ubuntu

-- 
Chris Green




More information about the ubuntu-users mailing list