I have this def file where I am trying to create a container with ubuntu however I get this error when it is doing the apt-get update command, it was working fine for me like 2 months ago so not sure why it all of sudden gives me this error
def file: Bootstrap: docker
From: nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04
%files
dsenvi.yaml
comm.py
%post
apt-get update -y
&& apt-get install -y build-essential
&& apt-get install -y wget
&& apt-get clean
&& rm -rf /var/lib/apt/lists/*
apt-get update -y
export DEBIAN_FRONTEND=noninteractive
apt-get install software-properties-common -y
add-apt-repository ppa:deadsnakes/ppa -y
Error: INFO: Running post scriptlet
- apt-get update -y
Get:1 Index of /compute/cuda/repos/ubuntu2204/x86_64 InRelease [1581 B]
Err:1 Index of /compute/cuda/repos/ubuntu2204/x86_64 InRelease
Splitting up /var/lib/apt/lists/partial/developer.download.nvidia.com_compute_cuda_repos_ubuntu2204_x86%5f64_InRelease into data and signature failed
Get:2 …
…
FATAL: While performing build: while running engine: exit status 100