1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-11-14 14:06:46 +00:00
wiki.mbirth.de/know-how/software/linux/_posts/2011-04-09-find-ppa-for-package.md

34 lines
1.1 KiB
Markdown

---
title: Find PPA for specific package
layout: default
created: 2011-04-09 13:28:16 +0200
updated: 2011-04-09 13:28:16 +0200
toc: false
tags:
- know-how
- software
- linux
- administration
---
If you want to find out from which PPA a specific package was installed or what other PPAs hold it, you can use the
following command: (found at [superuser.com](http://superuser.com/questions/106794/how-to-tell-from-what-ubuntu-or-debian-repository-a-package-comes))
~~~
$ apt-cache policy mpd
mpd:
Installed: 0.16.2+git20110331.6d3ed3f-0ubuntu1~ripps1
Candidate: 0.16.2+git20110331.6d3ed3f-0ubuntu1~ripps1
Version table:
*** 0.16.2+git20110331.6d3ed3f-0ubuntu1~ripps1 0
500 http://ppa.launchpad.net/gmpc-trunk/mpd-trunk/ubuntu/ maverick/main amd64 Packages
100 /var/lib/dpkg/status
0.16.1-1ubuntu1 0
500 http://de.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
~~~
Here you can see that the package `mpg` is in the PPA *gmpc-trunk/mpd-trunk* and also in the *natty/universe* repository.
The installed version is that from the PPA - also indicated by the `/var/lib/dpkg/status` line.
*[PPA]: Personal Package Archive