[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

VerPriority usage with libapt-pkg-perl

Hi, I'm trying to understand how to use the priority constants
("AptPkg::State::Important", "AptPkg::State::Required",
"AptPkg::State::Standard", "AptPkg::State::Optional" and
"AptPkg::State::Extra") mentioned at the end of the AptPkg(3) man page.
section to find the priority of a package.

I couldn't find any examples of their usage in perl in the supplied
documentation, Google, nor packages that use libapt-pkg-perl, so I'm
wondering if someone could help me out.

Thank you.

Eric Wong

Reply to: