When upgrading YumaPro tools via command line on a Linux system, you may run into a version conflict issue similar to this:
user@server:~/WORK sudo rpm -i yumapro-sdk-16.10-4.el7.x86_64 file /usr/share/man/man1/yangcli-pro.1.gz from install of yumapro-sdk-16.10-4.el7.x86_64 conflicts with file from package yangcli-pro-15.10-9.el7.centos.x86_64 ...
Not to worry, simply remove the previously installed version and then install the new one.
To remove an installed version of yumapro-sdk or yangcli-pro via command line in Linux,
you just need to specify the package name, like this:
For Debian/Ubuntu: user@server:~/WORK sudo dpkg --purge yumapro-sdk
For CentOS/RedHat/Fedora/openSUSE: user@server:~/WORK sudo rpm -e yumapro-sdk
After that's done install the new version of yumapro-sdk or yangcli-pro by specifying the full file name, like this:
For Debian/Ubuntu: user@server:~/WORK sudo dpkg --install yumapro-sdk-16.10-4.u1404.amd64
For CentOS/RedHat/Fedora/openSUSE: user@server:~/WORK sudo rpm -i yumapro-sdk-16.10-4.el7.x86_64