APT 3.3 Lands in Debian Unstable with CLI Versioning Support

APT 3.3 has arrived in Debian Unstable, introducing a notable user-facing change: the removal of the long-standing warning about APT’s “unstable” command-line interface.

For years, users invoking apt in certain scenarios were shown a cautionary message stating that its CLI was not stable and shouldn’t be relied on in scripts. Debian instead recommended using apt-get and apt-cache for scripting, while reserving apt as a more user-friendly tool for interactive use. That warning has now been dropped.

According to the changelog, APT can now request a specific CLI version using the new --cli-version flag. This allows developers to deprecate older interfaces more gradually and removes the need for a blanket warning.

The release also corrects a probability issue in the Phased-Update-Percentage system, which is used to roll out updates incrementally rather than pushing them to all users at once. This mechanism helps limit the impact of problematic updates.

Improvements have also been made to package acquisition. APT now handles transaction cancellation in pkgAcquire::Run more reliably and adjusts the order in which InRelease metadata is committed relative to other transaction steps.

On the usability side, the history list now adapts to screen width, and command shortening has been refined. Pattern parsing has been improved as well, including a fix for handling Pre-Depends relationships correctly.

Under the hood, the codebase has been modernized with wider use of contemporary C++ features such as std::span, range-based loops, emplace, and make_unique. Several minor memory leaks in method-handling code have also been addressed.

APT 3.3 is currently available in Debian Unstable, where new versions are tested before progressing further through Debian’s release pipeline.

For more details, see the changelog.

Leave a Reply

Your email address will not be published. Required fields are marked *