Cannot update my PHP packages on ondrej

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.5
Usermin version 2.203
Virtualmin version 7.30.8 Pro
Theme version 23.03
Apache version 2.4.52
Package updates 68 package updates are available

Hi

I am getting the following errors and I don’t know why or how to fix them. My regular updates works fine. Any pointers would be appreciated.

Did you try what is suggested at the end to fix the issue?
Run apt-get update

No, because I don’t know what it does.

It just updates things, its safe to run. I guess they have moved there server so you need to update the location.

Aren’t you updating things, that’s alot.

1 Like

not recently, been busy. There was a 106 before. :slight_smile:

1 Like

I filtered and installed by PHP version number and this is what happened:

  • 7.4, 8.1, 8.2 = updated
  • 8.3, and 8.4 (now default PHP) = still fail

This is what is left

So I can connect to the ondre repo but there is something wrong with PHP 8.3 and 8.4

Obviously t is finding the package as they are listed in the updates. I have refreshed the package list but this makes no difference.

Any thoughts?

If you consider this file it does not exists

there is a similar one with a different version number, php8.4-common_8.4.8-1

So this must be an issue with the repo and package list presentation unless there is another sort of package refresh I need to do on my end.

https://ppa.launchpadcontent.net/ondrej/php/ubuntu/dists/jammy/main/binary-amd64/

This lists:

pool/main/p/php8.4/php8.4-common_8.4.8-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb

So is there a caching inssue on my server?

  • I thought the refresh package list should refresh the cache?
  • I also disabled the cache option in the modules settings and did a refresh, but got the same error.
apt clean
apt update

Then try again.

1 Like

that fixed it and during the commands I got the following message which you might of expected.

thanks.

jammy InRelease’ changed its ‘Label’ value from '*****

shoulders@server:~$ sudo apt clean
[sudo] password for shoulders: 
shoulders@web:~$ sudo apt update
Hit:1 http://gb.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease                                  
Hit:3 http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease                                
Hit:4 http://gb.archive.ubuntu.com/ubuntu jammy-security InRelease                                 
Hit:5 https://software.virtualmin.com/vm/7/pro/apt virtualmin InRelease                                            
Get:6 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease [24.6 kB]
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'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Get:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 Packages [138 kB]                           
Get:8 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main Translation-en [43.7 kB]                          
Fetched 206 kB in 11s (18.1 kB/s)                                                                                     
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
53 packages can be upgraded. Run 'apt list --upgradable' to see them.
shoulders@server:~$ 

You are all so kind to answer generic linux questions here… so kind…