[mythtv-users] Mythtv install on Debian 12 (bookworm)
James Abernathy
jfabernathy at gmail.com
Thu Mar 30 20:40:07 UTC 2023
On Thu, Mar 30, 2023 at 12:45 PM Roland Ernst <rcrernst at gmail.com> wrote:
>
>
> On Wed, Mar 29, 2023 at 11:49 PM James Abernathy <jfabernathy at gmail.com>
> wrote:
>
>>
>>
>> On Wed, Mar 29, 2023 at 3:11 PM James Abernathy <jfabernathy at gmail.com>
>> wrote:
>>
>>>
>>>
>>> On Wed, Mar 29, 2023 at 1:39 PM Roland Ernst <rcrernst at gmail.com> wrote:
>>>
>>>>
>>>> I used this script as root user to copy the debs:
>>>>
>>>> #! /bin/bash
>>>>
>>>> rm /usr/share/my_mythtv_repo/*
>>>> mv ./*.deb /usr/share/my_mythtv_repo
>>>> mv ./*.dsc /usr/share/my_mythtv_repo
>>>> mv ./*.changes /usr/share/my_mythtv_repo
>>>> cd /usr/share/my_mythtv_repo
>>>> dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
>>>>
>>>> Note: The folder /usr/share/my_mythtv_repo/ must exist prior to running
>>>> that script
>>>>
>>>> And this entry in /etc/apt/sources.list.d/my_mythtv_repo.list :
>>>>
>>>> # Local build of mythtv, in /usr/share/my_mythtv_repo
>>>> # See https://help.ubuntu.com/community/Repositories/Personal
>>>> deb [trusted=yes] file:/usr/share/my_mythtv_repo ./
>>>>
>>>> But I have not tested it on bookworm.
>>>>
>>>> Roland
>>>>
>>>
>>>
> Jim,
> this is actually an access rights problem.
> Modern Linux distributions forbid a user to access another user's home
> folder.
> And this is exactly what your terminal output reports:
> file '/home/jim/build/packaging/deb/./InRelease' couldn't be accessed by
> user '_apt'. - pkgAcquire::Run (13: Permission denied)
>
> The user `_apt` does not have access to your home folder.
> In your second run on Debian bookworm (with the folder
> /usr/share/my_mythtv_repo), you forgot to remove the
> the sources.list entry in the file `mythtv.list` for your home folder:
>
> deb [trusted=yes] file:///home/jim/build/packaging/deb ./
>
> This is why you got the same error.
>
> Please make sure that the folder /usr/share/my_mythtv_repo
> and it's files has read access to everyone.
>
> HTH,
> Roland
>
Thanks for spotting my screw up. I made the correct changes and ran again
from the beginning and it works now on Bookworm. I guess the only thing
that is needed is for someone who understands this to update the wiki pages
for v33 and Debian 12.
Thanks for getting it working for me.
I'm debating moving to Debian 12 when it's out officially on my production
backend. I'm tired of all the Snap and Flatpak issues that seem to haunt
Ubuntu.
All my production backend needs is Mythtv and file sharing software like
cifs/smb and a RAID 1 mirror stack.
Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230330/d09d915e/attachment.htm>
More information about the mythtv-users
mailing list