Oracle Linux 6

Package does not match intended download on Oracle Linux 6.5


See my update in the comment section below…

yum updating an Oracle Linux 6.5 to the latest available version, which is 6.7, errored out with:

(122/426): java-1.6.0-openjdk-1.6.0.38-1.13.10.0.el6_7.x86_64.rpm | 3.5 kB 00:00
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/java-1.6.0-openjdk-1.6.0.38-1.13.10.0.el6_7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum –enablerepo=public_ol6_latest clean metadata
Trying other mirror.
(123/426): java-1.7.0-openjdk-1.7.0.95-2.6.4.0.0.1.el6_7.x86_64.rpm | 3.5 kB 00:00
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/java-1.7.0-openjdk-1.7.0.95-2.6.4.0.0.1.el6_7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum –enablerepo=public_ol6_latest clean metadata
Trying other mirror.

then

Error Downloading Packages:
1:java-1.6.0-openjdk-1.6.0.38-1.13.10.0.el6_7.x86_64: failure: getPackage/java-1.6.0-openjdk-1.6.0.38-1.13.10.0.el6_7.x86_64.rpm from public_ol6_latest: [Errno 256] No more mirrors to try.
1:java-1.7.0-openjdk-1.7.0.95-2.6.4.0.0.1.el6_7.x86_64: failure: getPackage/java-1.7.0-openjdk-1.7.0.95-2.6.4.0.0.1.el6_7.x86_64.rpm from public_ol6_latest: [Errno 256] No more mirrors to try.

for the given file as well as for java-1.7.0-openjdk-1.7.0.95-2.6.4.0.0.1.el6_7.x86_64.rpm. Following the advice in the error message itself, namely:

yum --enablerepo=public_ol6_latest clean metadata

did not help further. Yet another hint on the web, to execute:

yum clean all

neither resolved the problem. Checking SHA hashes for a failed match, as one may be oriented to try out according to the error message, showed no differences.

Since the rpm’s in question are easily downloadable from http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/index.html, I just grabbed the packages and manually (replace-)copied both of them into /var/cache/yum/x86_64/6Server/public_ol6_latest/packages. The next

yum update

worked as expected.

Have fun, Peter

Advertisements

(raw) Oracle Linux 6 memory foorprint with/out X11


Running quite a couple of (Linux) guests on a virtual host sooner or later raises the question of the (guests / host resources) ratio. That is, commonly for cpu, ram and i/o, how many guests will fit on that specific host for an average load.

Having this question nagging in my head, I was particularly curious to find out how much memory an OL6 will consume for a pure operating system installation with and without the convenience of running X11 (which is animated by Gnome 3.x in OL6, having most of the autostart apps removed – xfce will be much leaner but that’s another story).

The top Mem: used snapshots were taken immediately after a bounce of the guest to have as less application code inference as possible since Linux never frees memory iff not necessary. Here we go.

(more…)