Hi,

when configuring the Apache archive for Cassandra RPMs, with file 
"/etc/yum.repos.d/cassandra-oss.repo":
[cassandra-oss]
name=Cassandra OSS RPM
baseurl=https://archive.apache.org/dist/cassandra/redhat/40x
failovermethod=priority
enabled=1
Older package versions (non-latest) are not found in the repodata nor 
installable.
While older packages are present in the repository: 
https://archive.apache.org/dist/cassandra/redhat/40x/


$ yum info cassandra --show-duplicates --disableplugin=versionlock

Loaded plugins: ovl, priorities, product-id, search-disabled-repos

148 packages excluded due to repository priority protections

Available Packages

Name       : cassandra

Arch       : noarch

Version    : 4.0.3

Release    : 1

Size       : 45 M

Repo       : cassandra-oss-artifactory

Summary    : Cassandra is a highly scalable, eventually consistent, 
distributed, structured key-value store.

URL        : http://cassandra.apache.org/

License    : Apache Software License 2.0

Description : Cassandra is a distributed (peer-to-peer) system for the 
management and storage of structured data.

I assume the repodata is also mirrored from the main repository: 
https://downloads.apache.org/cassandra/redhat/40x/
And thus, the file list does not contain the other packages:
https://archive.apache.org/dist/cassandra/redhat/40x/repodata/repomd.xml

Primary file list:
$ zgrep 'ver=' 
ece31517ddeb401b0eaff53c83ecabd59f4862df38efffe436b68d0781516e6d-primary.xml.gz 
                                                                                
                                                                                
                                                                     -1-
  <version epoch="0" ver="4.0.3" rel="1"/>
      <rpm:entry name="cassandra" flags="EQ" epoch="0" ver="4.0.3" rel="1"/>
      <rpm:entry name="python(abi)" flags="GE" epoch="0" ver="3.6"/>
      <rpm:entry name="jre" flags="GE" epoch="0" ver="1.8.0"/>
  <version epoch="0" ver="4.0.3" rel="1"/>
      <rpm:entry name="ant-junit" flags="GE" epoch="0" ver="1.9"/>
      <rpm:entry name="ant" flags="GE" epoch="0" ver="1.9"/>
  <version epoch="0" ver="4.0.3" rel="1"/>
      <rpm:entry name="cassandra-tools" flags="EQ" epoch="0" ver="4.0.3" 
rel="1"/>
      <rpm:entry name="cassandra" flags="EQ" epoch="0" ver="4.0.3" rel="1"/>
Other file list:
$ zgrep 'ver=' 
4c42c3645f88f578a7e38b34b516313de36d1ab223bfaced8b757ba58bf2c32d-other.xml.gz
    <version epoch="0" ver="4.0.3" rel="1"/>
    <version epoch="0" ver="4.0.3" rel="1"/>
    <version epoch="0" ver="4.0.3" rel="1"/>

I would assume older available versions are part of the repodata and thus 
installable.
Can you please advise on this?

Kind regards,
Stijn Vanden Brande
Worldline and Ingenico Group are registered trademarks and trade names owned by 
the Worldline Group. This e-mail and any documents attached are confidential 
and intended solely for the addressee. If you are not the intended recipient of 
this e-mail, you are not authorized to copy, disclose, use or retain it. Please 
notify the sender immediately and delete this e-mail (including any 
attachments) from your systems. As e-mails may be intercepted, amended or lost, 
they are not secure. Worldline and its subsidiaries therefore cannot accept 
liability for any errors in their content. Although the Worldline Group 
endeavours to maintain a virus-free network, we do not warrant that this e-mail 
is virus-free and do not accept liability for any damages or losses resulting 
from any transmitted virus if any. The risks are deemed to be accepted by 
anyone who communicates with Worldline or its subsidiaries by e-mail.

Reply via email to