mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 15:38:15 +08:00
Workaround broken local apt mirror for Ubuntu 16.04
Local mirror is mirroring a public mirror, and for some reason there is
a mismatch of file sizes and file hashes for the dep-11 metadata files.
More info:
https://askubuntu.com/questions/823329/how-do-i-disable-fetching-of-dep-11-files
Task-number: QTQAINFRA-3351
Change-Id: I736b0c9627399839d713ec637cab9403a368601f
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit b0fb9bbc72)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
This commit is contained in:
committed by
Jukka Jokiniva
parent
4a39410fae
commit
f3757051dd
@@ -44,6 +44,9 @@ for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-dai
|
||||
sudo systemctl disable $service
|
||||
done
|
||||
|
||||
# Stop fetching the dep-11 metadata, since our mirrors do not handle them well
|
||||
sudo mv /etc/apt/apt.conf.d/50appstream{,.disabled}
|
||||
|
||||
installPackages+=(git)
|
||||
installPackages+=(p7zip-full)
|
||||
installPackages+=(expect)
|
||||
|
||||
@@ -44,6 +44,9 @@ for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-dai
|
||||
sudo systemctl disable $service
|
||||
done
|
||||
|
||||
# Stop fetching the dep-11 metadata, since our mirrors do not handle them well
|
||||
sudo mv /etc/apt/apt.conf.d/50appstream{,.disabled}
|
||||
|
||||
# aptdaemon is used by update notifiers and similar and there is no point in having those (the symptom is aptd holding a lock)
|
||||
for i in $(seq 10); do
|
||||
echo attempting to remove aptdaemon
|
||||
|
||||
Reference in New Issue
Block a user