From there, I cannot use any apt-get command. The problem is that I receive this message in my terminal.Į: Malformed entry 60 in list file /etc/apt/sources.list(Component) E: The list of sources could not be read. After I failed to install wine, I always encountered the same problem when I write this command: sudo apt-get update, or just You may find the concept of PPA overwhelming, especially because it is an Ubuntu specific tool and there is no proper documentation available around it.įor this reason, I have written this detailed guide that tells you all the essentials about PPA you should know as an end user.I was trying to download the wine hq, but when I tried to download it, something happened to my computer. The URL of the PPA can be found in the Software Sources list. Now use it in following manner to purge the PPA: sudo ppa-purge ppa-url Install ppa-purge by using the following command: sudo apt-get install ppa-purge It not only disables the PPA but also uninstalls all the programs installed by the PPA or revert them to original version provided by your distribution. So this is when PPA Purge comes in picture. What about the applications installed using these PPAs? Will they be removed as a result of removing the PPA? The answer is NO. You might have noticed that in all the above three methods we only talked about deleting or removing a PPA. Remove a PPA by using ppa-purge in the terminal The -i option with rm command asks before removing a file. list file associated with the PPA using the following command: sudo rm -i /etc/apt//PPA_Name.list Look for your desire PPA here and then remove the. Use the following command to see all the PPAs added in your system: ls /etc/apt/ PPA repositories are store in the form of PPA_Name.list. You can remove the PPA from the sources list where these PPAs are stored. I don’t recommend it as well but it gets the job done. Remove a PPA from the source list in the terminal In the above command replace PPA_Name with the correct PPA name. sudo add-apt-repository -remove ppa:PPA_Name/ppa You can use the command in the following manner. You need to know the exact PPA name here, of course. Just give it -remove option in the command. You can use the same command to remove the PPA as well. It’s most likely that you added the PPA using add-apt-repository command. That was easy, right? Let me show an even easier method with the command line. Afterwards click on Remove to delete the PPA: In the Software & Updates tool, go to Other Software tab and choose the desire PPA from the list. Press the Super key (Windows key) and search for Software & Updates tool. To me, command line is easier but I can understand that not everyone likes it. This method is suitable if you prefer to use GUI over command line. Remove a PPA from Software Sources via GUI You can do it from the Software & Updates application, by removing the source files from the directory or by using the add-apt-repository command. There are several ways to remove a PPA in Ubuntu. You can use the ‘apt remove’ command for that. Note: You should uninstall the application in Ubuntu which was installed by the PPA before removing the PPA itself.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |