Results 1 to 5 of 5
Hi all
i have a problem regarding createrepo cmd on fedora15...
while creating yum repository .... i copied all the rpms from dvd (Fedora 13) to /var/ftp/pub/RPMS dir ....
when ...
- 09-06-2011 #1Just Joined!
- Join Date
- Jul 2008
- Location
- Chandigarh,india
- Posts
- 6
Createrepo Problem on Fedora15
Hi all
i have a problem regarding createrepo cmd on fedora15...
while creating yum repository .... i copied all the rpms from dvd (Fedora 13) to /var/ftp/pub/RPMS dir ....
when i ran the createrepo -v /var/ftp/pub/RPMS
it got stuck .... and did not responce except with this message
write 0:office......anything....... .rpm
i do not know what happened to it....
i have created yum repository so many times on other version on fedora and red hat what this happened to me first time....
plz help me out .....
- 09-06-2011 #2
Does it run out of diskspace, are the permissions correct?
You can also try to strace the pid of createrepo to see, if it does something or notYou must always face the curtain with a bow.
- 09-07-2011 #3Just Joined!
- Join Date
- Jul 2008
- Location
- Chandigarh,india
- Posts
- 6
There is no issue related to diskspace or primissions .... all is ok
i have enough space on disk and loged in as root ....
dont know what happed to it ....
i had uninstall createrepo package and installed it again ...
but have same problem ....
is this related to that ... i am tring to create repository on fedora 13 rmps wth createrepo package of fedora15?
maybe....
- 09-08-2011 #4Just Joined!
- Join Date
- Jul 2011
- Location
- San Diego, CA
- Posts
- 7
You might try creating a Packages subdirectory within: /var/ftp/pub/RPMS ... /var/ftp/pub/RPMS/Packages and then placing all of the rpm files within the Packages subdirectory. You will still run createrepo -v /var/ftp/pub/RPMS
This is definitely a difference between RHEL5 and RHEL6, so I'm assuming that it's true with Fedora 15 as well. Did you notice that all of the rpm files were in a Packages subdirectory on the DVD?
On a side note, why don't you just copy the entire DVD to that directory? If you do, you won't need to re-create the repository:
rsync -av /media/Fedora\ 15\ x86_64\ DVD/* /var/ftp/pub/RPMS/
Hope this helps,
Mike
- 10-03-2011 #5Just Joined!
- Join Date
- Oct 2011
- Posts
- 1
I have the same issue. I think it started when I upgraded the machine that is running createrepo from Fedora 14 to Fedora 15. It seems to only happen when I'm mirroring a new repository for the first time. I'm using mrepo to mirror the repositories. Once it works for the first time, it seems to work for each additional time. I think how I get it to work is to run it a bunch of times and it eventually works.
Thanks,
Brian


Reply With Quote