diff --git a/pages/linux/rpm.md b/pages/linux/rpm.md index ea62afdc1..2c51e99e8 100644 --- a/pages/linux/rpm.md +++ b/pages/linux/rpm.md @@ -10,6 +10,10 @@ `rpm -qa '{{mariadb*}}'` +- Forcibly install a package regardless of currently installed versions: + +`rpm -U {{package_name.rpm}} --force` + - Identify owner of a file and show version of the package: `rpm -qf {{/etc/postfix/main.cf}}` @@ -20,7 +24,7 @@ - Show scriptlets from an RPM file: -`rpm -qp --scripts {{some.rpm}}` +`rpm -qp --scripts {{package_name.rpm}}` - Show changed, missing and/or incorrectly installed files of matching packages: