特殊:Badtitle/NS100:SourcesList
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/SourcesList }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/af | • {{#if: UbuntuHelp:SourcesList|Afrikaans| [[::SourcesList/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/ar | • {{#if: UbuntuHelp:SourcesList|العربية| [[::SourcesList/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/az | • {{#if: UbuntuHelp:SourcesList|azərbaycanca| [[::SourcesList/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/bcc | • {{#if: UbuntuHelp:SourcesList|جهلسری بلوچی| [[::SourcesList/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/bg | • {{#if: UbuntuHelp:SourcesList|български| [[::SourcesList/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/br | • {{#if: UbuntuHelp:SourcesList|brezhoneg| [[::SourcesList/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/ca | • {{#if: UbuntuHelp:SourcesList|català| [[::SourcesList/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/cs | • {{#if: UbuntuHelp:SourcesList|čeština| [[::SourcesList/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/de | • {{#if: UbuntuHelp:SourcesList|Deutsch| [[::SourcesList/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/el | • {{#if: UbuntuHelp:SourcesList|Ελληνικά| [[::SourcesList/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/es | • {{#if: UbuntuHelp:SourcesList|español| [[::SourcesList/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/fa | • {{#if: UbuntuHelp:SourcesList|فارسی| [[::SourcesList/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/fi | • {{#if: UbuntuHelp:SourcesList|suomi| [[::SourcesList/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/fr | • {{#if: UbuntuHelp:SourcesList|français| [[::SourcesList/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/gu | • {{#if: UbuntuHelp:SourcesList|ગુજરાતી| [[::SourcesList/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/he | • {{#if: UbuntuHelp:SourcesList|עברית| [[::SourcesList/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/hu | • {{#if: UbuntuHelp:SourcesList|magyar| [[::SourcesList/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/id | • {{#if: UbuntuHelp:SourcesList|Bahasa Indonesia| [[::SourcesList/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/it | • {{#if: UbuntuHelp:SourcesList|italiano| [[::SourcesList/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/ja | • {{#if: UbuntuHelp:SourcesList|日本語| [[::SourcesList/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/ko | • {{#if: UbuntuHelp:SourcesList|한국어| [[::SourcesList/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/ksh | • {{#if: UbuntuHelp:SourcesList|Ripoarisch| [[::SourcesList/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/mr | • {{#if: UbuntuHelp:SourcesList|मराठी| [[::SourcesList/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/ms | • {{#if: UbuntuHelp:SourcesList|Bahasa Melayu| [[::SourcesList/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/nl | • {{#if: UbuntuHelp:SourcesList|Nederlands| [[::SourcesList/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/no | • {{#if: UbuntuHelp:SourcesList|norsk| [[::SourcesList/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/oc | • {{#if: UbuntuHelp:SourcesList|occitan| [[::SourcesList/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/pl | • {{#if: UbuntuHelp:SourcesList|polski| [[::SourcesList/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/pt | • {{#if: UbuntuHelp:SourcesList|português| [[::SourcesList/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/ro | • {{#if: UbuntuHelp:SourcesList|română| [[::SourcesList/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/ru | • {{#if: UbuntuHelp:SourcesList|русский| [[::SourcesList/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/si | • {{#if: UbuntuHelp:SourcesList|සිංහල| [[::SourcesList/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/sq | • {{#if: UbuntuHelp:SourcesList|shqip| [[::SourcesList/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/sr | • {{#if: UbuntuHelp:SourcesList|српски / srpski| [[::SourcesList/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/sv | • {{#if: UbuntuHelp:SourcesList|svenska| [[::SourcesList/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/th | • {{#if: UbuntuHelp:SourcesList|ไทย| [[::SourcesList/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/tr | • {{#if: UbuntuHelp:SourcesList|Türkçe| [[::SourcesList/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/vi | • {{#if: UbuntuHelp:SourcesList|Tiếng Việt| [[::SourcesList/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/yue | • {{#if: UbuntuHelp:SourcesList|粵語| [[::SourcesList/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/zh | • {{#if: UbuntuHelp:SourcesList|中文| [[::SourcesList/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/zh-hans | • {{#if: UbuntuHelp:SourcesList|中文(简体)| [[::SourcesList/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SourcesList | UbuntuHelp:SourcesList | {{#if: | :}}SourcesList}}/zh-hant | • {{#if: UbuntuHelp:SourcesList|中文(繁體)| [[::SourcesList/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:SourcesList|:SourcesList|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :SourcesList/zh | | {{#ifexist: SourcesList/zh | | {{#ifeq: {{#titleparts:SourcesList|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SourcesList|1|-1|}} | zh | | }}
The sources.list file is a key factor in adding or upgrading applications to your Ubuntu installation. This is also used by your system for system updates. The file is basically the roadmap for your system to know where it may download programs for installation or upgrade. Below are the preferred methods for updating/editing your sources.list & repositories:
Preferred Methods
This is the preferred method of adding repositories via a graphical interface. UbuntuHelp:AddingRepositoriesHowto This is the preferred method of adding repositories via a terminal-only (server) interface. Command Line
Swamped servers and mirrors
After a release, all of the servers & mirrors can be swamped. If you can wait a day or so they (hopefully) will be back to normal. Alternately: Open up System|Administration|Software Sources, and then select the "Download from: Other". Click on "Select Best Server". That will go through all of the servers/mirrors and ping each one. It will then come back and tell you which one it got the best response from. Note: beware if it comes back with "ftp.caliu.info" as that server is seriously broken & I'm about to file a bug regarding it. If it does, then try to select one manually that might be close to you and give that a try.