Tags

, ,

Sublime is an awesome editor that supports both Fedora 17 and 18. But when you update Fedora 18 to the latest version, simply you can not perform any yum functions because of http://repo.cloudhike.com/sublime2/fedora/19/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

This is just a problem with the OS release version found in sublime2.repo file under /etc/yum.repos.d

To clear this problem just open /etc/yum.repos.d/sublime2.repo in your text editor, that will looks like

[sublime2]
name=Sublime2
failovermethod=priority
baseurl=http://repo.cloudhike.com/sublime2/fedora/$releasever/$basearch/
enabled=1
metadata_expire=1d
gpgcheck=1
gpgkey=http://repo.cloudhike.com/RPM-GPG-KEY-makewhatis

[sublime2-dev]
name=Sublime2
failovermethod=priority
baseurl=http://repo.cloudhike.com/sublime2_dev/fedora/$releasever/$basearch/
enabled=0
metadata_expire=0d
gpgcheck=1
gpgkey=http://repo.cloudhike.com/RPM-GPG-KEY-makewhatis

[sublime2-nightly]
name=Sublime2
failovermethod=priority
baseurl=http://repo.cloudhike.com/sublime2_nightly/fedora/$releasever/$basearch/
enabled=0
metadata_expire=0d
gpgcheck=1
gpgkey=http://repo.cloudhike.com/RPM-GPG-KEY-makewhatis

Now change $releasever> to 18 and save it, so the modified file will looks like

[sublime2]
name=Sublime2
failovermethod=priority
baseurl=http://repo.cloudhike.com/sublime2/fedora/18/$basearch/
enabled=1
metadata_expire=1d
gpgcheck=1
gpgkey=http://repo.cloudhike.com/RPM-GPG-KEY-makewhatis

[sublime2-dev]
name=Sublime2
failovermethod=priority
baseurl=http://repo.cloudhike.com/sublime2_dev/fedora/18/$basearch/
enabled=0
metadata_expire=0d
gpgcheck=1
gpgkey=http://repo.cloudhike.com/RPM-GPG-KEY-makewhatis

[sublime2-nightly]
name=Sublime2
failovermethod=priority
baseurl=http://repo.cloudhike.com/sublime2_nightly/fedora/18/$basearch/
enabled=0
metadata_expire=0d
gpgcheck=1
gpgkey=http://repo.cloudhike.com/RPM-GPG-KEY-makewhatis

Thats all, now you can perform all your yum operations

Advertisements