NVIDIA / ansible-role-nvidia-driver

BSD 3-Clause "New" or "Revised" License
117 stars 67 forks source link

Role doesn't work correctly on 22.04 #72

Open svupper opened 1 year ago

svupper commented 1 year ago

Hello, I get that error when trying to provision a EC2 instance running on ubuntu 22.04

TASK [nvidia.nvidia_driver : install driver packages] ** failed: [13.37.164.47] (item=nvidia-headless-515-server) => {"ansible_loop_var": "item", "cache_update_time": 1675822253, "cache_updated": false, "changed": false, "item": "nvidia-headless-515-server", "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'nvidia-headless-515-server=515.86.01-0ubuntu0.22.04.1'' failed: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_5.15.0-58.64_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff5_4.3.0-6ubuntu0.3_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-cfg1-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-compute-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-compute-utils-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-source-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-common-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-dkms-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-headless-no-dkms-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-headless-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "rc": 100, "stderr": "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_5.15.0-58.64_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff5_4.3.0-6ubuntu0.3_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-cfg1-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-compute-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-compute-utils-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-source-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-common-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-dkms-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-headless-no-dkms-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-headless-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr_lines": ["E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_5.15.0-58.64_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff5_4.3.0-6ubuntu0.3_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-cfg1-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-compute-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-compute-utils-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-source-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-common-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-dkms-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-headless-no-dkms-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-headless-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n build-essential bzip2 cpp cpp-11 cpp-12 dctrl-tools dkms dpkg-dev fakeroot\n fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base gcc-12\n libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl\n libasan6 libasan8 libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0\n libcrypt-dev libdeflate0 libdpkg-perl libfakeroot libfile-fcntllock-perl\n libfontconfig1 libgcc-11-dev libgcc-12-dev libgd3 libgomp1 libisl23 libitm1\n libjbig0 libjpeg-turbo8 libjpeg8 liblsan0 libmpc3 libnsl-dev\n libnvidia-cfg1-515-server libnvidia-compute-515-server libpciaccess0\n libquadmath0 libstdc++-11-dev libtiff5 libtirpc-dev libtsan0 libtsan2\n libubsan1 libwebp7 libxpm4 linux-libc-dev lto-disabled-list make\n manpages-dev nvidia-compute-utils-515-server nvidia-dkms-515-server\n nvidia-headless-no-dkms-515-server nvidia-kernel-common-515-server\n nvidia-kernel-source-515-server rpcsvc-proto\nSuggested packages:\n bzip2-doc cpp-doc gcc-11-locales gcc-12-locales debtags menu debian-keyring\n g++-multilib g++-11-multilib gcc-11-doc gcc-multilib autoconf automake\n libtool flex bison gdb gcc-doc gcc-11-multilib gcc-12-multilib gcc-12-doc\n glibc-doc bzr libgd-tools libstdc++-11-doc make-doc\nThe following NEW packages will be installed:\n build-essential bzip2 cpp cpp-11 cpp-12 dctrl-tools dkms dpkg-dev fakeroot\n fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base gcc-12\n libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl\n libasan6 libasan8 libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0\n libcrypt-dev libdeflate0 libdpkg-perl libfakeroot libfile-fcntllock-perl\n libfontconfig1 libgcc-11-dev libgcc-12-dev libgd3 libgomp1 libisl23 libitm1\n libjbig0 libjpeg-turbo8 libjpeg8 liblsan0 libmpc3 libnsl-dev\n libnvidia-cfg1-515-server libnvidia-compute-515-server libpciaccess0\n libquadmath0 libstdc++-11-dev libtiff5 libtirpc-dev libtsan0 libtsan2\n libubsan1 libwebp7 libxpm4 linux-libc-dev lto-disabled-list make\n manpages-dev nvidia-compute-utils-515-server nvidia-dkms-515-server\n nvidia-headless-515-server nvidia-headless-no-dkms-515-server\n nvidia-kernel-common-515-server nvidia-kernel-source-515-server rpcsvc-proto\n0 upgraded, 68 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 108 MB/315 MB of archives.\nAfter this operation, 956 MB of additional disk space will be used.\nIgn:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-58.64\nErr:1 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-58.64\n 404 Not Found [IP: 54.229.116.227 80]\nIgn:2 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5 amd64 4.3.0-6ubuntu0.3\nErr:2 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5 amd64 4.3.0-6ubuntu0.3\n 404 Not Found [IP: 54.229.116.227 80]\nIgn:3 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-cfg1-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:3 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-cfg1-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nIgn:4 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:4 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nIgn:5 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-compute-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:5 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-compute-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nIgn:6 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:6 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nIgn:7 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:7 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nIgn:8 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:8 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nIgn:9 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-no-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:9 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-no-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nIgn:10 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:10 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " build-essential bzip2 cpp cpp-11 cpp-12 dctrl-tools dkms dpkg-dev fakeroot", " fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base gcc-12", " libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl", " libasan6 libasan8 libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0", " libcrypt-dev libdeflate0 libdpkg-perl libfakeroot libfile-fcntllock-perl", " libfontconfig1 libgcc-11-dev libgcc-12-dev libgd3 libgomp1 libisl23 libitm1", " libjbig0 libjpeg-turbo8 libjpeg8 liblsan0 libmpc3 libnsl-dev", " libnvidia-cfg1-515-server libnvidia-compute-515-server libpciaccess0", " libquadmath0 libstdc++-11-dev libtiff5 libtirpc-dev libtsan0 libtsan2", " libubsan1 libwebp7 libxpm4 linux-libc-dev lto-disabled-list make", " manpages-dev nvidia-compute-utils-515-server nvidia-dkms-515-server", " nvidia-headless-no-dkms-515-server nvidia-kernel-common-515-server", " nvidia-kernel-source-515-server rpcsvc-proto", "Suggested packages:", " bzip2-doc cpp-doc gcc-11-locales gcc-12-locales debtags menu debian-keyring", " g++-multilib g++-11-multilib gcc-11-doc gcc-multilib autoconf automake", " libtool flex bison gdb gcc-doc gcc-11-multilib gcc-12-multilib gcc-12-doc", " glibc-doc bzr libgd-tools libstdc++-11-doc make-doc", "The following NEW packages will be installed:", " build-essential bzip2 cpp cpp-11 cpp-12 dctrl-tools dkms dpkg-dev fakeroot", " fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base gcc-12", " libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl", " libasan6 libasan8 libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0", " libcrypt-dev libdeflate0 libdpkg-perl libfakeroot libfile-fcntllock-perl", " libfontconfig1 libgcc-11-dev libgcc-12-dev libgd3 libgomp1 libisl23 libitm1", " libjbig0 libjpeg-turbo8 libjpeg8 liblsan0 libmpc3 libnsl-dev", " libnvidia-cfg1-515-server libnvidia-compute-515-server libpciaccess0", " libquadmath0 libstdc++-11-dev libtiff5 libtirpc-dev libtsan0 libtsan2", " libubsan1 libwebp7 libxpm4 linux-libc-dev lto-disabled-list make", " manpages-dev nvidia-compute-utils-515-server nvidia-dkms-515-server", " nvidia-headless-515-server nvidia-headless-no-dkms-515-server", " nvidia-kernel-common-515-server nvidia-kernel-source-515-server rpcsvc-proto", "0 upgraded, 68 newly installed, 0 to remove and 0 not upgraded.", "Need to get 108 MB/315 MB of archives.", "After this operation, 956 MB of additional disk space will be used.", "Ign:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-58.64", "Err:1 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-58.64", " 404 Not Found [IP: 54.229.116.227 80]", "Ign:2 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5 amd64 4.3.0-6ubuntu0.3", "Err:2 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5 amd64 4.3.0-6ubuntu0.3", " 404 Not Found [IP: 54.229.116.227 80]", "Ign:3 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-cfg1-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:3 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-cfg1-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Ign:4 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:4 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Ign:5 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-compute-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:5 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-compute-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Ign:6 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:6 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Ign:7 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:7 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Ign:8 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:8 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Ign:9 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-no-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:9 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-no-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Ign:10 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:10 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]"]} failed: [13.37.164.47] (item=nvidia-utils-515-server) => {"ansible_loop_var": "item", "cache_update_time": 1675822253, "cache_updated": false, "changed": false, "item": "nvidia-utils-515-server", "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'nvidia-utils-515-server=515.86.01-0ubuntu0.22.04.1'' failed: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-compute-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.225.193 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-utils-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.225.193 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "rc": 100, "stderr": "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-compute-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.225.193 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-utils-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.225.193 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr_lines": ["E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-compute-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.225.193 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-utils-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.225.193 80]", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libnvidia-compute-515-server\nSuggested packages:\n nvidia-driver-515-server\nThe following NEW packages will be installed:\n libnvidia-compute-515-server nvidia-utils-515-server\n0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 50.3 MB of archives.\nAfter this operation, 194 MB of additional disk space will be used.\nIgn:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:1 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.225.193 80]\nIgn:2 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:2 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.225.193 80]\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " libnvidia-compute-515-server", "Suggested packages:", " nvidia-driver-515-server", "The following NEW packages will be installed:", " libnvidia-compute-515-server nvidia-utils-515-server", "0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.", "Need to get 50.3 MB of archives.", "After this operation, 194 MB of additional disk space will be used.", "Ign:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:1 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.225.193 80]", "Ign:2 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:2 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.225.193 80]"]} failed: [13.37.164.47] (item=nvidia-headless-no-dkms-515-server) => {"ansible_loop_var": "item", "cache_update_time": 1675822253, "cache_updated": false, "changed": false, "item": "nvidia-headless-no-dkms-515-server", "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'nvidia-headless-no-dkms-515-server=515.86.01-0ubuntu0.22.04.1'' failed: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-cfg1-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-compute-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-compute-utils-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-common-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-source-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-headless-no-dkms-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "rc": 100, "stderr": "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-cfg1-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-compute-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-compute-utils-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-common-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-source-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-headless-no-dkms-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr_lines": ["E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-cfg1-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/libnvidia-compute-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-compute-utils-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-common-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-source-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-headless-no-dkms-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 54.229.116.227 80]", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libnvidia-cfg1-515-server libnvidia-compute-515-server libpciaccess0\n nvidia-compute-utils-515-server nvidia-kernel-common-515-server\n nvidia-kernel-source-515-server\nThe following NEW packages will be installed:\n libnvidia-cfg1-515-server libnvidia-compute-515-server libpciaccess0\n nvidia-compute-utils-515-server nvidia-headless-no-dkms-515-server\n nvidia-kernel-common-515-server nvidia-kernel-source-515-server\n0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 107 MB/107 MB of archives.\nAfter this operation, 283 MB of additional disk space will be used.\nIgn:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-cfg1-515-server amd64 515.86.01-0ubuntu0.22.04.1\nIgn:2 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1\nIgn:3 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-compute-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1\nIgn:4 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515-server amd64 515.86.01-0ubuntu0.22.04.1\nIgn:5 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1\nIgn:6 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-no-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:1 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-cfg1-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nErr:2 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nErr:3 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-compute-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nErr:4 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nErr:5 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\nErr:6 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-no-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 54.229.116.227 80]\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " libnvidia-cfg1-515-server libnvidia-compute-515-server libpciaccess0", " nvidia-compute-utils-515-server nvidia-kernel-common-515-server", " nvidia-kernel-source-515-server", "The following NEW packages will be installed:", " libnvidia-cfg1-515-server libnvidia-compute-515-server libpciaccess0", " nvidia-compute-utils-515-server nvidia-headless-no-dkms-515-server", " nvidia-kernel-common-515-server nvidia-kernel-source-515-server", "0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.", "Need to get 107 MB/107 MB of archives.", "After this operation, 283 MB of additional disk space will be used.", "Ign:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-cfg1-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Ign:2 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Ign:3 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-compute-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Ign:4 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Ign:5 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Ign:6 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-no-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:1 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-cfg1-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Err:2 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-compute-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Err:3 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-compute-utils-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Err:4 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Err:5 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]", "Err:6 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-headless-no-dkms-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 54.229.116.227 80]"]} failed: [13.37.164.47] (item=nvidia-kernel-source-515-server) => {"ansible_loop_var": "item", "cache_update_time": 1675822253, "cache_updated": false, "changed": false, "item": "nvidia-kernel-source-515-server", "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'nvidia-kernel-source-515-server=515.86.01-0ubuntu0.22.04.1'' failed: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-source-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 34.253.189.82 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "rc": 100, "stderr": "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-source-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 34.253.189.82 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr_lines": ["E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515-server/nvidia-kernel-source-515-server_515.86.01-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 34.253.189.82 80]", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n nvidia-kernel-source-515-server\n0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 31.3 MB of archives.\nAfter this operation, 55.3 MB of additional disk space will be used.\nIgn:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1\nErr:1 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1\n 404 Not Found [IP: 34.253.189.82 80]\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " nvidia-kernel-source-515-server", "0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.", "Need to get 31.3 MB of archives.", "After this operation, 55.3 MB of additional disk space will be used.", "Ign:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1", "Err:1 http://security.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-source-515-server amd64 515.86.01-0ubuntu0.22.04.1", " 404 Not Found [IP: 34.253.189.82 80]"]}

PLAY RECAP ***** 13.37.164.47 : ok=4 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Here is the playbook:

gary-sixgen commented 1 year ago

22.04 is not in the listed support Ubuntu versions

coolrazor007 commented 11 months ago

22.04 is really popular. Anyone taking a stab at updating this role to support it?

aba-rechsteiner commented 7 months ago

@ajdecon Are there any plans to implement support for Ubuntu 22.04?

gdevenyi commented 3 months ago

24.04 is now out.

btravouillon commented 1 month ago

We have been using this role in our test lab with 22.04 for more than a year, everything works out-of-the-box. For 24.04, this works with a few changes in the inventory, see this thread.