Bol released a new version of the package manager APT, numbered 2.0.
Zmeny:
- Commands accepting package names now support patterns. Their syntax is similar to aptitude. Pozor! Masks and regular expressions are no longer supported! Instead, patterns are used.
- New commands 'apt satisfy' and 'apt-get satisfy' allow fulfilling dependencies specified.
- Pins can be specified by source 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 hash families MD5, SHA1, and SHA2.
- Požiadavka na verziu štandardu C++ bola zvýšená na C++14.
- All code marked as deprecated in 1.8 has been removed.
- Pointers within the cache are now statically typed. They cannot be compared to integers (except 0 through nullptr).
- apt-pkg can now be found using pkg-config.
- The apt-inst library has been merged with the apt-pkg library.
The license of the original text is CC BY-SA 4.0.
Zdroj: linux.org.ru
