<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 12 May 2023, at 1:39 am, Roland Ernst <<a href="mailto:rcrernst@gmail.com" class="">rcrernst@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 24px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class="Apple-interchange-newline"><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 11, 2023 at 3:07 PM James <<a href="mailto:jam@tigger.ws" class="">jam@tigger.ws</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div style="overflow-wrap: break-word;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 11 May 2023, at 7:19 pm, James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank" class="">jfabernathy@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">So if I build the mythtv packages for Debian per:<div class=""><a href="https://www.mythtv.org/wiki/Installing_MythTV_on_Debian" target="_blank" class="">https://www.mythtv.org/wiki/Installing_MythTV_on_Debian</a><br class=""></div><div class=""><br class=""></div><div class="">Except use the following script to to install the packages:</div><div class=""><br class=""></div><div class=""><font color="#007777" style="box-sizing: border-box; font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class="">#! /bin/bash<br style="box-sizing: border-box;" class=""></font><font color="#660066" style="box-sizing: border-box; font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""></font><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""></span><br style="box-sizing: border-box; color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class="">rm /usr/share/my_mythtv_repo/*</span><br style="box-sizing: border-box; color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class="">mv ./*.deb /usr/share/my_mythtv_repo</span><br style="box-sizing: border-box; color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class="">mv ./*.dsc /usr/share/my_mythtv_repo</span><br style="box-sizing: border-box; color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class="">mv ./*.changes /usr/share/my_mythtv_repo</span><br style="box-sizing: border-box; color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class="">cd /usr/share/my_mythtv_repo</span><br style="box-sizing: border-box; color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class="">dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz</span><br class=""></div><div class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""><br class=""></span></div><div class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class="">That works, but what is the process to update mythtv?  Is it something like?:</span></div><div class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class=""><br class=""></span></div><div class=""><span style="color: rgb(79, 76, 73); font-family: Lato, Arial, sans-serif; font-size: 14px; background-color: rgb(246, 246, 246);" class="">git pull</span></div><div class=""><font face="Lato, Arial, sans-serif" color="#4f4c49" class=""><span style="font-size: 14px; background-color: rgb(246, 246, 246);" class="">build-debs.sh</span></font></div><div class=""><font face="Lato, Arial, sans-serif" color="#4f4c49" class=""><span style="font-size: 14px; background-color: rgb(246, 246, 246);" class="">rerun the script above</span></font></div><div class=""><font face="Lato, Arial, sans-serif" color="#4f4c49" class=""><span style="font-size: 14px; background-color: rgb(246, 246, 246);" class="">sudo apt update && sudo apt upgrade</span></font></div></div></div></blockquote></div></div></blockquote><div class=""><br class=""></div><div class="">Yes, that's the way to go.</div><div class="">Additionally, I provide these packages to all of my frontends for installation.</div><div class="">They run the same OS version.<br class=""></div><div class=""><br class=""></div><div class="">Consider to move the build process into a dedicated "chroot" environment or to a VM.</div><div class="">This reduces the amount of installed packages on the production server and provides<span class="Apple-converted-space"> </span><br class=""></div><div class="">additional security.<br class=""></div><div class="">Programs like "fakeroot" should not be installed globally on a production system.<br class=""></div><div class=""><br class=""></div><div class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div style="overflow-wrap: break-word;" class=""><div class=""></div><div class="">Jim as I opined, building packages is just hard work and a waste of time (sure we are just having fun) but I find other things more interesting so I do </div><div class="">$ make -j 9 (cores + 1)</div>$ sudo make install<div class="">whenever you need to update</div><div class="">$ git pull</div><div class="">make n make install</div><div class=""><br class=""></div><div class="">James</div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">At least for Debian bookworm and python 3.11+, you probably will run into problems:<br class=""></div><div class="">See this entry on the mailing list:<br class=""></div><div class=""><a href="http://lists.mythtv.org/pipermail/mythtv-dev/2023-March/079515.html" class="">http://lists.mythtv.org/pipermail/mythtv-dev/2023-March/079515.html</a></div><div class="">or on gossamer threads:</div><div class=""><a href="https://lists.archive.carbon60.com/mythtv/dev/643423" class="">https://lists.archive.carbon60.com/mythtv/dev/643423</a></div></div></div></div></blockquote><br class=""></div><div>Heh Heh</div>You got 2 opinions from opposite ends<div class="">James</div></body></html>