- cat /etc/apt/apt.conf.d/01ubuntu
APT::Default-Release "trusty";
- cat /etc/apt/preferences.d/apt-fix-1001
Package: apt
Pin: release a=xenial-security,c=main,o=Ubuntu,l=Ubuntu
Pin-Priority: 1001
- cat /etc/apt/sources.list.d/apt-fix.list
deb http://archive.ubuntu.com/ubuntu xenial-security main
- apt-get install -t xenial-security apt
- apt-cache policy apt
- cat /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-security_InRelease | head -n 20
Apt package pinning and priorities Debian package management Ubuntu Pinning