-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Hanke wrote:
Andreas Hanke schrieb:
Each time I run `yast, Software, Software Management` that I first run `createrepo /usr/src/packages/RPMS` so I don't forget to include extra files I downloaded. You shouldn't have to do it at all, YaST should be able to do it for you.
With "it" I mean including RPMs from a local directory without manual intervention. A local directory with just naked RPMs in it should be a valid (and working) type of installation source.
I don't agree. If you just have the RPMs and no repository metadata, YaST must scan all the .rpm files in that directory and extract that metadata (RPM header information). createrepo does the same, but the difference is: createrepo also stores that data ;) Also, createrepo can use a cache, so it will only fetch RPM headers from files that are newer than their entry in the cache. That's more efficient, and reduces the startup time of YaST (if such a feature is added to YaST).
Your "run createrepo" proposal is a workaround for a missing feature.
I don't think so. createrepo is the appropriate tool to manage a repository.
I don't know whether zypp is currently capable of using a "naked"
directory of RPMs as an installation source. If it doesn't, I think that
just using createrepo is a better solution than adding more complexity
to zypp.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\