Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails on Debian 12 #49

Closed
jfabernathy opened this issue Feb 28, 2024 · 1 comment
Closed

fails on Debian 12 #49

jfabernathy opened this issue Feb 28, 2024 · 1 comment

Comments

@jfabernathy
Copy link

On a fresh Debian 12 system I tried installing the mythtv dependencies via ansible and got a number of errors. This worked a month ago.

conole log:

./mythtv.yml --limit=localhost
BECOME password: 

PLAY [mythtv_hosts] ************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [include_role : common] ***************************************************

TASK [common : Debian information used to select which roles/tasks run] ********
ok: [localhost] => {
    "msg": [
        "inventory_hostname:                 localhost",
        "ansible_distribution:               Debian",
        "ansible_distribution_release:       bookworm",
        "ansible_distribution_major_version: 12",
        "ansible_lsb.major_release:          12",
        "ansible_pkg_mgr:                    apt"
    ]
}

TASK [include_role : mythtv-deb] ***********************************************

TASK [mythtv-deb : create list of packages known to all Debian distributions] ***
ok: [localhost]

TASK [mythtv-deb : add unique packages based on distributions] *****************
included: /home/jim/ansible/roles/mythtv-deb/tasks/debian.yml for localhost

TASK [mythtv-deb : add compilers and build essentials 2 (debian)] **************
ok: [localhost]

TASK [mythtv-deb : add mythtv extra build libraries (Bullseye and later)] ******
ok: [localhost]

TASK [mythtv-deb : add mythtv extra build libraries (Stretch and later)] *******
ok: [localhost]

TASK [mythtv-deb : add mythtv mysql client libraries (Bullseye and later)] *****
ok: [localhost]

TASK [mythtv-deb : add mythtv essential python modules (Buster or later)] ******
ok: [localhost]

TASK [mythtv-deb : add python3-pip module (bookworm and later)] ****************
ok: [localhost]

TASK [mythtv-deb : set_fact] ***************************************************
ok: [localhost]

TASK [mythtv-deb : set_fact] ***************************************************
ok: [localhost]

TASK [mythtv-deb : add mythtv essential plugin libraries] **********************
ok: [localhost]

TASK [mythtv-deb : final package list] *****************************************
ok: [localhost] => {
    "msg": "git,g++,make,build-essential,nasm,automake,libtool,ccache,pkg-config,cmake,patch,ninja-build,gperf,meson,uuid-dev,libfreetype6-dev,libmp3lame-dev,libxv-dev,libxxf86vm-dev,libxinerama-dev,libxrandr-dev,libxml2-dev,libavahi-compat-libdnssd-dev,libexiv2-dev,libasound2-dev,libegl1-mesa-dev,liblzo2-dev,libhdhomerun-dev,libsamplerate0-dev,libxnvctrl-dev,libzip-dev,libsoundtouch-dev,libva-dev,libdrm-dev,libvdpau-dev,libass-dev,libxvidcore-dev,libx264-dev,libvpx-dev,libbluray-bdj,libavc1394-dev,libiec61883-dev,libpulse-dev,libfftw3-dev,libssl-dev,libsystemd-dev,libgnutls28-dev,libdbi-perl,libdbd-mysql-perl,libnet-upnp-perl,libwww-perl,libio-socket-inet6-perl,libdate-manip-perl,libxml-simple-perl,libxml-xpath-perl,libimage-size-perl,libdatetime-format-iso8601-perl,libsoap-lite-perl,libjson-perl,libfindbin-libs-perl,perl-modules,libvorbis-dev,libflac-dev,libflac++-dev,libtag1-dev,libcdio-dev,libcdio-paranoia-dev,libtool-bin,libcec-dev,libbluray-dev,libx265-dev,default-libmysqlclient-dev,libmariadb-dev-compat,python3-future,python3-oauthlib,python3-pycurl,python3-requests,python3-requests-cache,python3-lxml,python3-mysqldb,python3-simplejson,python3-setuptools,python3-pip,libminizip-dev"
}

TASK [mythtv-deb : install packages] *******************************************
fatal: [localhost]: FAILED! => {"cache_update_time": 1709083849, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'g++=4:12.2.0-3' 'make=4.3-4.1' 'build-essential=12.9' 'nasm=2.16.01-1' 'automake=1:1.16.5-1.3' 'libtool=2.4.7-5' 'ccache=4.8+really4.7.5-1' 'pkg-config=1.8.1-1' 'cmake=3.25.1-1' 'ninja-build=1.11.1-1' 'gperf=3.1-1' 'meson=1.0.1-5' 'uuid-dev=2.38.1-5+b1' 'libfreetype6-dev=2.12.1+dfsg-5' 'libmp3lame-dev=1:3.100-dmo2' 'libxv-dev=2:1.0.11-1.1' 'libxxf86vm-dev=1:1.1.4-1+b2' 'libxinerama-dev=2:1.1.4-3' 'libxrandr-dev=2:1.5.2-2+b1' 'libxml2-dev=2.9.14+dfsg-1.3~deb12u1' 'libavahi-compat-libdnssd-dev=0.8-10' 'libexiv2-dev=0.27.6-1' 'libasound2-dev=1.2.8-1+b1' 'libegl1-mesa-dev=22.3.6-1+deb12u1' 'liblzo2-dev=2.10-2' 'libhdhomerun-dev=20220303-3' 'libsamplerate0-dev=0.2.2-3' 'libxnvctrl-dev=525.85.05-3~deb12u1' 'libzip-dev=1.7.3-1+b1' 'libsoundtouch-dev=2.3.2+ds1-1' 'libva-dev=2.17.0-1' 'libdrm-dev=2.4.114-1+b1' 'libvdpau-dev=1.5-2' 'libass-dev=2:0.17.1-dmo1' 'libxvidcore-dev=3:1.3.7-dmo1' 'libx264-dev=4:0.164.3107+gita8b68eb-dmo1' 'libvpx-dev=1.12.0-1+deb12u2' 'libbluray-bdj=2:1.3.4-dmo2' 'libavc1394-dev=0.5.4-5' 'libiec61883-dev=1.2.0-6+b1' 'libpulse-dev=16.1+dfsg1-2+b1' 'libfftw3-dev=3.3.10-1' 'libssl-dev=3.0.11-1~deb12u2' 'libsystemd-dev=252.22-1~deb12u1' 'libgnutls28-dev=3.7.9-2+deb12u2' 'libxml-simple-perl=2.25-2' 'libimage-size-perl=3.300-3' 'libfindbin-libs-perl=3.0.2-1' 'libvorbis-dev=1.3.7-1' 'libflac-dev=1.4.2+ds-2' 'libflac++-dev=1.4.2+ds-2' 'libtag1-dev=1.13-2' 'libcdio-dev=1:2.1.0-dmo3' 'libcdio-paranoia-dev=10.2+2.0.1-dmo1' 'libtool-bin=2.4.7-5' 'libcec-dev=2:6.0.2-dmo3' 'libbluray-dev=2:1.3.4-dmo2' 'libx265-dev=1:3.5-dmo2' 'default-libmysqlclient-dev=1.1.0' 'libmariadb-dev-compat=1:10.11.6-0+deb12u1' 'python3-oauthlib=3.2.2-1' 'python3-setuptools=66.1.1-1' 'python3-pip=23.0.1+dfsg-1' 'libminizip-dev=1.1-8+deb12u1'' failed: E: Unable to correct problems, you have held broken packages.\n", "rc": 100, "stderr": "E: Unable to correct problems, you have held broken packages.\n", "stderr_lines": ["E: Unable to correct problems, you have held broken packages."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n libx264-dev : Depends: libx264-164 (= 4:0.164.3107+gita8b68eb-dmo1) but 4:0.164.3179+git12426f5-dmo0~bpo12+1 is to be installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Some packages could not be installed. This may mean that you have", "requested an impossible situation or if you are using the unstable", "distribution that some required packages have not yet been created", "or been moved out of Incoming.", "The following information may help to resolve the situation:", "", "The following packages have unmet dependencies:", " libx264-dev : Depends: libx264-164 (= 4:0.164.3107+gita8b68eb-dmo1) but 4:0.164.3179+git12426f5-dmo0~bpo12+1 is to be installed"]}

PLAY RECAP *********************************************************************
localhost                  : ok=14   changed=0    unreachable=0    failed=1    skipped=13   rescued=0    ignored=0   

@jfabernathy
Copy link
Author

Sorry for the noise. On a fresh install of Debian 12 ansible works as expected. the DMO repo was already included on the previous test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant