import and adopt libapt-pkg-perl