Re Simon! >>> On Saturday, 1. July 2006 at 6:54 pm, <[EMAIL PROTECTED]> wrote: > I tried to follow the instructions given and have found a problem. > # $prefix/bin/openpkg build -ZaKB | sh > FATAL: errors occured while building: > pine-4.64L-2.20060622: pine searches a frood called 'MTA' > That means "pine" needs MTA, a virtual "package" that is provided by various MTAs namely sendmail, postfix, exim, ssmtp and openpkg-import::with_mta.
I have seen that error message in cases where 1) a package requires an MTA and 2) multiple packages are listed in the repository being able to satisfy the requirement and 3) "openpkg build" doesn't know which one to take. You definitely hit 1 and 2 for sure. When doing upgrades, "openpkg build" is smart enough to take the MTA provider which is already installed, avoiding 3. However, the new -Za combo really is a reinstall and starts much closer at zero than a -Ua. It seems the implementation is incomplete as it is not smart enough to take the magic "pick the existing MTA" over to the reinstall logic. This seems to be a bug and I have to think about a proper resolution. In the meantime, here is a workaround: run # openpkg rpm -q --whatprovides MTA to figure out which of the currently installed package provides MTA. This should list "postfix" in your case. Then add a hint to "openpkg build" telling it to prefer "postfix" when multiple packages can be used to satisfy a requirement. In the end # $prefix/bin/openpkg build -ZaKB -H postfix | sh should do the job for you. Please try and tell, I'll have to update the release notes. -- Thomas ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org