1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-07-09 00:00:54 +00:00

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'
```
This commit is contained in:
Joshua Tauberer 2025-06-20 06:55:18 -04:00
parent 49d183afbb
commit fbf95271f4

View File

@ -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 # 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 # of things from Ubuntu, as well as the directory of packages provide by the
# PPAs so we can install those packages later. # PPAs so we can install those packages later.
# --allow-releaseinfo-change is added because ppa:ondrej/php changed its Label.
echo "Updating system packages..." echo "Updating system packages..."
hide_output apt-get update hide_output apt-get update --allow-releaseinfo-change
apt_get_quiet upgrade 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 # Old kernels pile up over time and take up a lot of disk space, and because of Mail-in-a-Box