What’s New In python-apt 1.9

This is a development series, and there will be more API changes in point releases.

Added

  • The method apt_pkg.TagSection.write() has been added
  • The attribute apt_pkg.HashString.hashvalue has been added
  • The constructor apt_pkg.AcquireFile now accepts an apt_pkg.HashStringList as the hash argument.
  • The classes apt_pkg.HashString and apt_pkg.HashStringList gained a new usable property.

Removed

  • The methods called install_protect have been removed
  • The section attribute has been removed from apt_pkg.Package and apt.package.Package
  • The method apt_pkg.rewrite_section() has been removed
  • The attributes apt_pkg.Hashes.md5, apt_pkg.Hashes.sha1, apt_pkg.Hashes.sha256 have been removed
  • The method apt_pkg.Policy.get_match() has been removed.
  • The constructor apt_pkg.AcquireFile no longer takes an md5 argument.

Changed

Bug fixes

  • Fixed unterminated char* array in apt_pkg.TagRemove constructor.