help/rtfd/public/apt/configure.rst

76 lines
2 KiB
ReStructuredText
Raw Normal View History

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