AIX Open Source

 View Only

 createrepo ends up with error while closing a file

Joerg Kauke's profile image
Joerg Kauke IBM Champion posted Fri January 10, 2025 05:39 AM

Dear community, dear Toolbox team.

I ran a local repo update on the AIX_Toolbox repository. It ran without any errors.
After the reposync, I started the createrepo for this particular repository:

/opt/freeware/bin/createrepo -dv /repo/AIX_Toolbox

Unfortunately this end up with following error:

11:29:15: Package count: 4361
Directory walk done - 4361 packages
Temporary output repo path: /yum_db/AIX_Toolbox/.repodata/
11:29:15: Creating .xml.gz files
11:29:15: Setting number of packages
Preparing sqlite DBs
11:29:15: Creating databases
11:29:15: Thread pool user data ready
Pool started (with 5 workers)
Pool finished
Critical: Error while closing xml files: Error while closing a file: gzclose(): file operation error

I googled it, but nothing came up. Does anybody of you have an idea? It is the first time I saw that error and we are updating our repo every quarter.

Many thanks in advance for any tips and hint.

kind regards

SANKET RATHI's profile image
SANKET RATHI

Hi Joerg, We have not seen this error ever and as you say not much on google search.

But looking at error it is saying there is error in file operation so it is a local issue not related to repo.

That means I think the file compression writing or something did not work. It could be issue related to filesystem full or something.

Have you seen AIX error log to see if there is any other issue on filesystem and filesystem is not full.