rpm: add install package example (#3291)
This commit is contained in:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user