Installing mythtv on centos 5.x

I tried knoppmyth. Didn’t work for me. For some reason, even though I noticed it picked upo my card, I just couldn’t find it in the menus to be able to watch or record anything from tv.

So, I decided to go the old fashioned way.

You will go on mythtv site, read the wiki how-to for installing on centos. then you continue with the howto for installing on fedora as instructed there.

Now, after you got the new kernel and stuff set up, reboot.

Now, you go on with isntalling packages and you end up with mythtv. But, bummer.

at any one point, you’ll get errors like:

Missing Dependency: libpt_linux_x86_r.so.1.10.1 is needed by package opal-2.2.2-1.1.0.1.i386 (installed)

make sure you install all needed keys. like:

[root@localhost ~]# rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY*
[root@localhost ~]# rpm –import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
[root@localhost ~]# rpm –import http://freshrpms.net/RPM-GPG-KEY-freshrpms

[root@localhost ~]# rpm –import http://packages.atrpms.net/RPM-GPG-KEY.atrpms

and then finally

[root@localhost ~]# yum install mythtv

….

Error Downloading Packages:
myththemes-0.24-177.noarch: failure: myththemes-0.24-177.noarch.rpm from atrpms: [Errno 256] No more mirrors to try.

that’s ok, it was just an internet kickup. run install once more…

[root@localhost yum.repos.d]# yum install mythtv

….

Transaction Check Error:
file /usr/share/man/man3/Tie::Watch.3pm.gz conflicts between attempted installs of perl-Tk-804.029-2.el5.pp.i386 and perl-Tie-Watch-1.301-1.el5.pp.noarch
file /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm conflicts between attempted installs of perl-DateManip-5.44-1.2.1.noarch and perl-Date-Manip-6.14-0_15.el5.noarch
file /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pod conflicts between attempted installs of perl-DateManip-5.44-1.2.1.noarch and perl-Date-Manip-6.14-0_15.el5.noarch
file /usr/share/man/man3/Date::Manip.3pm.gz conflicts between attempted installs of perl-DateManip-5.44-1.2.1.noarch and perl-Date-Manip-6.14-0_15.el5.noarch

Ouch!

Few hours of googleing results in:

[root@localhost yum.repos.d]# yum erase perl-Date-Manip-6.14-0_15.el5.noarch

resulting in

Package(s) perl-Date-Manip-6.14-0_15.el5.noarch available, but not installed.

so just ingore

[root@localhost yum.repos.d]# yum erase perl-DateManip-5.44-1.2.1.noarch

does the same thing so ignore again

then

[root@localhost yum.repos.d]# yum install perl-DateManip

….

Package perl-DateManip is obsoleted by perl-Date-Manip, trying to install perl-Date-Manip-6.14-0_15.el5.noarch instead

(now this sounds good)

then

[root@localhost yum.repos.d]# yum install perl-Tk

resulting in

Transaction Check Error:
file /usr/share/man/man3/Tie::Watch.3pm.gz conflicts between attempted installs of perl-Tie-Watch-1.301-1.el5.pp.noarch and perl-Tk-804.029-2.el5.pp.i386

Ouch again!

[root@localhost yum.repos.d]# yum erase perl-Tie-Watch-1.301-1.el5.pp.noarch perl-Tk-804.029-2.el5.pp.i386

then

[root@localhost yum.repos.d]# yum install yum-priorities

then edit each repo and set proper priorities (google as I no longer have the link and I’m just too lazy to search the history) (basically all centos good repos will be 1, testing will be like 10, 3rd party will be 10+ making sure that testing and such always get a higher prio than the base fo the 3rd party)

then

[root@localhost yum.repos.d]# yum erase perl-Tie-Watch

and then

[root@localhost yum.repos.d]# yum install perl-Tk

Uau. That worked 🙂

so now do

[root@localhost yum.repos.d]# yum install perl-Tk-TableMatrix

and then again

[root@localhost yum.repos.d]# yum install mythtv

Missing Dependency: perl(XML::Twig) >= 3.28 is needed by package xmltv-grabbers-0.5.59-84.el5.noarch (atrpms)

Bummer. Ok, this is now because of priorities 😉 Remember, we set them up so that testing will not override base. That is usually a good thing to do. So, lets install it manually:

[root@localhost yum.repos.d]# package-cleanup –problems

Doesn’t hurt 🙂

now lets ignore priorities because it’s a pain going around them (alternatively, don’t enable them. but it could lead you to issues later on when upgrading):

[root@localhost yum.repos.d]# yum install mythtv –disableplugin=priorities

….

Dependency Updated:
perl-XML-Twig.noarch 0:3.29-11.el5

Complete!

Ta-Dah! There. It installed.

Following days, when I’ll get time, I’ll be getting back if and how I get it working.

Related posts

Tags: ,

Leave a Reply

This blog is kept spam free by WP-SpamFree.