Open Source Development

 View Only

 Messages from createrepo

Stefan Martin's profile image
Stefan Martin posted Wed April 22, 2026 05:54 AM

Hello,

when I use the `createrepo` command to build the XML-based RPM metadata repository from a set of RPMs, I receive these messages: 

    Warning: RPM v3 packages are deprecated

and  this message:

   Warning: Package 'bash-0:4.2-3.ppc' has duplicate metadata entries, only one should exist Warning: Sourced from location: 'bash/bash-4.2-3.aix6.1.ppc.rpm', build timestamp: 1412001759 Warning: Sourced from location: 'bash/bash-4.2-3.aix5.3.ppc.rpm', build timestamp: 1412005793

How can I resolve these issues? Is it possible to remove older RPM files from the repositories?

José Pina Coelho's profile image
José Pina Coelho

That's a package from 2014... it's getting a bit long in the tooth, and it has about a million bugs.  

If you still have AIX 6.1, you should get the latest bash that was compiled for 6.1 from  https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/bash/ , you'll find bash-5.1.4-2.aix6.1.ppc.rpm (from 2025-05-05).

If you no longer have AIX 6.1, you should remove it.

Stefan Martin's profile image
Stefan Martin

Hello,

can I delete the old files in the file system and then rebuild the databases using the `createrepo` command? 

What happens if I then run another `reposync` against the IBM sources?

José Pina Coelho's profile image
José Pina Coelho

You can delete the old files, preferably after replacing them with more recent versions.

As to reposync, it has a flag to pull only the latest version (-n).