This last part of the line indicates the sections of the repository: main is main, while main restricted indicates restricted software section. Well, to add a repository we just have to go to the end of the document and put the address of the repository and the address of the sources, that is, the deb and deb-src.Īnd how do I know it is a valid repository?Īll valid repository addresses have this format:ĭeb version_name (main or universe or multiverse or main restricted, etc) Be careful, if you comment on a repository, that is, put the # at the beginning of the server address, you must also comment on the address of the sources, otherwise it will give an error.Īnd how do I add a repository that a friend has told me? There are times when the repository is temporarily damaged or we do not want the version of a program from that repository to be installed, then the best option is to put this sign at the beginning of the repository line and we will stop having problems. In any case, when the system sees these symbols at the beginning of the line, it understands that what follows is not necessary and jumps to the next line that does not start with this sign. These lines are commented lines that either have text that explains the repository that follows or they are repositories that we do not want our operating system to access. In addition there will be lines that start with #. The second line indicates the direction of the sources of the programs. The first line indicates the physical address of the server or repository, which is the name given to the server that contains the packages. From here on, various lines begin to appear that begin with " deb http: //" or " deb-src”. The first lines that include the word cd-rom are references to the installation cd, they always come with the words “ deb cdrom:”Even if it was installed via the network or a usb. If we have Ubuntu 12.10 or 12.04 or we have updated to the 12.10 A file will appear with the following It may be that we misspell the address above, the result will be a blank sheet, then we close without saving and retype it. They will ask us for the password and after confirming it, a Gedit screen will open with the text of the file. So ubunlog as I am not responsible for what happens although there are many copies of the Ubuntu sources.list. A good means of security is to open the file with gedit, copy the information and paste it into a LibreOffice text sheet or another gedit. The wrong editing or deletion of the information can make the operating system unstable and even make it inoperative. list file?Įditing such a file is very easy but at the same time it is necessary to do it with administrator permissions. 4 And how do I know it is a valid repository?.3 And how do I add a repository that a friend has told me?.1 How do I edit and enhance my Sources.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |