Trying to update the software using…
sudo apt-get update && sudo apt-get upgrade
and I get the following messages.
Hit:1 Index of /ubuntu jammy-security InRelease
Hit:2 Index of /ubuntu jammy InRelease
Hit:3 Index of /ubuntu jammy-updates InRelease
Hit:4 Index of /ubuntu jammy-backports InRelease
Hit:5 Index of /duplicity-team/duplicity-release-git/ubuntu jammy InRelease
Get:6 Index of /ondrej/php/ubuntu jammy InRelease [24.6 kB]
Reading package lists… Done
E: Repository ‘Index of /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’
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Any idea how I explicitly accept this or more importantly if I should accept it?
Details about the “reasons” for the change here: Ubuntu/Jammy: Label change broke `apt update`, maybe incomplete upload? · Issue #2295 · oerdnj/deb.sury.org · GitHub
Ondrej: It was intentional change to align the name with the other PPAs I have and to simplify things.
Seems ok to do a manual update, accept the label change. Then run the mailinabox upgrade script.
I’m not really very knowledgable on Linux command lines but I couldn’t clearly see how to fix the issue. What commands do I type on MiaB to accept the change and allow the update to run?
I’m wary of just typing this into the command line, in case it buggers everything up.
echo ‘Acquire::AllowReleaseInfoChange::Label “true”;’ | sudo tee /etc/apt/apt.conf.d/label_change
Just run sudo apt update
and it will ask you to accept the change. It’s not needed to run the mailinabox upgrade script.
2 Likes
Thanks!
Doh! I should have known that!
system
Closed
May 20, 2025, 7:04am
7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.