Skip to content

Commit a758bf5

Browse files
committed
github: change obs mirror
fixing E: Failed to fetch http://ftp.gwdg.de/pub/opensuse/repositories/home%3A/naemon%3A/daily/xUbuntu_24.04/amd64/naemon-livestatus_1.4.3.11%2B20250207~218db29-1_amd64.deb File has unexpected size (157522 != 157156). Mirror sync in progress? [IP: 134.76.12.6 80] Hashes of expected file: - SHA256:b244fcc6edb644a8775716f02fd3d669c50a7160b32888283e7f468e104f0f80 - SHA1:44c1ec11e434cda131537b3c69d6af6acdc1c2d6 [weak] - MD5Sum:a00ca504151eaee1672a0ce208c09f0d [weak] - Filesize:157156 [weak] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
1 parent 3da8410 commit a758bf5

File tree

1 file changed

+51
-50
lines changed

1 file changed

+51
-50
lines changed

.ci/prepare_machine.sh

+51-50
Original file line numberDiff line numberDiff line change
@@ -3,77 +3,78 @@
33
set -ex
44

55
export DEBIAN_FRONTEND="noninteractive"
6-
apt-get -y update
76

87
apt-get -y update
9-
apt-get -y install apt-transport-https curl
10-
sh -c "echo 'deb [signed-by=/etc/apt/trusted.gpg.d/naemon.asc] http://download.opensuse.org/repositories/home:/naemon:/daily/xUbuntu_$(lsb_release -rs)/ ./' >> /etc/apt/sources.list"
11-
curl -s -o /etc/apt/trusted.gpg.d/naemon.asc "https://build.opensuse.org/projects/home:naemon/signing_keys/download?kind=gpg"
12-
apt-get -y update
13-
148
apt-get -y install \
15-
debhelper \
16-
lsb-release \
9+
apache2 \
10+
apache2-utils \
11+
apt-transport-https \
1712
chrpath \
13+
cpanminus \
1814
curl \
19-
wget \
15+
debhelper \
2016
git \
21-
rsync \
22-
perl \
23-
perl-doc \
24-
libperl-dev \
25-
cpanminus \
26-
tofrodos \
27-
poppler-utils \
28-
apache2 \
29-
apache2-utils \
30-
libmariadb-dev \
31-
libpng-dev \
32-
libjpeg62-dev \
33-
zlib1g-dev \
34-
libmodule-install-perl \
17+
libclass-inspector-perl \
18+
libconfig-general-perl \
3519
libcpanel-json-xs-perl \
36-
libfcgi-perl \
37-
libnet-http-perl \
38-
libsocket-perl \
39-
libio-socket-ip-perl \
40-
libgd-perl \
41-
libtemplate-perl \
20+
libcrypt-rijndael-perl \
4221
libdate-calc-perl \
43-
libfile-slurp-perl \
4422
libdate-manip-perl \
45-
libdatetime-timezone-perl \
4623
libdatetime-perl \
24+
libdatetime-timezone-perl \
25+
libdbd-mysql-perl \
26+
libdbi-perl \
27+
libdevel-cycle-perl \
4728
libexcel-template-perl \
29+
libextutils-config-perl \
30+
libextutils-helpers-perl \
31+
libextutils-installpaths-perl \
32+
libfcgi-perl \
33+
libfile-bom-perl \
34+
libfile-slurp-perl \
35+
libgd-perl \
36+
libhtml-lint-perl \
37+
libhttp-message-perl \
38+
libio-socket-ip-perl \
4839
libio-string-perl \
40+
libjpeg62-dev \
4941
liblog-log4perl-perl \
42+
libmariadb-dev \
5043
libmime-lite-perl \
51-
libclass-inspector-perl \
52-
libdbi-perl \
53-
libdbd-mysql-perl \
54-
libtest-simple-perl \
55-
libhtml-lint-perl \
56-
libfile-bom-perl \
57-
libtest-cmd-perl \
58-
libtest-pod-perl \
44+
libmodule-build-tiny-perl \
45+
libmodule-install-perl \
46+
libnet-http-perl \
47+
libpadwalker-perl \
5948
libperl-critic-perl \
49+
libperl-dev \
50+
libplack-perl \
51+
libpng-dev \
52+
libsocket-perl \
53+
libsub-uplevel-perl \
54+
libtemplate-perl \
55+
libtest-cmd-perl \
6056
libtest-perl-critic-perl \
6157
libtest-pod-coverage-perl \
62-
libdevel-cycle-perl \
63-
libpadwalker-perl \
64-
libmodule-build-tiny-perl \
65-
libsub-uplevel-perl \
66-
libextutils-helpers-perl \
67-
libextutils-config-perl \
68-
libextutils-installpaths-perl \
58+
libtest-pod-perl \
6959
libtest-requires-perl \
70-
libhttp-message-perl \
71-
libplack-perl \
72-
libcrypt-rijndael-perl \
73-
libconfig-general-perl \
60+
libtest-simple-perl \
7461
libwww-mechanize-perl \
62+
lsb-release \
7563
npm \
64+
perl \
65+
perl-doc \
66+
poppler-utils \
67+
rsync \
68+
tofrodos \
69+
wget \
70+
zlib1g-dev \
7671

72+
# list of mirrors: https://mirrors.opensuse.org/
73+
#echo "deb [signed-by=/etc/apt/trusted.gpg.d/naemon.asc] http://download.opensuse.org/repositories/home:/naemon:/daily/xUbuntu_$(lsb_release -rs)/ ./" >> /etc/apt/sources.list
74+
echo "deb [signed-by=/etc/apt/trusted.gpg.d/naemon.asc] https://slc-mirror.opensuse.org/repositories/home:/naemon:/daily/xUbuntu_$(lsb_release -rs)/ ./" >> /etc/apt/sources.list
75+
curl -s "https://build.opensuse.org/projects/home:naemon/signing_keys/download?kind=gpg" \
76+
-o /etc/apt/trusted.gpg.d/naemon.asc
77+
apt-get -y update
7778
apt-get -y install naemon-core naemon-livestatus
7879
chsh -s /bin/bash naemon
7980
! grep docker /etc/group >/dev/null || gpasswd -a naemon docker

0 commit comments

Comments
 (0)