A new release of the APT package manager has been released, the number of which is 2.0.
Changes:
- Commands that accept package names now support wildcards. Their syntax is aptitude-like. Attention! Masks and regular expressions are no longer supported! Templates are used instead.
- New "apt satisfy" and "apt-get satisfy" commands to satisfy the dependencies that have been specified.
- Pins could be specified by source packages by adding src: to the package name, for example:
Package: src:apt
Pin:version2.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 C++ standard version requirement 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 0 via nullptr).
- apt-pkg can now be found using pkg-config.
- The apt-inst library has been merged into the apt-pkg library.
The original text license is CC BY-SA 4.0.
Source: linux.org.ru