https://apt-team.pages.debian.net/python-apt/library/apt_pkg.html