On Fri, 4 Oct 2002, David Walluck wrote: > | As for urpmi, I presume you are talking about rebuilding an RPM and when > | the rpm gets upgraded upstream, urpmi --auto-select wants to use the > | precompiled version. In that case, the best course is probably to edit > | your /etc/urpmi/skip.list and ignore that package, but keep track of the > | changelog list, so you know when to download a new version of the SRPM. > > No, it's more serious than that, in my example I showed the *same > version* of the package, just a different arch (i586 instead of athlon). > I agree with you that if the package is newer, there is nothing we can > do, except that if there is an athlona rch, make it prefer athlon over > i586, and if no athlon is available, fallback to i586. > > But I was complaining that the package versions were exactly the same, > this is a more serious problem than upgrades. >
It's probably due to how rpm handled everything, so maybe if we made athlon iathlon, it would upgrade i586 to iathlon ;-). > | > | I've begun to develop an interest in adapting urpmi into some sort of > | Gentoo-like system. What I could see is creating some sort of > | hdlist-like file for the SRPMS directory (listing the rpms that get > | built by each SRPM and their provides and so forth). A config file > | stating which packages the user wants locally rebuilt as needed would be > | useful in that case. > Please take a look at the script I posted about a week or two ago. It uses CVS to check out the packaging (well, not quite), and then updates all the necessary files to your `rpm --eval %_sourcedir`, and runs the compile. It is just a proof-of-concept, but using all the current infrastructure, it will allow anyone to rebuild any version of any package that has ever been in Mandrake. For dependencies, it might be possible to hack on rpm-rebuild to get that aspect of it working. FYI, I use the script to build samba RPMs from a combination of samba CVS and Mandrake CVS (since our mirror is sometimes a few days behind), and parts of a previous version are currently in the makerpms-cvs.sh script in samba CVS. > I am not familiar with Gentoo. What does it use? > Personally, since > apt-rpm works, I don't know why Mandrake wanted to develop their own > clone of it. Gentoo has nothing to do with apt. Some people still swear by urpmi as the best of these > tools, but I don't know how apt handles multiple archs either. > Since Gentoo is source-based, they don't need to handle multiple architectures of packages ... Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
