< 所有主题
Print

Linux

 

/etc/apt/

Ubuntu更新源(repository)

arben@ubuntu:~$ ll /etc/apt/
total 36
drwxr-xr-x   7 root root 4096 Dec 14  2019 ./
drwxr-xr-x 106 root root 4096 Dec  5 14:05 ../
drwxr-xr-x   2 root root 4096 Dec  5 14:02 apt.conf.d/
drwxr-xr-x   2 root root 4096 May  7  2019 auth.conf.d/
drwxr-xr-x   2 root root 4096 Apr 20  2018 preferences.d/
-rw-r--r--   1 root root 2799 Dec 14  2019 sources.list
-rw-r--r--   1 root root 2765 Aug  5  2019 sources.list.curtin.old
drwxr-xr-x   2 root root 4096 Apr 20  2018 sources.list.d/
drwxr-xr-x   2 root root 4096 Aug  5  2019 trusted.gpg.d/
arben@ubuntu:~$ ll /etc/apt/apt.conf.d/
total 56
drwxr-xr-x 2 root root 4096 Dec  5 14:02 ./
drwxr-xr-x 7 root root 4096 Dec 14  2019 ../
-rw-r--r-- 1 root root 1018 May  7  2019 01autoremove
-r--r--r-- 1 root root 2798 Dec  5 14:02 01autoremove-kernels
-rw-r--r-- 1 root root   42 Apr 20  2018 01-vendor-ubuntu
-rw-r--r-- 1 root root  129 Nov 12  2018 10periodic
-rw-r--r-- 1 root root  108 Nov 12  2018 15update-stamp
-rw-r--r-- 1 root root   85 Nov 12  2018 20archive
-rw-r--r-- 1 root root   80 Apr 29  2019 20auto-upgrades
-rw-r--r-- 1 root root  114 Jun  5  2019 20snapd.conf
-rw-r--r-- 1 root root  625 Mar 16  2018 50command-not-found
-rw-r--r-- 1 root root 3800 Feb 17  2020 50unattended-upgrades
-rw-r--r-- 1 root root  182 Feb 28  2018 70debconf
-rw-r--r-- 1 root root  305 Nov 12  2018 99update-notifier
arben@ubuntu:~$ ll /etc/apt/auth.conf.d/
total 8
drwxr-xr-x 2 root root 4096 May  7  2019 ./
drwxr-xr-x 7 root root 4096 Dec 14  2019 ../
arben@ubuntu:~$ ll /etc/apt/preferences.d/
total 8
drwxr-xr-x 2 root root 4096 Apr 20  2018 ./
drwxr-xr-x 7 root root 4096 Dec 14  2019 ../
arben@ubuntu:~$ ll /etc/apt/sources.list.d/
total 8
drwxr-xr-x 2 root root 4096 Apr 20  2018 ./
drwxr-xr-x 7 root root 4096 Dec 14  2019 ../
arben@ubuntu:~$ ll /etc/apt/trusted.gpg.d/
total 20
drwxr-xr-x 2 root root 4096 Aug  5  2019 ./
drwxr-xr-x 7 root root 4096 Dec 14  2019 ../
-rw-r--r-- 1 root root 2796 Sep 17  2018 ubuntu-keyring-2012-archive.gpg
-rw-r--r-- 1 root root 2794 Sep 17  2018 ubuntu-keyring-2012-cdimage.gpg
-rw-r--r-- 1 root root 1733 Sep 17  2018 ubuntu-keyring-2018-archive.gpg
arben@ubuntu:~$ cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu bionic main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu bionic-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu bionic universe
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic universe
deb http://cn.archive.ubuntu.com/ubuntu bionic-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu bionic multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic multiverse
deb http://cn.archive.ubuntu.com/ubuntu bionic-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://cn.archive.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic-security main restricted
deb http://cn.archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic-security universe
deb http://cn.archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu bionic-security multiverse
arben@ubuntu:~$ 

 

标签:
目录