Opened 11 years ago

Closed 10 years ago

#73 closed defect (worksforme)

createrepo fails

Reported by: Dave Yeo Owned by:
Priority: major Milestone:
Component: rpm Version:
Severity: Keywords: createrepo
Cc: dave.r.yeo@…

Description

Running

sh -c "createrepo /rpm.local"

or

sh -c createrepo /rpm.local

results in

K:\usr\bin/createrepo: /@unixroot/usr/share/createrepo/genpkgmetadata.py: not found

Though genpkgmetadata.py is in /usr/share/createrepo.
Doing a yum downgrade createrepo to replace createrepo-0.4.11-2.noarch with createrepo-0.4.11-1.noarch allows the repository to be created.
Should the leading slash be there?

Change History (2)

comment:1 by Yuri Dario, 10 years ago

It works for me:

F:\>sh -c "createrepo /rpm.local"
12/12 - pthread-legacy-20140814-16.ob00.i386.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata

My unixroot drive is D:

comment:2 by Dave Yeo, 10 years ago

Resolution: worksforme
Status: newclosed

It's now working fine

Note: See TracTickets for help on using tickets.