[opensuse] SPAM: Creating a repository out of a directory
I've been wondering if it is possible to create a repository out of a directory you have downloaded rpms into, and if so, how. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Meyer schrieb:
I've been wondering if it is possible to create a repository out of a directory you have downloaded rpms into, and if so, how.
Take a look at http://en.opensuse.org/Creating_YaST_Installation_Sources hth, Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFTOsVayhvFxrDZlkRApJ+AJ47i+aXD5TRbT/ImiLyf5jT3vSBjgCfQVDh VpHmQh2oH2HybYFfDzuAGl0= =C1DM -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rauch Christian wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
John Meyer schrieb:
I've been wondering if it is possible to create a repository out of a directory you have downloaded rpms into, and if so, how.
Take a look at http://en.opensuse.org/Creating_YaST_Installation_Sources
hth, Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFFTOsVayhvFxrDZlkRApJ+AJ47i+aXD5TRbT/ImiLyf5jT3vSBjgCfQVDh VpHmQh2oH2HybYFfDzuAGl0= =C1DM -----END PGP SIGNATURE-----
Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oh yeah, got a segmentation fault. Rauch Christian wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
John Meyer schrieb:
I've been wondering if it is possible to create a repository out of a directory you have downloaded rpms into, and if so, how.
Take a look at http://en.opensuse.org/Creating_YaST_Installation_Sources
hth, Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFFTOsVayhvFxrDZlkRApJ+AJ47i+aXD5TRbT/ImiLyf5jT3vSBjgCfQVDh VpHmQh2oH2HybYFfDzuAGl0= =C1DM -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Meyer wrote:
I've been wondering if it is possible to create a repository out of a directory you have downloaded rpms into, and if so, how.
Hi John
Use "createrepo", it's the easiest option.
The only parameter it needs is the name of the directory where the RPM
files are located. It will recursively hunt for RPMs and create a
"repodata" subdirectory (that's a "rpm-md" aka "yum" repository, you can
use it with yast2, zmd, zypper, smart, yum, and recent versions of apt-rpm).
e.g.:
cd ~/my/rpms
createrepo .
Then add ~/my/rpms as the location of the repository.
NB: createrepo is in the package... "createrepo" ;)
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
participants (3)
-
John Meyer
-
Pascal Bleser
-
Rauch Christian