简体   繁体   中英

Issues about using rpm -U to upgrade an installed package

After the first installing the package example.rpm using rpm -Uvh ./example.rpm . I deleted some config files of example by mistake. Then the second time, I use rpm -Uvh ./example.rpm. it said the package is already installed. so it is stilling missing the config files I deleted. How to change the command to let it install the config files?

 --replacepkgs                    reinstall if the package is already present

根据

rpm --help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM