rpm -qa --qf "%{n}\n" | grep -v pubkey | sort > package-list.txt
