Guest User

Untitled

a guest
Jan 12th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. [my-app]
  2. name=My App
  3. baseurl=https://dl.my-app.com/yum/el7/$basearch
  4. gpgkey=https://dl.my-app.com/rpm.gpg
  5. gpgcheck=1
  6. enabled=1
  7. repo_gpgcheck=1
  8.  
  9. [root@ip-192-31-59-132 ~]# yum install my-app
  10. Loaded plugins: langpacks, priorities, update-motd
  11. Resolving Dependencies
  12. --> Running transaction check
  13. ---> Package my-app.x86_64 0:1.3.15-2.el7 will be installed
  14. --> Finished Dependency Resolution
  15.  
  16. Dependencies Resolved
  17.  
  18. ==================================================================================================================================================================================
  19. Package Arch Version Repository Size
  20. ==================================================================================================================================================================================
  21. Installing:
  22. my-app x86_64 1.3.15-2.el7 my-app 9.5 M
  23.  
  24. Transaction Summary
  25. ==================================================================================================================================================================================
  26. Install 1 Package
  27.  
  28. Total download size: 9.5 M
  29. Installed size: 33 M
  30. Is this ok [y/d/N]: y
  31. Downloading packages:
  32. my-app-1.3.15-2.el7.x8 FAILED
  33. https://dl.my-app.com/yum/el7/x86_64/my-app-1.3.15-2.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=my-app clean metadata
  34. Trying other mirror.
  35.  
  36.  
  37. Error downloading packages:
  38. my-app-1.3.15-2.el7.x86_64: [Errno 256] No more mirrors to try.
  39.  
  40. [root@ip-192-31-59-132 ~]#
  41.  
  42. I have the Gnupg configuration correct. I hope thats not the cause of this issue.
  43.  
  44. What am I doing wrong here? Why is Yum throwing `Package does not match intended download` error?
Add Comment
Please, Sign In to add comment