Wurin ajiya na Ubuntu da Sources.list

sources.list

An sadaukar da wannan sakon ga waɗancan sababbi ga rarraba kuma musamman a cikin GNU/Linux duniya. A yau za mu yi magana game da ɗayan mahimman fayiloli a cikin Linux, musamman fayil ɗin sources.list. Sunan wannan fayil ɗin ya riga ya kasance mai ban sha'awa sosai kuma yana nuna abin da zai iya zama, ƙaramin Ingilishi da muka sani.

Aikin rarraba Gnu / Linux mai sauƙi ne, muna da abubuwan haɗin tsarin aiki a gefe ɗaya kuma ɗayan muna da haɗin haɗi zuwa sabar inda aka samar da tsarin aiki da shirye-shirye, fakitoci da sabuntawa. Wannan ingancin da yawancin rashin hankali game da tsaro na iya zama kamar babban rami ɗayan kyawawan halaye ne wanda yake da shi kuma yana ba da damar rarrabawa su inganta kowace rana.

Ubuntu Yana da jerin sabobin sabobin da jerin aikace-aikace waɗanda ke ba mu damar sabuntawa da kuma amintar da tsarin aikin mu, da haɓaka hulɗar mu da sabunta ƙwarewarmu. Amma duk da haka, abin da ke aiki mafi kyau, ko abin da koyaushe zai yi aiki ko da wane nau'in tsarin da muke ciki, yana gyara fayil ɗin Source.list da hannu.

Ta yaya zan gyara da haɓaka fayil na Source.list?

Gyara irin wannan fayil ɗin yana da sauƙi, amma a lokaci guda ya zama dole don yin shi tare da izinin gudanarwa.

[LALLAI] Kuskuren gyara ko share bayanan na iya sa tsarin aiki ya kasance mara ƙarfi kuma har ma ya zama mara aiki. Kyakkyawan hanyar tsaro ita ce buɗe fayil ɗin tare da editan rubutu, kwafi bayanin kuma manna shi cikin wani fayil daban. Da yawa ubunlog kamar ni ba mu da alhakin abin da ka iya faruwa, ko da yake akwai da yawa kofe na Ubuntu kafofin.list.

Mun bude tashar kuma mu rubuta:

sudo nano /etc/apt/sources.list

Za su tambaye mu kalmar sirri kuma, bayan tabbatar da shi, allon nano zai buɗe tare da rubutun fayil ɗin. Ana iya zaɓar wasu editocin rubutu, amma nano ana amfani da shi sosai kuma yana aiki kai tsaye daga tashar. Wataƙila mun ɓata adireshin da ke sama, a cikin abin da za a nuna zai zama shafi mara kyau, don haka muna rufe ba tare da adanawa ba kuma mu sake rubuta shi, amma wannan lokacin daidai.

Fayil ɗin zai yi kama da haka:

nano editan tare da Source.list

Lines na farko waɗanda suka haɗa da kalmar cd-rom sune nassoshi ga shigarwa cd, koyaushe suna zuwa da kalmomin “bashi cdrom:” ko da an sanya shi akan hanyar sadarwa ko usb. Daga nan, layuka daban-daban sun fara bayyana waɗanda suka fara da "deb http://" ko "deb-src". Layukan da ba a bayyana ba sune na an kunna ma'ajiyar ajiya, a yanayin babban hoton (babban), software da al'umma ke kula da su (duniya).

Layukan da suka fara da ## (kodayake alamar zanta ya isa). sharhi Lines wanda ko dai yana da rubutu wanda ke bayyana ma'ajiyar da ke biye ko kuma ma'ajin da ba mu son tsarin aikin mu ya samu. A kowane hali, lokacin da tsarin ya ga waɗannan alamomin a farkon layin, ya fahimci cewa abin da ke biyo baya ba lallai ba ne kuma ya yi tsalle zuwa layi na gaba wanda bai fara da wannan alamar ba.

Akwai lokutan da ma'ajiyar ta lalace na ɗan lokaci ko kuma ba ma so a saka sigar wani shiri daga wannan matattarar, to mafi kyawun zaɓi shine sanya wannan alamar a farkon layin ajiyar kuma za mu daina samun matsaloli. Yi hankali, idan kayi tsokaci kan wurin ajiyewa, ma'ana, sanya # a farkon adireshin uwar garken, dole ne kuma kayi tsokaci akan adireshin kafofin, in ba haka ba zai bada kuskure.

Kuma ta yaya zan ƙara wurin ajiyar da aboki ya gaya mani?

Da kyau, don ƙara wurin ajiya kawai zamu je ƙarshen takaddar sannan mu sanya adireshin wurin ajiyar da adireshin kafofin, wato, deb da deb-src

Kuma ta yaya zan san shi matattarar ajiya ce?

Duk adiresoshin ajiya masu inganci suna da wannan tsari:

deb http://server_address/folder_name version_name (babban ko sararin samaniya ko multiverse ko babban ƙuntatawa, da sauransu)

Wannan ɓangaren ƙarshe na layin yana nuna sassan wuraren adanawa: main shine babba, yayin babban ƙuntata yana nuna ƙuntataccen ɓangaren software.

Iyakar abin da za'a ɗauka cikin wannan fayil gaba ɗaya shine cewa ya zama dole a yi ƙoƙarin sanya repositories iri ɗaya, wato, na maƙasudin dabba shine mascot na sigar mu na UBUNTU. In ba haka ba, muna yin haɗarin cewa lokacin sabuntawa, tsarin mu yana haɗa fakiti da sigogin kuma yana hauka ya isa yanayin "karye rarraba”, wanda shine lokacin da tsarin amfani da ma’ajin ajiya bai yi aiki yadda ya kamata ba.

Da zarar an saita ma'ajiyar ma'ajiyar ga abin da muke so, kawai mu ajiye, rufe, je kan na'ura mai kwakwalwa kuma mu rubuta:

sudo apt update && sudo apt upgrade

Don haka sabunta jerin fakitin da tsarin aiki ya gane zai fara.

Idan kun karanta duka Tutorial ɗin zaku ga yana da sauƙi, aƙalla gwada ƙoƙarin ganin fayil ɗin. Daraja. Gaisuwa.

Informationarin bayani - Yadda ake ƙara wuraren ajiya na PPA zuwa Debian da rarrabawa bisa ga hakan,


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

3 comments, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Alberto m

    Na gode sosai da bayanin

  2.   Pep m

    Godiya, Merci, Tanke, Godiya, An tilasta….

  3.   José Luis m

    Barka dai, ni sabo ne ga wannan, amma zan tafi da shi duka, bana son wani abu ya koya.
    Ina gaya muku, lokacin da na isa inda canonical…. da kyau, zan ci gaba mataki-mataki…. Tsarin tsarin - Software da Sabuntawa - Sauran software - Ina nuna Canonical Partners (2) Independent (1) - Addara, kuma anan na kwafa da liƙa layin da ya bayyana a sama a matsayin misali don liƙa shi a inda nake tambayar APT, sourceara tushe, da Refresh ko wani abu mai kamanceceniya, kuma a ƙarshe ya gaya mani cewa ya faɗi saboda haɗin, lokacin da nake da haɗi ... kuma na shiga cikin tushen.list tare da Nano, kuma suka ɗauki hoton hoto kawai idan akwai, kuma akwai layuka da yawa waɗanda suka ƙare a gaba, kuma kamar suna gaya mani cewa akwai wani abu da ba daidai ba ... kuma ni ... da kyau babu ra'ayi, yi haƙuri. Za'a iya taya ni? Ina tsammanin ina da 16.04 kuma ina so in sabunta libreoffice aƙalla, ban san yadda zan yi ba. Na gode da amsarku. Duk mafi kyau