From fbf95271f4be679b5f3066f789bb43cedcbb4bbd Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Fri, 20 Jun 2025 06:55:18 -0400 Subject: [PATCH] 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' ``` --- setup/system.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/system.sh b/setup/system.sh index fce3091f..e58f45cb 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -119,9 +119,10 @@ hide_output add-apt-repository --y ppa:ondrej/php # Update system packages to make sure we have the latest upstream versions # of things from Ubuntu, as well as the directory of packages provide by the # PPAs so we can install those packages later. +# --allow-releaseinfo-change is added because ppa:ondrej/php changed its Label. echo "Updating system packages..." -hide_output apt-get update +hide_output apt-get update --allow-releaseinfo-change apt_get_quiet upgrade # Old kernels pile up over time and take up a lot of disk space, and because of Mail-in-a-Box