extract package status and store it with pkgobj