So you’ve read through the Auto Install Documentation and you are on to the “postInstall” part of your auto_inst.cfg and you have script a bit of extra post install fun like say urpmi.addmedia … . But for whatever reason it just hangs on “examining pubkey file of …”!
This is because the install proccess did not clean up after itself, so you must do so for it:
# Cleanup old lock from the install.
rm -f /var/lib/urpmi/.LOCK /var/lib/rpm/RPMLOCK
Now all urpmi.* activity should continue properly.