LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-08-2014, 08:28 AM   #1
maxlambert01
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Question createrepo command clarifications requested - CentOS 5.5 V1.7


Newbie looking for some additional info that's not available via the 'man' page for createrepos - (trying to debug/diagnose someone elses product build scripts).

The basic command syntax is:
createrepos <options> <directory>

Q1 - <directory> is where all the individual .rpm files are located, correct?
Q2 - There doesn't appear to be a recurse options, so assuming it doesn't?

-o --output is the "optional output directory (useful for read only media)"
Q1 - what exactly is placed in the output directory? One file?, several files?, filenames?
Q2 - if not used, what is the default output directory? The one from which the command is executed? or <directory>?

thanks in advance!
 
Old 01-09-2014, 06:59 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,815

Rep: Reputation: 2238Reputation: 2238Reputation: 2238Reputation: 2238Reputation: 2238Reputation: 2238Reputation: 2238Reputation: 2238Reputation: 2238Reputation: 2238Reputation: 2238
  1. You typically specify the directory just above the one where the RPM files are stored.
  2. Recursion is automatic. If there are subdirectories you want to skip, you have to exclude them specifically.
  3. Two output directories are created: repodata and cache.
  4. By default, the output directories are created in the directory given on the command line.
 
  


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
[SOLVED] centos createrepo error sbk123 Linux - Newbie 2 06-13-2013 01:24 AM
createrepo command?! linbux Fedora 5 11-24-2010 05:59 AM
RHEL / CentOS - In need of clarifications on various aspects noctilucent Red Hat 8 06-04-2009 12:05 AM
I am not able to execute createrepo command AnaghaR Linux - Software 7 06-01-2009 12:45 AM
createrepo linuxnewbie82 Fedora 1 07-23-2006 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 07:35 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
Open Source Consulting | Domain Registration