LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-13-2010, 12:29 PM   #1
fcfury
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
Killed

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, 05:09 PM   #2
rweaver
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 05:25 PM.
 
Old 11-10-2010, 02:09 PM   #3
JohnSuykerbuyk
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 02:11 PM.
 
  


Reply


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 06:59 AM
createrepo in oel5 muvendrann Linux - Server 1 11-10-2009 09:05 AM
I am not able to execute createrepo command AnaghaR Linux - Software 7 06-01-2009 01:45 AM
createrepo question dlee12 Linux - Newbie 1 03-05-2009 01:03 PM
createrepo linuxnewbie82 Fedora 1 07-23-2006 08:02 AM


All times are GMT -5. The time now is 01:09 PM.

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