-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


M9. schreef:
> 
> 
> Rajko M. schreef:
>> On Sunday 09 December 2007 07:59:30 am M9. wrote:
>>> Hi,

>> Second deficiency of this method is that you have to run 'createrepo' on 
>> every 
>> change otherwise YaST or 'zypper refresh' will not find any changes you 
>> made, 
>> ie. will not find new packages or complain about missing packages. 
> 
> 
> Aha.
> I presume the 2th defciency will be  corrected?
> Not that it matters to me to do things more than nessesary, but just to
> know that progression will happen. ;-)
> 
> We all know that it is very inconvenient not being able to test pkgs,
> other than those in the original repos.
> I thank you for this info!
> 

It is not as simple as you and Vahis suggest:

* Installeert createrepo-0.4.10-32 [100%]
[EMAIL PROTECTED]:~> cd /home/monkey9/RPM/
[EMAIL PROTECTED]:~/RPM> createrepo
Error: Must specify a directory to index.

    createrepo [options] directory-of-packages

    Options:
     -u, --baseurl <url> = optional base url location for all files
     -o, --outputdir <dir> = optional directory to output to
     -x, --exclude = files globs to exclude, can be specified multiple times
     -q, --quiet = run quietly
     -n, --noepoch = don't add zero epochs for non-existent epochs
                    (incompatible with yum and smart but required for
                     systems with rpm < 4.2.1)
     -g, --groupfile <filename> to point to for group information
(precreated)
                    (<filename> relative to directory-of-packages)
     -v, --verbose = run verbosely
     -c, --cachedir <dir> = specify which dir to use for the checksum cache
     -C, --checkts = don't generate repo metadata, if their ctimes are newer
                     than the rpm ctimes.
     -h, --help = show this help
     -V, --version = output version
     -p, --pretty = output xml files in pretty format.
     --update = update existing metadata (if present)
     -d, --database = generate the sqlite databases.

[EMAIL PROTECTED]:~/RPM> createrepo -u
Options Error: option -u requires argument.


[EMAIL PROTECTED]:~/RPM> createrepo -u /home/monkey9/RPM/
Error: Must specify a directory to index.

[EMAIL PROTECTED]:~/RPM> createrepo -u /home/monkey9/RPM
Error: Must specify a directory to index.

How to specify such a directory than?
I do not mind to move the rpm's to another directory, or change the
name... but this is not very obvious, if you ask me?



- --


Have a nice day,

M9.               Now, is the only time that exists.



  OS:  Linux 2.6.24-rc3-git1-3-default x86_64
  Huidige gebruiker:  [EMAIL PROTECTED]
  Systeem:  openSUSE 11.0 (x86_64) Alpha0
  KDE:  3.5.8 "release 21"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHXEhRX5/X5X6LpDgRAq/NAJ9iYVboXzZTdUt1U2xw/KMEDDpsYQCggukB
Lcjpuwpddy1zqZpjzqur7eo=
=aTiJ
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to