On Mon, 2003-07-28 at 14:50, Grigory Bakunov wrote: > All of this stuff already realized in our own 'branch' of yum, used > with russian Linux distro (ASPLinux). You can see homepage at > http://stuphead.asplinux.ru/yum/ (yes, it's in russian). > Current state of this code you can see here: > http://stuphead.asplinux.ru/yum/SRPMS/yum-1.1.1-1.9asp.src.rpm > this version work fine with both 404/410/420 version of rpm, have > /etc/yum.d/ directory, tool for maintain files in /etc/yum.d/ ( for > example you can do 'yum-conf add "url of config file" as > repository-name' > and use it. Unfortunately, my weak Ukrainian doesn't translate into any kind of Russian comprehension :) After nabbing your RPMS/yum1.1.1-1.9asp.noarch.rpm, I had a few problems. Since I didn't have the "repos" RPM on me, I --nodeps that. A python exception is thrown if /etc/yum.d doesn't exist at all, so I made an empty directory. Also, yum-mirror complained about about "not finding a [main] in the config file", when the real error would have been "file permission denied" I added a mirrors=path to my yum.conf, after which "yum-mirror suck" (who's --help is empty, so I guessed a little) produced: IOError: [Errno 2] No such file or directory: '/var/cache/yum/base8/header.info'. Am I correct in guessing that yum-mirror must be used as root, and stores all its files in /var/cache/yum? Is there anyway I can run it using a non-root user, with an alternate config file and non-/var/cache paths? > In any case - license on all this stuff - GPL and you can use both > 'version' of yum, > cause it absolutely compatible. Yeah, since the original is GPL that's kind of a given :) -- // Aleksander.Demko@xxxxxxxxxxxxxx ademko@xxxxxx scopira.org //