LoginSignup
0
0

More than 1 year has passed since last update.

File not found - /var/cuda-repo-9-0-local/Packages

Posted at

Ubuntuでapt-get update実行時に、次のようなエラーが出ることがある。


Reading package lists... Done
W: The repository 'file:/var/cuda-repo-8-0-local-ga2  Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/var/cuda-repo-9-0-local  Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch file:/var/cuda-repo-8-0-local-ga2/Packages  File not found - /var/cuda-repo-8-0-local-ga2/Packages (2: No such file or directory)
E: Failed to fetch file:/var/cuda-repo-9-0-local/Packages  File not found - /var/cuda-repo-9-0-local/Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.

下記のコマンドを実行したら直った。


# rm /etc/apt/sources.list.d/cuda*
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0