|
24 | 24 | runs-on: ubuntu-24.04 |
25 | 25 |
|
26 | 26 | container: |
27 | | - image: debian:stable |
| 27 | + image: debian:stable-20260713 |
28 | 28 | env: |
29 | 29 | DEBIAN_FRONTEND: noninteractive |
30 | 30 | PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} |
|
33 | 33 | - name: Install CA certificates |
34 | 34 | run: apt update && apt install -y ca-certificates |
35 | 35 |
|
| 36 | + - name: Divert files conflicting during the APT transition |
| 37 | + run: dpkg-divert --package util-linux --no-rename --add /usr/bin/logger |
| 38 | + |
36 | 39 | - name: Update APT sources and upgrade |
37 | 40 | run: | |
38 | 41 | echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/10no-check-valid-until |
|
44 | 47 | Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg |
45 | 48 | Architectures: amd64 |
46 | 49 | EOF |
47 | | - apt update && apt full-upgrade -y |
| 50 | + apt update && apt -o Dpkg::Options::=--force-overwrite full-upgrade -y |
48 | 51 |
|
49 | 52 | - name: Setup amd64 environment |
50 | 53 | run: apt install -y build-essential curl devscripts equivs git gnupg lintian ruby-full sudo |
|
70 | 73 | runs-on: ubuntu-24.04-arm |
71 | 74 |
|
72 | 75 | container: |
73 | | - image: arm64v8/debian:stable |
| 76 | + image: arm64v8/debian:stable-20260713 |
74 | 77 | env: |
75 | 78 | DEBIAN_FRONTEND: noninteractive |
76 | 79 | PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} |
|
79 | 82 | - name: Install CA certificates |
80 | 83 | run: apt update && apt install -y ca-certificates |
81 | 84 |
|
| 85 | + - name: Divert files conflicting during the APT transition |
| 86 | + run: dpkg-divert --package util-linux --no-rename --add /usr/bin/logger |
| 87 | + |
82 | 88 | - name: Update APT sources and upgrade |
83 | 89 | run: | |
84 | 90 | echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/10no-check-valid-until |
|
90 | 96 | Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg |
91 | 97 | Architectures: arm64 |
92 | 98 | EOF |
93 | | - apt update && apt full-upgrade -y |
| 99 | + apt update && apt -o Dpkg::Options::=--force-overwrite full-upgrade -y |
94 | 100 |
|
95 | 101 | - name: Setup arm64 environment |
96 | 102 | run: apt install -y build-essential curl devscripts equivs git gnupg lintian ruby-full sudo |
|
0 commit comments