List installed packages with the repo they came from?
Posted
by
Sandra
on Server Fault
See other posts from Server Fault
or by Sandra
Published on 2012-06-13T10:24:43Z
Indexed on
2012/06/13
10:41 UTC
Read the original article
Hit count: 192
With rpm it is possible to list installed packages with additional info
rpm -qa --queryformat "%-35{NAME} %-35{DISTRIBUTION} %{VERSION}-%{RELEASE}\n" | sort -k 1,2 -t " " -i
which will produce something like
xorg-x11-drv-ur98 (none) 1.1.0-1.1
xorg-x11-drv-vesa CentOS-5 1.3.0-8.3.el5
xorg-x11-drv-vga (none) 4.1.0-2.1
xorg-x11-drv-via (none) 0.2.1-9
On Ubnutu server would I like to list all installed packages and show from which repository in came from.
Can that be done?
© Server Fault or respective owner