欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

ubuntu20.04 LTS系統(tǒng)默認源sources.list文件的修改

 更新時間:2020年08月23日 16:51:47   作者:zj@zlab  
這篇文章主要介紹了ubuntu20.04 LTS系統(tǒng)默認源sources.list文件的修改,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧

如果不慎修改了source.list內(nèi)容,導致一系列錯誤,建議恢復(fù)默認源文件。

sudo gedit /etc/apt/sources.list

然后把下面默認源內(nèi)容復(fù)制進去

ubuntu20.LTS系統(tǒng)默認源sources.list文件內(nèi)容

#deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://cn.archive.ubuntu.com/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 http://cn.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal universe
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://cn.archive.ubuntu.com/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 http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://cn.archive.ubuntu.com/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
## 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/ focal-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/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 http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

# This system was installed using small removable media
# (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

到此這篇關(guān)于ubuntu20.04 LTS系統(tǒng)默認源sources.list文件的修改的文章就介紹到這了,更多相關(guān)ubuntu20.04 LTS sources.list內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!

相關(guān)文章

  • 解決Linux system v 共享內(nèi)存問題

    解決Linux system v 共享內(nèi)存問題

    這篇文章主要介紹了Linux system v 共享內(nèi)存問題,本文給大家介紹的非常詳細,具有一定的參考借鑒價值,需要的朋友可以參考下
    2019-07-07
  • Linux運維基礎(chǔ)系統(tǒng)磁盤管理教程

    Linux運維基礎(chǔ)系統(tǒng)磁盤管理教程

    這篇文章主要介紹了Linux運維基礎(chǔ)系統(tǒng)磁盤管理教程,附含詳細的源碼示例,有需要的朋友可以借鑒參考下,希望可以有所幫助,祝大家同學習共進步
    2021-09-09
  • Linux VPS配置Web網(wǎng)站環(huán)境一鍵包(LNMP/LAMP/LNMPA)

    Linux VPS配置Web網(wǎng)站環(huán)境一鍵包(LNMP/LAMP/LNMPA)

    如果我們是資深Linux用戶,可能不屑于網(wǎng)上免費Linux Web一鍵包、管理面板的安裝,然后自己編譯或者自由的一套環(huán)境安裝配置環(huán)境。但是,對于大部分用戶而言,麥子個人建議還是選擇較為成熟的WEB一鍵包或者面板安裝環(huán)境
    2017-02-02
  • ubuntn備份方法總結(jié)(四種)

    ubuntn備份方法總結(jié)(四種)

    本文給大家收藏整理了四種關(guān)于ubuntn備份方法,每種方法給大家介紹的非常詳細,具有一定的參考借鑒價值,需要的朋友參考下吧
    2018-11-11
  • Linux sftp命令用法

    Linux sftp命令用法

    這篇文章主要介紹了Linux sftp命令用法,小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧
    2021-12-12
  • 淺談Linux下通過find命令進行rm文件刪除的小技巧

    淺談Linux下通過find命令進行rm文件刪除的小技巧

    下面小編就為大家?guī)硪黄獪\談Linux下通過find命令進行rm文件刪除的小技巧。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧
    2016-12-12
  • Linux下Nginx安裝的方法(pcre和openssl)

    Linux下Nginx安裝的方法(pcre和openssl)

    本篇文章主要介紹了Linux下Nginx安裝的方法(pcre和openssl),小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧
    2018-02-02
  • 詳解linux中的strings命令簡介

    詳解linux中的strings命令簡介

    本篇文章主要介紹了linux中的strings命令簡介,在linux下搞軟件開發(fā)的朋友, 幾乎沒有不知道strings命令的。非常具有實用價值,需要的朋友可以參考下。
    2016-12-12
  • Linux如何搭建文件服務(wù)器

    Linux如何搭建文件服務(wù)器

    這篇文章主要介紹了Linux如何搭建文件服務(wù)器,包括基于centos7.9搭建http文件服務(wù)器,基于centos7.9搭建nginx文件服務(wù)器以及基于ubuntu2204搭建http文件服務(wù)器,本文給大家介紹的非常詳細,需要的朋友參考下吧
    2023-10-10
  • Linux文件刪除后空間未釋放問題詳解

    Linux文件刪除后空間未釋放問題詳解

    這篇文章主要給大家介紹了關(guān)于Linux文件刪除后空間未釋放問題的相關(guān)資料,文中通過示例代碼介紹的非常詳細,對大家學習或者使用Linux具有一定的參考學習價值,需要的朋友們下面來一起學習學習吧
    2020-05-05

最新評論