File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,18 @@ main() {
14
14
# add repository for latest wine version and install from source
15
15
# hardcode version, since we might want to avoid a version later.
16
16
wget -nc https://dl.winehq.org/wine-builds/winehq.key
17
- mv winehq.key /usr/share/keyrings/winehq-archive.key
17
+
18
+ # workaround for wine server synchronization, see #1035
19
+ # we need to ensure the keys are now stored in `/etc/apt/keyrings`,
20
+ # which were previously stored in `/usr/share/keyrings`, and ensure
21
+ # our sources list searches for the right location.
22
+ mkdir -p /etc/apt/keyrings
23
+ mv winehq.key /etc/apt/keyrings/winehq-archive.key
24
+
18
25
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
19
26
mv winehq-focal.sources /etc/apt/sources.list.d/
27
+ sed -i s@/usr/share/keyrings/@/etc/apt/keyrings/@ /etc/apt/sources.list.d/winehq-focal.sources || true
28
+
20
29
apt-get update
21
30
apt install --no-install-recommends --assume-yes \
22
31
" winehq-stable=7.0.0.0~focal-1"
You can’t perform that action at this time.
0 commit comments