ubuntu20.04LTS系统默认源sources.list⽂件的修改
如果不慎修改了source.list内容,导致⼀系列错误,建议恢复默认源⽂件。
sudo gedit /etc/apt/sources.listcentos和ubuntu
php属于网页的文件类型吗然后把下⾯默认源内容复制进去
ubuntu20.LTS系统默认源sources.list⽂件内容
#deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted
# See help.ubuntu/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb cn.archive.ubuntu/ubuntu/ focal main restricted
# deb-src cn.archive.ubuntu/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb cn.archive.ubuntu/ubuntu/ focal-updates main restricted
# deb-src cn.archive.ubuntu/ubuntu/ focal-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 cn.archive.ubuntu/ubuntu/ focal universe
# deb-src cn.archive.ubuntu/ubuntu/ focal universe
deb cn.archive.ubuntu/ubuntu/ focal-updates universe
播放教程用英语怎么说正则表达式匹配html# deb-src cn.archive.ubuntu/ubuntu/ focal-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 cn.archive.ubuntu/ubuntu/ focal multiverse
# deb-src cn.archive.ubuntu/ubuntu/ focal multiverse
deb cn.archive.ubuntu/ubuntu/ focal-updates multiverse
# deb-src cn.archive.ubuntu/ubuntu/ focal-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
c语言颜函数color怎么使用## 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 cn.archive.ubuntu/ubuntu/ focal-backports main restricted universe multiverse
# deb-src cn.archive.ubuntu/ubuntu/ focal-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 archive.canonical/ubuntu focal partner
# deb-src archive.canonical/ubuntu focal partner
deb security.ubuntu/ubuntu focal-security main restricted
# deb-src security.ubuntu/ubuntu focal-security main restricted
deb security.ubuntu/ubuntu focal-security universe
# deb-src security.ubuntu/ubuntu focal-security universe
deb security.ubuntu/ubuntu focal-security multiverse
# deb-src security.ubuntu/ubuntu focal-security multiverse
# This system was installed using small removable media
forma是什么意思中文# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
可以有效解决很多报错
sudo apt update
到此这篇关于ubuntu20.04 LTS系统默认源sources.list⽂件的修改的⽂章就介绍到这了,更多相关ubuntu20.04 LTS sources.list
内容请搜索以前的⽂章或继续浏览下⾯的相关⽂章希望⼤家以后多多⽀持!

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。