<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 28, 2023 at 5:36 AM Mike Perkins <<a href="mailto:mikep@randomtraveller.org.uk">mikep@randomtraveller.org.uk</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 27/06/2023 22:38, James Abernathy wrote:<br>
> On Tue, Jun 27, 2023 at 4:04 PM Roland Ernst <<a href="mailto:rcrernst@gmail.com" target="_blank">rcrernst@gmail.com</a>> wrote:<br>
> <br>
>><br>
>> On Mon, Jun 26, 2023 at 9:52 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>><br>
>> wrote:<br>
>><br>
>>><br>
>>> I think this blog has the backend part of building the repo I need. It<br>
>>> looks like I could modify it to be combined with the Debian package build<br>
>>> that is already shown in the wiki. I could host it on my server for the<br>
>>> home network.<br>
>>><br>
>>><br>
>>> <a href="https://earthly.dev/blog/creating-and-hosting-your-own-deb-packages-and-apt-repo/" rel="noreferrer" target="_blank">https://earthly.dev/blog/creating-and-hosting-your-own-deb-packages-and-apt-repo/</a><br>
>>><br>
>>> JIm A<br>
>>><br>
>>><br>
>><br>
>> I would skip the signing procedure for the first tests.<br>
>> If you run an apcahe2 server in your local network, then the following<br>
>> steps might be of interest:<br>
>> Provide MythTV Debian packages via http:<br>
>> This assumes that your local build Debian packages are located in<br>
>> /usr/share/my_mythtv_repo<br>
>><br>
>> Create a file<br>
>> /etc/apache2/conf-available/my_mythtv_repo.conf<br>
>><br>
>> with content<br>
>><br>
>> # conf file for sharing Debian packages<br>
>><br>
>> Alias /my_mythtv_repo /usr/share/my_mythtv_repo<br>
>><br>
>> <Directory /usr/share/my_mythtv_repo><br>
>> Options +Indexes<br>
>> AllowOverride None<br>
>> Require all granted<br>
>> </Directory><br>
>><br>
>> Then run<br>
>> $ sudo a2enconf my_mythtv_repo<br>
>> and<br>
>> $ sudo systemctl reload apache2.service<br>
>><br>
>> Then you should see the directory listing in your web-browser of<br>
>> <a href="http://server_ip/my_mythtv_repo/" rel="noreferrer" target="_blank">http://server_ip/my_mythtv_repo/</a><br>
>><br>
>> This can be used to change your<br>
>> etc/apt/sources.list.d/my_mythtv_repo.list :<br>
>><br>
>> # Local build of mythtv, provided by apache2 in /usr/share/my_mythtv_repo<br>
>> # See <a href="https://help.ubuntu.com/community/Repositories/Personal" rel="noreferrer" target="_blank">https://help.ubuntu.com/community/Repositories/Personal</a><br>
>> deb [trusted=yes] <a href="http://server_ip/my_mythtv_repo/" rel="noreferrer" target="_blank">http://server_ip/my_mythtv_repo/</a> ./<br>
>><br>
>> Caveats: I have not tested this by now<br>
>><br>
>> Roland<br>
>><br>
> <br>
> Thanks a ton. This worked perfectly. The only thing left to solve is what<br>
> I've noticed from the start when I build these packages and try to install<br>
> them. I always get warnings on the sudo apt update. They seem to be<br>
> related to translation-en_US files missing. From Discover on my KDE Plasma<br>
> Debian 12 system I see the following warnings:<br>
> <br>
> E: file:/mnt/nas/networked-files/mythtv-debian-repo ./ Translation-en is<br>
> not (yet) available (File not found -<br>
> /mnt/nas/networked-files/mythtv-debian-repo/./en.gz (2: No such file or<br>
> directory)) E: file:/mnt/nas/networked-files/mythtv-debian-repo ./<br>
> Translation-en is not (yet) available (File not found -<br>
> /mnt/nas/networked-files/mythtv-debian-repo/./en.lz4 (2: No such file or<br>
> directory)) E: file:/mnt/nas/networked-files/mythtv-debian-repo ./<br>
> Translation-en is not (yet) available (File not found -<br>
> /mnt/nas/networked-files/mythtv-debian-repo/./en.zst (2: No such file or<br>
> directory))<br>
> <br>
> The directory path would be /usr/share/my_mythtv_repo except for the fact<br>
> this is from a change I did this morning to put the local repo on a NAS. I<br>
> still get the warnings when it's a http local repo.<br>
> <br>
This looks a little odd. The deb config item is using http:// but the error messages say file://, <br>
which seems to me a different configuration choice, since you can do that with deb repos.<br>
<br>
I'm wondering if you actually need that ./ trailing item in the deb line. It isn't actually doing <br>
anything but could confuse apt and/or apache.<br>
<br>
-- <br>
<br>
Mike Perkins<br></blockquote><div><br></div><div>Well if I remove the ./ sudo apt update will not run. So it's needed. I'm sorry I confused things in my last message. I was trying to show more details. The problem is APT doesn't must except :</div><div> </div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Ign:1 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ InRelease
</span><br>Ign:2 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Release
<br>Ign:3 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Packages
<br>Ign:4 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en <br>Ign:5 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en_US <br>Ign:3 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Packages <br>Ign:4 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en <br>Ign:5 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en_US <br>Ign:3 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Packages <br>Ign:4 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en <br>Ign:5 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en_US <br>Hit:3 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Packages <br>Ign:4 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en <br>Ign:5 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en_US <br>Ign:4 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en <br>Ign:5 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en_US <br>Ign:4 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en <br>Ign:5 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en_US <br>Ign:4 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en <br>Ign:5 <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en_US <br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">However Discover included the actual files that it's expecting:</span></div><div>en.gz<span style="font-family:monospace"><br></span></div><div>en.lz4<br></div><div>en.zst<br></div><div><br></div><div>if you look at <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> you see the files. A portion is below:</div><div><br></div><div><table style="font-family:"Times New Roman""><tbody><tr><td valign="top"><img src="http://192.168.0.125/icons/unknown.gif" alt="[ ]"></td><td><a href="http://192.168.0.125/my_mythtv_repo/libmyth-dbgsym_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb">libmyth-dbgsym_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb</a></td><td align="right">2023-06-27 17:53</td><td align="right">211M</td><td> </td></tr><tr><td valign="top"><img src="http://192.168.0.125/icons/unknown.gif" alt="[ ]"></td><td><a href="http://192.168.0.125/my_mythtv_repo/libmyth-dev_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb">libmyth-dev_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb</a></td><td align="right">2023-06-27 17:53</td><td align="right">484K</td><td> </td></tr><tr><td valign="top"><img src="http://192.168.0.125/icons/unknown.gif" alt="[ ]"></td><td><a href="http://192.168.0.125/my_mythtv_repo/libmyth-python_34.0~master.20230627.281b54893f-0ubuntu0_all.deb">libmyth-python_34.0~master.20230627.281b54893f-0ubuntu0_all.deb</a></td><td align="right">2023-06-27 17:53</td><td align="right">4.1K</td><td> </td></tr><tr><td valign="top"><img src="http://192.168.0.125/icons/unknown.gif" alt="[ ]"></td><td><a href="http://192.168.0.125/my_mythtv_repo/libmyth_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb">libmyth_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb</a></td><td align="right">2023-06-27 17:53</td><td align="right">14M</td><td> </td></tr><tr><td valign="top"><img src="http://192.168.0.125/icons/unknown.gif" alt="[ ]"></td><td><a href="http://192.168.0.125/my_mythtv_repo/libmythtv-perl_34.0~master.20230627.281b54893f-0ubuntu0_all.deb">libmythtv-perl_34.0~master.20230627.281b54893f-0ubuntu0_all.deb</a></td><td align="right">2023-06-27 17:53</td><td align="right">22K</td><td> </td></tr><tr><td valign="top"><img src="http://192.168.0.125/icons/unknown.gif" alt="[ ]"></td><td><a href="http://192.168.0.125/my_mythtv_repo/mytharchive-dbgsym_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb">mytharchive-dbgsym_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb</a></td><td align="right">2023-06-27 17:53</td><td align="right">6.6M</td><td> </td></tr><tr><td valign="top"><img src="http://192.168.0.125/icons/unknown.gif" alt="[ ]"></td><td><a href="http://192.168.0.125/my_mythtv_repo/mytharchive_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb">mytharchive_34.0~master.20230627.281b54893f-0ubuntu0_amd64.deb</a></td></tr></tbody></table></div><div><br></div><div>If you use nala instead of apt you see a little more detail but I don't understand it either</div><div><br></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">jim@den-pc</span><span style="color:rgb(0,0,0)">:</span><span style="font-weight:bold;color:rgb(84,84,255)">~</span><span style="color:rgb(0,0,0)">$ sudo nala update
</span><br><span style="font-weight:bold;color:rgb(255,84,84)">Error:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Packages
</span><br> 404 Not Found [IP: 192.168.0.125 80]
<br><span style="font-weight:bold;color:rgb(255,84,84)">Error:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en
</span><br> 404 Not Found [IP: 192.168.0.125 80]
<br><span style="font-weight:bold;color:rgb(255,84,84)">Error:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Packages
</span><br> 404 Not Found [IP: 192.168.0.125 80]
<br><span style="font-weight:bold;color:rgb(255,84,84)">Error:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en
</span><br> 404 Not Found [IP: 192.168.0.125 80]
<br><span style="font-weight:bold;color:rgb(255,84,84)">Error:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Packages
</span><br> 404 Not Found [IP: 192.168.0.125 80]
<br><span style="font-weight:bold;color:rgb(255,84,84)">Error:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en
</span><br> 404 Not Found [IP: 192.168.0.125 80]
<br><span style="font-weight:bold;color:rgb(255,84,84)">Error:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en
</span><br> 404 Not Found [IP: 192.168.0.125 80]
<br><span style="font-weight:bold;color:rgb(255,84,84)">Error:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en
</span><br> 404 Not Found [IP: 192.168.0.125 80]
<br><span style="font-weight:bold;color:rgb(255,84,84)">Error:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en
</span><br> 404 Not Found [IP: 192.168.0.125 80]
<br><span style="font-weight:bold;color:rgb(84,255,84)">╭─ </span><span style="font-weight:bold;color:rgb(0,0,0)">Updating Package List</span><span style="font-weight:bold;color:rgb(84,255,84)"> ─────────────────────────────────────────────────────────╮</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="font-weight:bold;color:rgb(255,95,0)">Ignored:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ InRelease </span><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="font-weight:bold;color:rgb(255,95,0)">Ignored:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Release </span><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">│No Change:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Packages </span><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="font-weight:bold;color:rgb(255,95,0)">Ignored:</span><span style="color:rgb(0,0,0)"> <a href="http://192.168.0.125/my_mythtv_repo">http://192.168.0.125/my_mythtv_repo</a> ./ Translation-en </span><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">│No Change:</span><span style="color:rgb(0,0,0)"> <a href="http://security.debian.org/debian-security">http://security.debian.org/debian-security</a> bookworm-security InRelease</span><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">│No Change:</span><span style="color:rgb(0,0,0)"> <a href="http://atl.mirrors.clouvider.net/debian">http://atl.mirrors.clouvider.net/debian</a> bookworm InRelease </span><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">│No Change:</span><span style="color:rgb(0,0,0)"> <a href="http://atl.mirrors.clouvider.net/debian">http://atl.mirrors.clouvider.net/debian</a> bookworm-updates InRelease </span><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">│No Change:</span><span style="color:rgb(0,0,0)"> <a href="https://dl.google.com/linux/chrome/deb">https://dl.google.com/linux/chrome/deb</a> stable InRelease </span><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="font-weight:bold;color:rgb(0,0,0)">Fetched 0 Bytes in 0s (0 bytes/s)</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(84,255,84)">│</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,255,84)">╰─────────────────────────────────────────────────────────────────────────────────╯</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">All packages are up to date.</span><br><span style="color:rgb(0,0,0)">
</span><br></span></div><div><font face="monospace">Jim A</font></div><div><font face="monospace"><br></font></div></div></div>