Hello, First off, my apologies about the title. If I have a question next time I will make it more descriptive.
I was able to resolve my issue by increasing the memory usage for Spacewalk. In /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf: I increased wrapper.java.initmemory from 256 to 512. I increased wrapper.java.maxmemory from 1024 to 2048 I checked both the checksum and size of the java package in the repository and spacewalk; everything looked good. I believe that this would be a proper method of checking the package. If not, then please advise another way of doing so. Lastly, I checked the taskomatic log and could not find anything related to memory issues or the repodata job failing. My issue has been resolved. Thank you for your help! Max Mitschke Message: 5 Date: Mon, 09 May 2016 11:22:29 -0400 From: mailto:[email protected] To: Max Mitschke <mailto:[email protected]>, "'[email protected]'" <mailto:[email protected]> Subject: Re: [Spacewalk-list] help Message-ID: <mailto:[email protected]> Content-Type: text/plain; charset="iso-8859-1" This sounds like one of 3 things An incomplete repo sync, A failed repodata job in taskomatic (usually happens when the memory tuning settings are too low, check the taskomaic logs.) Or a corrupt package in your repo. ? Original Message ? From: Max Mitschke Sent: Monday, May 9, 2016 03:22 To: '[email protected]' Reply To: mailto:[email protected] Subject: [Spacewalk-list] help Hello, When I try to update the java-1.8.0-openjdk package on a CentOS 6 server using Spacewalk, I am receiving the following error message: "Error while executing packages action: Error Downloading Packages: 1:java-1.8.0-openjdk-headless-1.8.0.91-0.b14.el6_7.x86_64: failed to retrieve getPackage/java-1.8.0-openjdk-headless-1.8.0.91-0.b14.el6_7.x86_64.rpm from centos-6-base error was [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=centos-6-base clean metadata [[6]]" I have tried the suggested resolution but the issue still occurs. In addition, I have cleared the cache on the Spacewalk server, restarted taskomatic, and attempted to install updates but to no avail. Lastly, I have tried resyncing the channel that contains the package and attempted to install the updates. The only way I was able to resolve this issue was by running the following command on the server: yum update java-1.8.0-openjdk* --disablerepo=* --enablerepo=base --enablerepo=updates --enablerepo=extras I was wondering if this was a common issue with Spacewalk and java packages? If not, would someone be able to help resolve the issue? Thanks, Max Mitschke ________________________________ This electronic transmission and any information that it contains is the property of MSU Federal Credit Union and is intended for the use of the intended recipient. If you are not the intended recipient, any disclosure, copying or other use of this information is strictly prohibited. If you acquired this transmission in error or feel that any of the information contained within it is offensive or inappropriate, please contact [email protected]<mailto:[email protected]>. _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
