2017-12-02 22:02:37 +00:00
|
|
|
Configure
|
2019-12-11 10:53:09 +00:00
|
|
|
=========
|
2017-12-02 22:02:37 +00:00
|
|
|
|
|
|
|
Keys
|
2019-12-11 10:53:09 +00:00
|
|
|
----
|
2017-12-02 22:02:37 +00:00
|
|
|
|
|
|
|
.. code:: shell
|
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
apt-key add "path/to/key/file"
|
2017-12-02 22:02:37 +00:00
|
|
|
|
|
|
|
Configuration
|
2019-12-11 10:53:09 +00:00
|
|
|
-------------
|
2017-12-02 22:02:37 +00:00
|
|
|
|
|
|
|
* etc/apt/apt.conf
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
APT::Default-Release buster;
|
|
|
|
APT::Get::Show-Versions true;
|
|
|
|
Dpkg::Progress-Fancy true;
|
2017-12-02 22:02:37 +00:00
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
Acquire::Check-Valid-Until false;
|
2017-12-02 22:02:37 +00:00
|
|
|
|
|
|
|
* etc/apt/preferences
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
Package: *
|
|
|
|
Pin: release n=stretch-backports
|
|
|
|
Pin-Priority: 400
|
2017-12-02 22:02:37 +00:00
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
Package: *
|
|
|
|
Pin: release n=buster
|
|
|
|
Pin-Priority: 200
|
2017-12-02 22:02:37 +00:00
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
Package: *
|
|
|
|
Pin: release n=sid
|
|
|
|
Pin-Priority: 100
|
2017-12-02 22:02:37 +00:00
|
|
|
|
|
|
|
* etc/apt/sources.list
|
|
|
|
|
2018-05-10 11:12:44 +00:00
|
|
|
.. todo::
|
|
|
|
|
|
|
|
deb.debian.org ↔ ftp.cc.debian.org
|
2017-12-02 22:02:37 +00:00
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
deb-src https://deb.debian.org/debian sid main contrib non-free
|
2018-07-26 10:01:13 +00:00
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
deb [arch=amd64,i386] https://deb.debian.org/debian sid main contrib non-free
|
2018-07-26 09:59:28 +00:00
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
deb [arch=amd64,i386] https://deb.debian.org/debian bullseye main contrib non-free
|
|
|
|
deb [arch=amd64,i386] https://deb.debian.org/debian bullseye-updates main contrib non-free
|
|
|
|
deb [arch=amd64,i386] https://deb.debian.org/debian-security bullseye-security main contrib non-free
|
2019-08-25 12:13:13 +00:00
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
deb [arch=amd64,i386] https://deb.debian.org/debian buster main contrib non-free
|
|
|
|
deb [arch=amd64,i386] https://deb.debian.org/debian buster-backports main contrib non-free
|
|
|
|
deb [arch=amd64,i386] https://deb.debian.org/debian buster-updates main contrib non-free
|
|
|
|
deb [arch=amd64,i386] https://deb.debian.org/debian-security buster/updates main contrib non-free
|
2018-07-26 09:59:28 +00:00
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
deb [arch=amd64] https://deb.debian.org/debian stretch main contrib non-free
|
|
|
|
deb [arch=amd64] https://deb.debian.org/debian stretch-backports main contrib non-free
|
|
|
|
deb [arch=amd64] https://deb.debian.org/debian stretch-updates main contrib non-free
|
|
|
|
deb [arch=amd64] https://deb.debian.org/debian-security stretch/updates main contrib non-free
|
2017-12-02 22:02:37 +00:00
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
deb [arch=amd64] https://deb.debian.org/debian jessie main contrib non-free
|
|
|
|
deb [arch=amd64] https://deb.debian.org/debian-security jessie/updates main contrib non-free
|
2018-05-10 11:12:44 +00:00
|
|
|
|
|
|
|
.. warning::
|
|
|
|
|
|
|
|
apt's file protocol handling fails with locations containing spaces
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-12-11 10:53:09 +00:00
|
|
|
deb file:/media/deb.debian.org/debian stretch main contrib non-free
|