Javascript, everything up to Async and Await: 62:23 hrs, from August 9th to November 17th.ġ03: 9:09 hrs, from November 19th to November 25th. Web Development 101 / Fundamentals Path: 40:36 hrs, from July 7th to August 8th. Sorry for being so late, even though i haven't finished it yet, here are some stats: How good would you say that you learned JavaScript? Recreate the directory: sudo mkdir /etc/apt/ like a dick, but their own estimate is at 1000 hours (six months at 40 hours a week). Move the directory containing the PPA files to the ~/answer directory: sudo mv /etc/apt// ~/answer If after restoring the repositories, you're still facing errors then you need to remove all the PPA files too. Replace the sources.list: sudo mv ~/answer/sources.list /etc/apt/īy default, the directory which contains all the PPA files is empty. cd ~/answer/Ĭhange the sources.list to match your version: sudo sed -i "s/focal/$(lsb_release -c -s)/" ~/answer/sources.listīackup your current sources.list: sudo mv /etc/apt/sources.list /etc/apt/ Here is a better way to get all the default repositories back.Ĭreate a directory where we can run our commands: sudo mkdir ~/answerĭownload the sources.list for Ubuntu 20.04 focal. #CARA MENGEMBALIKAN FILE YANG KE REPLACE INSTALL#This will update your repository index with the current sources.list and then you can install any software using Software Center, Synaptic or apt-get. sudo mv /etc/apt/sources.list /etc/apt/Ĭopy/paste all the text from the newly generated sources.list to this file. Run the following commands in a Terminal. Replace the old sources.list with the new one Now, click the Generate List button at the bottom of that page and you'll see your generated sources.list. If you want to install software from Canonical Partner Repositories (closed source software), enable the Ubuntu Partner Repositories (both of them).Įnable any 3rd party repository you wish to enable. All of the Ubuntu Branches repositories.Note 4: You can find some explanation of the repositories in this my other answerįor releases prior to and including 18.04, you can use (currently, 20.04 and later are not supported by this tool).įor the default set of repositories, you need to enable these repositories. You can disable one or more of them by removing the word. Note 3: There are repository lines which includes all four components: main, universe, restricted, multiverse. apt will ignore it, so any repositories mentioned on that line will be disabled. Note 2: Using # at the start of the line makes that line a comment. deb is for binary packages and deb-src is for source packages. Note 1: the word deb and deb-src refers to the repository format. To replace the word, you can use this sed command (assuming you copied the sources content in /etc/apt/sources.list): sudo sed -i "s/precise/$(lsb_release -c -s)/" /etc/apt/sources.list You can see which name you should use with this command: lsb_release -c -s If you're using another release, you need to replace the precise word with your Ubuntu release name. # Ubuntu Main Reposĭeb precise main restricted universe multiverseĭeb-src precise main restricted universe multiverseĭeb precise-security main restricted universe multiverseĭeb precise-updates main restricted universe multiverseĭeb precise-proposed main restricted universe multiverseĭeb precise-backports main restricted universe multiverseĭeb-src precise-security main restricted universe multiverseĭeb-src precise-updates main restricted universe multiverseĭeb-src precise-proposed main restricted universe multiverseĭeb-src precise-backports main restricted universe multiverse This is the sources.list file for 12.04 Precise Pangolin. (This image is later added from Ubuntu xenial, so there can be some differences) I recommend selecting the security and updates channels at least. To do so, switch to Updates tab and select one or more updates channel. You must enable some repositories from the new window in order to create a new sources.list file in /etc/apt/.Īfter enabling some sources from Ubuntu software tab, you can enable updates. Then, change the server to Main server or to any other server of your choice. This will open software-properties-gtk with no repository selected. Open Software & Updates software-properties-gtk Move the corrupted one to the safe place sudo mv /etc/apt/sources.list ~/Īnd recreate it sudo touch /etc/apt/sources.list Open a terminal ( Pressing Ctrl+ Alt+ T ) and do these
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |