[Rpm-maint] RFE -- flag when installing to list files as they are installed

Panu Matilainen pmatilai at redhat.com
Mon Apr 24 05:32:04 UTC 2017


On 04/21/2017 07:10 PM, L A Walsh wrote:
> Would it be possible to produce a list of files as they are
> installed -- similar the output of "rpm -ql", but with the files
> listed as they are extracted from the rpm and written to disk
> (sorta like 'tar's 'v' option).

There's no direct tar -v equivalent but you can get the information from 
--fsmdebug output, eg

[root at sopuli rpm]# rpm -Uvv --fsmdebug 
tests/data/RPMS/hello-2.0-1.x86_64.rpm 2>&1|awk '/^D: create/ {split($9, 
fn, ";"); print fn[1]}'
/usr/bin/hello
/usr/share/doc/hello-2.0
/usr/share/doc/hello-2.0/COPYING
/usr/share/doc/hello-2.0/FAQ
/usr/share/doc/hello-2.0/README
[root at sopuli rpm]#

Whether that is fit to your purposes ... depends on your purposes :)

	- Panu -


More information about the Rpm-maint mailing list