RPM installation failed with Digest mismatch error

RPM developed using Maven, causing 'Digest mismatch' error as given below, while the RPM being installed..

# 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 prelink

Solution:

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.

Post a Comment

3 Comments

  1. 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.
    Thanks,
    Selenium Training in Chennai | Selenium Training | Best Selenium training institute in Chennai

    ReplyDelete
  2. 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.
    Regards,
    Selenium Training in Chennai|Selenium Training|selenium testing training in chennai

    ReplyDelete
  3. 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.
    Software Testing Training in chennai | Testing Training in chennai | Software Training institutes in chennai

    ReplyDelete