View Full Version : how to remove repository?

30th July 2007, 08:46 AM
hey, had to temporarily install a repository to check if a package works, but now everytime i start the computer it seems to connect to it to check for updates i think, though i have no packages installed from there. How can I remove the extra repository and its gpg keys?

30th July 2007, 08:50 AM
If it was a repository that uses a *-release package to enable (for example, livna-release for Livna, freshrpms-release for Freshrpms, adobe-release-i386 for Adobe), then just remove the corresponding package.

30th July 2007, 08:51 AM

No real need to remove it, just disable it. As root, edit the file /etc/yum.repos.d/<reponame>.repo (insert the offending reponame) and change the line "enabled=1" to enabled=0". You can always enable it again if you need to in the future, rather than just vaporizing it. If you really feel the need to do so, then just delete the offending .repo file.


30th July 2007, 11:12 PM
Thank you, Hlinger. That answered a handful of my lingering questions as well.