src/package.cpp: Use candidate version's section

Authored by klode on Jun 19 2019, 9:05 AM.

Description

src/package.cpp: Use candidate version's section

Packages do not really have a section, this moved to Version a few
years ago (they can differ between versions). Let's just use the
candidate's section, if there is one.

Details

Committed
klodeJun 19 2019, 10:08 AM
Differential Revision
D21896: Port to APT 1.9.0
Parents
R548:912f2e7bc512: Use GetCandidateVersion() instead of GetCandidateVer()
Branches
Unknown
Tags
Unknown