Mercurial > code > home > repos > infra
comparison apt.py @ 211:adb34a04ca43
note
author | drewp@bigasterisk.com |
---|---|
date | Thu, 03 Aug 2023 14:03:37 -0700 |
parents | 5b7cd39e6504 |
children | 8ef74d3a11ac |
comparison
equal
deleted
inserted
replaced
210:b1e897c9e5c3 | 211:adb34a04ca43 |
---|---|
29 ]) | 29 ]) |
30 if host.get_fact(Arch) == 'armv7l' or host.name == 'bang': # I mean raspbian/debian | 30 if host.get_fact(Arch) == 'armv7l' or host.name == 'bang': # I mean raspbian/debian |
31 # this contaminates the apt-update | 31 # this contaminates the apt-update |
32 files.file(path="/etc/apt/trusted.gpg.d/podman.asc", present=False) | 32 files.file(path="/etc/apt/trusted.gpg.d/podman.asc", present=False) |
33 | 33 |
34 # also these | |
35 #-rw-r--r-- 1 root root 2794 Mar 26 2021 /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg | |
36 #-rw-r--r-- 1 root root 1733 Mar 26 2021 /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg | |
34 | 37 |
35 dir = Path('/etc/apt/sources.list.d') | 38 dir = Path('/etc/apt/sources.list.d') |
36 | 39 |
37 | 40 |
38 def clear_known_sources_files(known=[dir / 'vscode.list']): | 41 def clear_known_sources_files(known=[dir / 'vscode.list']): |