_toctree
This commit is contained in:
parent
94e6467e54
commit
4376dfe409
38 changed files with 50 additions and 58 deletions
64
in/public/packages/apt/configure.rst
Normal file
64
in/public/packages/apt/configure.rst
Normal file
|
@ -0,0 +1,64 @@
|
|||
*********
|
||||
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
|
||||
|
||||
.. todo::
|
||||
|
||||
deb.debian.org ↔ ftp.cc.debian.org
|
||||
|
||||
::
|
||||
|
||||
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
|
||||
|
||||
.. warning::
|
||||
|
||||
apt's file protocol handling fails with locations containing spaces
|
||||
|
||||
::
|
||||
|
||||
deb file:/media/deb.debian.org/debian stretch main contrib non-free
|
7
in/public/packages/apt/index.rst
Normal file
7
in/public/packages/apt/index.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
APT
|
||||
===
|
||||
|
||||
.. toctree::
|
||||
|
||||
configure
|
||||
upgrade
|
27
in/public/packages/apt/upgrade.rst
Normal file
27
in/public/packages/apt/upgrade.rst
Normal file
|
@ -0,0 +1,27 @@
|
|||
*******
|
||||
Upgrade
|
||||
*******
|
||||
|
||||
Hold
|
||||
====
|
||||
|
||||
Hold
|
||||
----
|
||||
|
||||
.. code:: shell
|
||||
|
||||
apt-mark hold linux-*
|
||||
|
||||
Show
|
||||
----
|
||||
|
||||
.. code:: shell
|
||||
|
||||
apt-mark showhold
|
||||
|
||||
Unhold
|
||||
------
|
||||
|
||||
.. code:: shell
|
||||
|
||||
apt-mark unhold linux-*
|
Loading…
Add table
Add a link
Reference in a new issue