A new release of the APT package manager has been launched, numbered 2.0.
Changes:
- Commands that accept package names now support patterns. Their syntax is similar to aptitude. Attention! Masks and regular expressions are no longer supported! Instead, patterns are used.
- New commands 'apt satisfy' and 'apt-get satisfy' allow you to meet specified dependencies.
- Pins can be specified by original packages by adding src: to the package name, for example:
Package: src:apt
Pin: version 2.0.0
Pin-Priority: 990
- APT now uses libgcrypt for hashing instead of the built-in reference implementations of the MD5, SHA1, and SHA2 hash families.
- The requirement for the C++ standard has been raised to C++14.
- All code marked as deprecated in 1.8 has been removed.
- Pointers inside the cache are now statically typed. They cannot be compared to integers (except for 0 via nullptr).
- apt-pkg can now be found using pkg-config.
- The apt-inst library has been merged with the apt-pkg library.
The license for the original text is CC BY-SA 4.0.
Source: linux.org.ru
