funcs: ypkg install - wait when database is locked