Ignore missing apt-inst library, merged into apt-pkg in apt 1.9
Include additional headers needed in apt 1.9
APT 1.9 dropped some includes from headers, so we actually
need to include the headers we're using.
Use std::string instead of string
APT 1.9 drops a few "using" uses in headers, so we have to use
the namespaced name now.
Port to APT::Upgrade
Port pin writing to pkgTagSection::Write()
Use GetCandidateVersion() instead of GetCandidateVer()
GetCandidateVer() never actually returned the correct candidate,
so this probably also fixes something.
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.
Port Package::md5Sum()
Probably want to export HashStringList instead
Port pkgAcquire setup to use constructor
The Setup() method went away, use the constructor instead.
Use all hashes in aptWorker when acquiring files
Seriously
worker: Include unistd.h for usleep()
usleep() is defined in that header, but the header is not
included.
Read CurrentSize from CurrentItem rather than worker
APT 1.9.0 moves CurrentSize to items, so we use CurrentItem
for now - but that should go away so we can have multiple
current items for http/2 later.
Use ActiveSubprocess instead of Mode
Use APT::Progress::PackageManager for install progress