55 lines
1,012 B
ReStructuredText
55 lines
1,012 B
ReStructuredText
*********
|
|
Configure
|
|
*********
|
|
|
|
Keys
|
|
====
|
|
|
|
.. code:: shell
|
|
|
|
apt-key add "path/to/key/file"
|
|
|
|
Configuration
|
|
=============
|
|
|
|
* etc/apt/apt.conf
|
|
|
|
::
|
|
|
|
APT::Get::Show-Versions true;
|
|
Dpkg::Progress-Fancy true;
|
|
|
|
Acquire::Check-Valid-Until false;
|
|
|
|
* etc/apt/preferences
|
|
|
|
::
|
|
|
|
Package: *
|
|
Pin: release n=stretch-backports
|
|
Pin-Priority: 400
|
|
|
|
Package: *
|
|
Pin: release n=buster
|
|
Pin-Priority: 200
|
|
|
|
Package: *
|
|
Pin: release n=sid
|
|
Pin-Priority: 100
|
|
|
|
* etc/apt/sources.list
|
|
|
|
deb.debian.org ↔ ftp.cc.debian.org
|
|
file:/path
|
|
|
|
::
|
|
|
|
deb http://deb.debian.org/debian stretch main contrib non-free
|
|
deb http://deb.debian.org/debian stretch-backports main contrib non-free
|
|
deb http://deb.debian.org/debian stretch-updates main contrib non-free
|
|
deb http://security.debian.org stretch/updates main contrib non-free
|
|
|
|
deb http://deb.debian.org/debian buster main contrib non-free
|
|
deb http://security.debian.org buster/updates main contrib non-free
|
|
|
|
deb http://deb.debian.org/debian sid main contrib non-free
|