Skip to content

Commit fbf9527

Browse files
committed
Add --allow-releaseinfo-change to the first main apt-get update because ppa:ondrej/php changed its Label
I got: ``` Updating system packages... FAILED: apt-get update ----------------------------------------- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:5 https://ppa.launchpadcontent.net/duplicity-team/duplicity-release-git/ubuntu jammy InRelease Get:6 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease [24.6 kB] Reading package lists... E: Repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease' changed its 'Label' value from '***** The main PPA for supported PHP versions with many PECL extensions *****' to 'PPA for PHP' ```
1 parent 49d183a commit fbf9527

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup/system.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,10 @@ hide_output add-apt-repository --y ppa:ondrej/php
119119
# Update system packages to make sure we have the latest upstream versions
120120
# of things from Ubuntu, as well as the directory of packages provide by the
121121
# PPAs so we can install those packages later.
122+
# --allow-releaseinfo-change is added because ppa:ondrej/php changed its Label.
122123

123124
echo "Updating system packages..."
124-
hide_output apt-get update
125+
hide_output apt-get update --allow-releaseinfo-change
125126
apt_get_quiet upgrade
126127

127128
# Old kernels pile up over time and take up a lot of disk space, and because of Mail-in-a-Box

0 commit comments

Comments
 (0)