[ 
https://issues.apache.org/jira/browse/CASSANDRA-18976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781382#comment-17781382
 ] 

FAUSTO FIORESE BRANCO commented on CASSANDRA-18976:
---------------------------------------------------

Hello [~brandon.williams] !

Thanks for answering.
Yes, all rpm versions are in the repository, not just the last one, but they 
are not available in repodata.

 

There is no need to compile, just have the data in a structured form in the 
repodata files.

 

Most repositories allow you to choose a previous version for installation by 
default, for example:


{code:java}
yum install cassandra-4.0.5-1 {code}
 Consider that many people use automation in large clusters, we use the 
official Cassandra repo and it is not possible to change versions so easily or 
without more critical control.
So having the possibility of installing previous versions via yum (like other 
software) would be fantastic.

> 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]

Reply via email to