Score:0

How can I solve about The repository does not have a Release file?

mc flag

for install pytorch, I install CUDA, cuDNN, etc. after install pytorch and I do sudo apt update, then error appears like this,

Get:2 file:/var/cudnn-local-repo-ubuntu2004-8.9.1.23  InRelease
Ign:2 file:/var/cudnn-local-repo-ubuntu2004-8.9.1.23  InRelease                
Get:3 file:/var/cudnn-local-repo-ubuntu2004-8.9.1.23  Release                  
Err:3 file:/var/cudnn-local-repo-ubuntu2004-8.9.1.23  Release                  
  File not found - /var/cudnn-local-repo-ubuntu2004-8.9.1.23/Release (2: No such file or directory)
Get:1 file:/var/cuda-repo-ubuntu2004-11-8-local  InRelease [1,575 B]           
Hit:4 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64  InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease                  
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease               
Hit:7 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease     
Hit:8 http://kr.archive.ubuntu.com/ubuntu focal InRelease                  
Hit:9 http://kr.archive.ubuntu.com/ubuntu focal-updates InRelease          
Hit:10 http://ppa.launchpad.net/micahflee/ppa/ubuntu focal InRelease       
Get:11 http://kr.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Reading package lists... Done       
E: The repository 'file:/var/cudnn-local-repo-ubuntu2004-8.9.1.23  Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

how can I fix it?

zwets avatar
us flag
Does this answer your question? [What can I do if a repository/PPA does not have a Release file?](https://askubuntu.com/questions/866901/what-can-i-do-if-a-repository-ppa-does-not-have-a-release-file)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.