[mythtv-users] Mythtv install on Debian 12 (bookworm)
Roland Ernst
rcrernst at gmail.com
Wed Mar 29 18:37:48 UTC 2023
On Wed, Mar 29, 2023 at 1:38 PM James Abernathy <jfabernathy at gmail.com>
wrote:
> I'm trying to install mythtv fixes/33 on the latest Alpha of Debian 12
> bookworm. I'm pretty sure I can do this with the Build from Source method.
>
> However, the wiki still recommends using the method spelled out at
>
> https://www.mythtv.org/wiki/Installing_MythTV_on_Debian
>
> This wiki page is a little out of date and when I tried to follow it I
> changed:
> fixes/30 to fixes/33. I also used the ansible method of getting my
> dependencies as I've had that working with building from source.
>
> All the .deb packages got built, the best I can tell. However, the
> Installing Software instructions are causing me to fail.
>
> I tried these instructions from the directory I built from;
> /home/jim/build/packaging/deb
>
> dpkg-scanpackages -m . | gzip -c > Packages.gz
> echo "deb [trusted=yes] file:///home/jim/build/packaging/deb ./" | sudo tee /etc/apt/sources.list.d/mythtv.list
> sudo apt-get update
> sudo apt-get install mythtv
>
> I'm not sure what this does or why it's needed but it created the mythtv.list file for apt that contained:
>
> deb [trusted=yes] file:///home/jim/build/packaging/deb ./
>
>
> however sudo apt update produced some errors:
>
> jim at debian-mythtv:~/build/packaging/deb$ sudo apt update
> [sudo] password for jim:
> Get:1 file:/home/jim/build/packaging/deb ./ InRelease
> Ign:1 file:/home/jim/build/packaging/deb ./ InRelease
> Get:2 file:/home/jim/build/packaging/deb ./ Release
> Ign:2 file:/home/jim/build/packaging/deb ./ Release
> Get:3 file:/home/jim/build/packaging/deb ./ Packages
> Ign:3 file:/home/jim/build/packaging/deb ./ Packages
> Get:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Ign:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Get:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Ign:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Get:3 file:/home/jim/build/packaging/deb ./ Packages
> Ign:3 file:/home/jim/build/packaging/deb ./ Packages
> Get:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Ign:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Get:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Ign:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Get:3 file:/home/jim/build/packaging/deb ./ Packages
> Ign:3 file:/home/jim/build/packaging/deb ./ Packages
> Get:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Ign:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Get:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Ign:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Get:3 file:/home/jim/build/packaging/deb ./ Packages [10.7 kB]
> Get:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Ign:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Get:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Ign:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Get:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Ign:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Ign:3 file:/home/jim/build/packaging/deb ./ Packages
> Get:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Ign:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Get:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Ign:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Get:3 file:/home/jim/build/packaging/deb ./ Packages
> Ign:3 file:/home/jim/build/packaging/deb ./ Packages
> Get:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Ign:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Get:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Ign:4 file:/home/jim/build/packaging/deb ./ Translation-en
> Get:3 file:/home/jim/build/packaging/deb ./ Packages
> Ign:3 file:/home/jim/build/packaging/deb ./ Packages
> Get:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Ign:5 file:/home/jim/build/packaging/deb ./ Translation-en_US
> Get:3 file:/home/jim/build/packaging/deb ./ Packages
> Err:3 file:/home/jim/build/packaging/deb ./ Packages
> File not found - /home/jim/build/packaging/deb/./Packages (2: No such file or directory)
> Hit:6 http://security.debian.org/debian-security bookworm-security InRelease
> Hit:7 http://deb.debian.org/debian bookworm InRelease
> Reading package lists... Done
> N: Download is performed unsandboxed as root as file '/home/jim/build/packaging/deb/./InRelease' couldn't be accessed by user
> '_apt'. - pkgAcquire::Run (13: Permission denied)
> E: Failed to fetch file:/home/jim/build/packaging/deb/./Packages File not found - /home/jim/build/packaging/deb/./Packages (2
> : No such file or directory)
> E: Some index files failed to download. They have been ignored, or old ones used instead.
>
> It did create a Packages.gz file with the command:
>
> dpkg-scanpackages -m . | gzip -c > Packages.gz
>
> Any ideas of where I went wrong?
>
> Jim A
>
>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230329/1d8529b5/attachment.htm>
More information about the mythtv-users
mailing list