[
https://issues.apache.org/jira/browse/CASSANDRA-18976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Williams updated CASSANDRA-18976:
-----------------------------------------
Resolution: Not A Problem
Status: Resolved (was: Triage Needed)
We don't keep old versions, only the latest. If you need an older version you
can build the packages from the source for that version.
I verified that 4.0.11 can be installed from both repos.
> Repository repodata file does not contain all versions.
> -------------------------------------------------------
>
> Key: CASSANDRA-18976
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18976
> Project: Cassandra
> Issue Type: Bug
> Reporter: FAUSTO FIORESE BRANCO
> Priority: Normal
>
> The repomd.xml files inside the noboolean/repodata/ folders are only pointing
> to the latest version rpms, this way we are unable to install using yum from
> previous versions for Centos7.
> The repomd.xml of the main repository is the only one that has all the RPM
> packages, but in such a way that it is impossible to differentiate versions
> for CentOS8 and CentOS7.
> {code:java}
> vi /etc/yum.repos.d/cassandra.repo
> [cassandra]
> name=Apache Cassandra
> baseurl=https://redhat.cassandra.apache.org/40x/noboolean/
> gpgcheck=1
> repo_gpgcheck=1
> gpgkey=https://downloads.apache.org/cassandra/KEYS
> {code}
> {code:java}
> # yum list --showduplicate cassandra\*
> Loaded plugins: fastestmirror, ovl
> Loading mirror speeds from cached hostfile
> * base: mirrors.up.pt
> * extras: mirrors.up.pt
> * updates: mirrors.up.pt
> Available Packages
> cassandra.noarch 4.0.11-1
> cassandra
> cassandra-tools.noarch 4.0.11-1
> cassandra
> {code}
> If I try one of the old versions:
> {code:java}
> # yum install cassandra-4.0.5-1
> Loaded plugins: fastestmirror, ovl
> Loading mirror speeds from cached hostfile
> * base: mirrors.up.pt
> * extras: mirrors.up.pt
> * updates: mirrors.up.pt
> No package cassandra-4.0.5-1 available.
> Error: Nothing to do
> {code}
>
> Changing to main 40x repo folder:
> {code:java}
> vi /etc/yum.repos.d/cassandra.repo
> [cassandra]
> name=Apache Cassandra
> baseurl=https://redhat.cassandra.apache.org/40x/
> gpgcheck=1
> repo_gpgcheck=1
> gpgkey=https://downloads.apache.org/cassandra/KEYS {code}
> Same results:
> {code:java}
> # yum list --showduplicate cassandra\*
> Loaded plugins: fastestmirror, ovl
> Loading mirror speeds from cached hostfile
> * base: mirror.cloudhosting.lv
> * extras: mirror.cloudhosting.lv
> * updates: mirrors.up.pt
> Available Packages
> cassandra.noarch
>
> 4.0.11-1
>
> cassandracassandra-tools.noarch
>
> 4.0.11-1
>
> cassandra
> {code}
>
> [https://apache.jfrog.io/artifactory/cassandra-rpm/noboolean/|http://example.com]
> Has no repodata files.
>
> And
>
> https://apache.jfrog.io/artifactory/cassandra-rpm/repodata/repomd.xml.asc:
> [Errno 14] HTTPS Error 404 - Not Found
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]