RPM developed using Maven, causing 'Digest mismatch' error as given below, while the RPM being installed..
The above command does undo the prelink. Now generate the RPM again and it should be able to install with out Digest mismatch error for that file.
# rpm -ivh /var/tmp/pang-1.0-1.x86_64.rpm
Preparing... ########################################### [100%] 1:pang ########################################### [100%] error: unpacking of archive failed on file /opt/test/src/bin/python;55df164f: cpio: Digest mismatch |
Cause:
The binary file/file mentioned in the error, prelinked to speed up startup time by using Linux prelinkSolution:
Revert binaries and libraries to their original content before they were prelinked.# prelink -u /opt/test/src/bin/python |
The above command does undo the prelink. Now generate the RPM again and it should be able to install with out Digest mismatch error for that file.
3 Comments
Excellent post. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
ReplyDeleteThanks,
Selenium Training in Chennai | Selenium Training | Best Selenium training institute in Chennai
Excellent post! When you are going to update your next post, I really very excited to see your upcoming articles. So please share information with an effective content of latest technology.
ReplyDeleteRegards,
Selenium Training in Chennai|Selenium Training|selenium testing training in chennai
Nowadays,Testing is the basic one for working up the application.Software testing is required to raise the blemishes and mix ups for development phrases.It is requirement for customer unfaltering quality and their satisfaction in the application moreover it shows the way of the product.So,it offers a good occupation for proficient specialists in programming testing field.
ReplyDeleteSoftware Testing Training in chennai | Testing Training in chennai | Software Training institutes in chennai