Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.8K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Package does not match intended download for kernel-headers-3.10.0-1127.19.1.el7.x86_64 andkernel-d

I am trying to create docker image out of oraclelinux:7 and run yum groupinstall -y "Development Tools" and getting below errors. I have tried https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=104984479036353&id=1517453.1&displayIndex=2&_afrWindowMode=0&_adf.ctrl-state=tfvh75rgr_320#SYMPTOM but could not get it resolved. I see that there is an update recently as here https://yum.oracle.com/whatsnew.html .
Any one faced this issue and fixed it?
(55/183): json-c-0.11-4.el7_0.x86_64.rpm | 30 kB 00:00:00
kernel-headers-3.10.0-1127.19. FAILED 64% [============================================================- ] 3.2 MB/s | 91 MB 00:00:15 ETA
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/kernel-headers-3.10.0-1127.19.1.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=ol7_latest clean metadata0:15 ETA
Trying other mirror.
(56/183): kmod-20-28.0.3.el7.x86_64.rpm | 125 kB 00:00:00
(57/183): kmod-libs-20-28.0.3.el7.x86_64.rpm | 53 kB 00:00:00
(58/183): kpartx-0.4.9-131.0.1.el7.x86_64.rpm | 80 kB 00:00:00
(59/183): less-458-9.el7.x86_64.rpm | 119 kB 00:00:00
(60/183): libcroco-0.6.12-4.el7.x86_64.rpm | 105 kB 00:00:00
(61/183): libdwarf-20130207-4.el7.x86_64.rpm | 108 kB 00:00:00
(62/183): libedit-3.0-12.20121213cvs.el7.x86_64.rpm | 88 kB 00:00:00
(63/183): libgcc-4.8.5-39.0.5.el7.x86_64.rpm | 103 kB 00:00:00
(64/183): libgfortran-4.8.5-39.0.5.el7.x86_64.rpm | 301 kB 00:00:00
kernel-debug-devel-3.10.0-1127 FAILED
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/kernel-debug-devel-3.10.0-1127.19.1.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=ol7_latest clean metadata ETA
Trying other mirror.
Update:
Workaround
yum install wget
clear
wget --no-cache https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/kernel-headers-3.10.0-1127.19.1.el7.x86_64.rpm
yum localinstall kernel-headers-3.10.0-1127.19.1.el7.x86_64.rpm
wget --no-cache https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/kernel-debug-devel-3.10.0-1127.19.1.el7.x86_64.rpm; yum localinstall kernel-debug-devel-3.10.0-1127.19.1.el7.x86_64.rpm
yum groupinstall -y "Development Tools"
history
Best Answer
-
Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,821 Employee
This should now be resolved. Please run "yum clean all" and "yum makecache fast" to rebuild the yum caches.
Answers
-
Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,821 Employee
This should now be resolved. Please run "yum clean all" and "yum makecache fast" to rebuild the yum caches.
-
Things are working fine today. My old docker image build scripts are working as expected.