# Ubuntu – How to know the source ppa of an installed package

aptpackage-managementppa

I have a package (xserver-xorg-video-intel) from ppa sources. Since I have more than one ppa sources for this package in my package management I am not sure which one is the source. So I wonder if I can learn this using apt-get or dbpkg etc. Related question: If I have various ppa's for a given package, will apt-get change the ppa if it finds a new version of the package in any ppa? I am asking since I use an alternative ppa for xserver-xorg-video-intel as the driver in the official one leads to errors in hibernate/sleep.

In addition to those answers running apt-cache madison <package-name> from a terminal may shed more light

hob@hobgoblin:~\$ apt-cache madison clementine
clementine | 1.0.1-554-geded1da~precise | http://ppa.launchpad.net/me-davidsansome/clementine-dev/ubuntu/ precise/main amd64 Packages
clementine | 1.0.1+dfsg-2ubuntu1 | http://gb.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
clementine | 1.0.1+dfsg-2ubuntu1 | http://gb.archive.ubuntu.com/ubuntu/ quantal/universe Sources
clementine | 1.0.1-554-geded1da~precise | http://ppa.launchpad.net/me-davidsansome/clementine-dev/ubuntu/ precise/main Sources