What’s New In python-apt 1.0

Python-Apt 1.0 fixes several issues and use of deprecated methods. Most importantly, it introduces large file support

New features

Deprecated

The following features are deprecated, starting with this release:

Removed

  • The module apt.progress.gtk2 has been removed. There were no users in the Debian archive, its last update was in 2013, and it was buggy already. Apart from that, it suggested that it is OK to run a graphical application as root, and used the unmaintained GTK+ 2 version.

    Therefore, there is no replacement, please use PackageKit or aptdaemon for installation in graphical environments.

  • The attribute apt_pkg.Package.auto was not set anymore, and thus removed.

Maintenance

  • The classes apt.cache.Cache and apt.cache.FilteredCache no longer store cyclic references to/between them. This fixes a huge issue, because a cache can have tens of open file descriptors, causing the maximum of file descriptors to be reached easily.
  • apt_inst now supports ar and tar archives that are larger than 4 GiB
  • Various smaller bug fixes

Table Of Contents

Previous topic

What’s New In python-apt 0.9.4

Next topic

Python APT Library

This Page