RPM Chef Client Upgrade Results In Missing Knife Client

Sean Horn -

if you don’t specify the --noscripts option, rpm -Uvh … does its standard thing of uninstalling the old package, followed by installing the new package . The uninstall activates the postinst package script, which has a function called cleanup_symlinks, that …. cleans the symlinks from /usr/bin to the embedded binaries, like knife and so on.


You can prevent this issue using either one of the following processes

rpm -Uvh —noscripts PACKAGE-2

rpm -e PACKAGE-1
rpm -ivh PACKAGE-2
Have more questions? Submit a request


Powered by Zendesk