<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 26, 2024 at 6:12 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 26 Feb 2024 15:52:39 -0500, you wrote:<br>
<br>
>In the past I've either used mythtv installed on Ubuntu via ppa or on<br>
>Debian building the packages myself.  Today I tried to install on a fresh<br>
>Debian 12 system v34 using deb-multimedia stable backports.<br>
><br>
>I have the frontend and backend working fine at this point, however some of<br>
>the daily maintenance I try to set up is not working right now.<br>
>Specifically, I get errors on <a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">optimize_mythdb.pl</a>.<br>
><br>
>It maybe a missing package, but I haven't a clue from the messages below<br>
><br>
>jim@den-pc:~$ sudo /usr/share/doc/mythtv/examples/maintenance/<br>
><a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">optimize_mythdb.pl</a><br>
>Can't locate MythTV.pm in @INC (you may need to install the MythTV module)<br>
>(@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0<br>
>/usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36<br>
>/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base<br>
>/usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36<br>
>/usr/local/lib/site_perl) at /usr/share/doc/mythtv/examples/maintenance/<br>
><a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">optimize_mythdb.pl</a> line 15.<br>
>BEGIN failed--compilation aborted at<br>
>/usr/share/doc/mythtv/examples/maintenance/<a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">optimize_mythdb.pl</a> line 15.<br>
><br>
>I've not had this issue before. I thought about installing the dependencies<br>
>using ansible, but since I was not building it myself, I have not done that.<br>
><br>
>JIm A<br>
<br>
The MythTV.pm file is a Perl module found in the libmythtv-perl<br>
package on Ubuntu.  I would also recommend installing the<br>
libmyth-python package so MythTV Python utilities such as<br>
find_orphans.py will also work.<br>
<br>
To find missing files on Ubuntu (and likely Debian also), you can use<br>
"apt-file find".  You have to install the apt-file package, and<br>
remember to run "apt-file update" before using it so it has the latest<br>
package databases.<br><br></blockquote><div><br></div><div>Thanks for the information.  I decided that for me Debian's mythtv package on deb-multimedia is not as complete as the Ubuntu packaging. <br></div><div><br></div><div>For this application it really doesn't matter whether I run Linux Mint or Linux Mint Debian Edition.  <br></div><div><br></div><div>I found that on Debian more offline work is needed to get the Database setup even with the Web App help. <br></div><div><br></div><div>So for me I started over and installed LM21.3 and then Mythtv using the ppa.  I did install mariadb first; I always do that.</div><div><br></div><div>Web App finds mythconverg already setup.  I got the backend/frontend working in about 15 minutes.  I use my systemd timer/service for mythfilldatabase to keep xmltv up to date.</div><div><br></div><div>I use my version of your daily database check, optimize, and backup as a systemd timer/service.  I like that better than the weekly cron job.</div><div><br></div><div>The Ubuntu package for mythtv is complete. I didn't find any missing dependencies.  All the maintenance scripts including find_orphans.py worked perfectly.</div><div><br></div><div>Jim A</div><div><br></div><div><br></div><div><br></div></div></div>