Resolving Sublime 2 error on Fedora 19

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s