Skip to content

Commit

Permalink
chore: cleanup Scaleway buggy apt sources
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBeucher committed Feb 25, 2025
1 parent 8b8787d commit ea375d1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ansible/roles/prepare-install/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
# On Paperspace with Ubuntu 22.04, the apt source for Paperspace is buggy (invalid GPG key)
# causing subsequent failure on apt cache update
# removing it here to avoid issues
- name: Remove paperspace apt source (if any)
- name: Remove unwanted apt sources (if any)
become: true
file:
state: absent
path: /etc/apt/sources.list.d/paperspace.list
path: "{{ item }}"
loop:
# Paperspace, out of date, cause apt update failure
- /etc/apt/sources.list.d/paperspace.list

# Scaleway, out of date, cause apt update failure
- /etc/apt/sources.list.d/nvidia-docker.list
- /etc/apt/sources.list.d/cuda.list

0 comments on commit ea375d1

Please sign in to comment.