Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-13-2010, 11:29 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 25

Rep: Reputation: 0
createrepo error I think

I am using RHEL5 and I did a createrepo -v --update /var/www/html/yum/base/5Server/x86_64/rhel-x86_64-server-5/getPackage/ and the output was

Scanning old repo data
Indexed 10031 base nodes

Now is that a error??? I didn't press Ctrl-C or anything like that, it just finished that way. I have a local yum repository and I use reposync to sync up my local repository with the Red Hat network. Everytime I pull down the updates from Red Hat I used createrepo with no options but wanted to try the --update to see how much time it would save. Anyone have any ideas why it is it was "Killed"
Old 10-15-2010, 04:09 PM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
Createrepo --update (if memory serves) doesn't update the files in the repo, but the matadata describing the repo... you would do an --update when you change a file in the repo to update the metadata so that clients know to download the update. Anytime I've setup repo's I typically used rsync for the update of the actual data (typically i've done fedora, not rhel but the same thing should apply.)

Last edited by rweaver; 10-15-2010 at 04:25 PM.
Old 11-10-2010, 01:09 PM   #3
LQ Newbie
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
I'm having the same problem on SuSE 11.2

It runs for hours, eventually ending with createrepo was killed message.

I'm using createrepo version 0.4.9 on OpenSuSE x64 version 11.2

I noticed a difference between update and recreate behaviors. If I delete all the old repo meta data, and attempt to recreate it, createrepo dies somewhere around the 5,000 rpm count mark. From then on, if I do update instead of recreate, it keeps getting further along, until it reaches a rpm file count of around 24,000 that it never gets passed. As an FYI - there are about 36,000 total rpms of various architectures in the repository, with up to 10 versions of some of them.

Have no clue how to "fix" this. I am attempting to clean out all earlier versions of RPMS's saving only the most recent in the hopes that reducing the number of RPMS will help createrepo succeed.

- John "S"

Last edited by JohnSuykerbuyk; 11-10-2010 at 01:11 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
createrepo command?! linbux Fedora 5 11-24-2010 05:59 AM
createrepo in oel5 muvendrann Linux - Server 1 11-10-2009 08:05 AM
I am not able to execute createrepo command AnaghaR Linux - Software 7 06-01-2009 12:45 AM
createrepo question dlee12 Linux - Newbie 1 03-05-2009 12:03 PM
createrepo linuxnewbie82 Fedora 1 07-23-2006 07:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration