Pkg fixes

trying to join all efforts for solving the pkg issues.

still working on a docker based test
This is a new requirement, is it not?