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() {
1414 # add repository for latest wine version and install from source
1515 # hardcode version, since we might want to avoid a version later.
1616 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+
1825 wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
1926 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+
2029 apt-get update
2130 apt install --no-install-recommends --assume-yes \
2231 " winehq-stable=7.0.0.0~focal-1"
You can’t perform that action at this time.
0 commit comments