On Sat, Dec 18, 2004, Markus Ueberall wrote: > about six weeks ago, I installed MDK10.1O on one of my machines, followed > by the OpenPKG "bootstrap from source" procedure. At that time, I ended > up with RPMs of the form > > openpkg-20041XXX-20041XXX.ix86-mandrakelinux10.1-openpkg.rpm > > Earlier this week, I recognized that the above suffix changed to > > openpkg-20041211-20041211.ix86-mandrake10.1-oop.rpm > I assume that you really did build the resulting binary RPMs (named above) from source RPMs, in which case the resulting name tags (openpkg and oop in your case) follow a clear logic. If you didn't supply a '--target' parameter at bootstrap time (along with '--prefix', '--user', and which ever others you chose) then RPM will calculate the name tag for you. The algorhythm is roughly 'use the first letter of each directory path of the chosen OpenPKG prefix'. The length limit is 3 letters, and a few other rules exist to handly oddities.
That your build six weeks ago resulted in the tag name 'openpkg' makes me wonder if you either knowingly or unknowingly requested this tag name at bootstrap time. Otherwise, I'm fooled as well and don't understand how this tag name resulted. There's nothing in the change log since two months to suggest that work was done to change or correct the RPM tag calculation logic, so that possibility seems to be a dead end. By the way, you might note that in every release, binary packages are provided for limited use. That they all carry name tags 'openpkg' and install to /openpkg (a design decision - not technically necessary) might be a reason to consider using some other tag. > Can someone tell what may have caused this and how to proceed? > Of course, I could try to reinstall OpenPKG on the first machine once > more or overwrite the entire openpkg tree with another 'copy', but maybe > there are more elegant solutions... ;) > If you must build binary RPMs on one machine and install them on another, and if the rpm binaries of those two machines produce different name tags, ...then I would choose whichever name tag best appealed to me (nicest name, more work to change out, etcetera) and change out the other OpenPKG instance on the second machine. 'Change out' = 'deinstall completely and reinstall'. I'll admit that I have never tried installing packages with different name tags to the same OpenPKG instance. Maybe it's easier that I think (although you mention having problems there). In any case, in the long run I would prefer having several instances all being clean and consistent (same prefix structure and name tags). That's all pretty heavily opinioned however, because there are just too many possibilities to otherwise describe. A second opinion could be useful. Regards, Michael -- Michael Schloh von Bennewitz <[EMAIL PROTECTED]> Development Team, Operations Northern Europe Cable & Wireless Telecommunications Services Tel +49-89-92699-227, Fax +49-89-92699-808
pgpjCtOhLlVih.pgp
Description: PGP signature
