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…

I had the same exact problem as @shoulders with the ondrej repository. So I executed apt clean and apt update. I now have 2 issues.

  1. The update command returned some warnings (command output at the end of post)

a) “The following signatures were invalid:”
EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc.
EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc.
EXPKEYSIG 78BD65473CB3BD13 Google Inc.
EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc.
EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc.
EXPKEYSIG 78BD65473CB3BD13 Google Inc.

b) The following signatures couldn’t be verified because the public key is not available:
NO_PUBKEY 35696F43FC7DB4C2

Should I do something about these?

  1. On the Virtualmin dashboard it still shows 127 package updates are available. When I click that, it shows me those packages and when I click ‘Update selected packages’, it lists only a single package (msodbcsql17 17.9.1.1-1 17.10.6.1-1 ODBC Driver for Microsoft(R) SQL Server(R)) which I always have to manually update. So essentially there are zero updateable packages, but Virtualmin still lists 127! How can I fix this?

Command output:

:~$ sudo apt update
Hit:1 Index of /ubuntu focal-security InRelease
Hit:2 http://mirrors.digitalocean.com/ubuntu focal InRelease
Hit:3 Index of /vm/6/gpl/apt virtualmin-focal InRelease
Hit:4 Index of /vm/6/gpl/apt virtualmin-universal InRelease
Hit:5 Index of /ubuntu focal InRelease
Ign:6 http://dl.google.com/linux/mod-pagespeed/deb stable InRelease
Get:7 Index of /ondrej/php/ubuntu focal InRelease [24.6 kB]
Hit:8 http://dl.google.com/linux/mod-pagespeed/deb stable Release
Hit:9 http://mirrors.digitalocean.com/ubuntu focal-updates InRelease
Hit:10 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Hit:11 http://mirrors.digitalocean.com/ubuntu focal-backports InRelease
Get:12 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease [5518 B]
Hit:13 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Err:3 Index of /vm/6/gpl/apt virtualmin-focal InRelease
The following signatures were invalid: EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc. (Package signing key for Virtualmin 6) security@virtualmin.com
Err:4 Index of /vm/6/gpl/apt virtualmin-universal InRelease
The following signatures were invalid: EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc. (Package signing key for Virtualmin 6) security@virtualmin.com
E: Repository ‘Index of /ondrej/php/ubuntu focal 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
Err:14 http://dl.google.com/linux/mod-pagespeed/deb stable Release.gpg
The following signatures were invalid: EXPKEYSIG 78BD65473CB3BD13 Google Inc. (Linux Packages Signing Authority) linux-packages-keymaster@google.com
Err:12 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 35696F43FC7DB4C2
Fetched 30.1 kB in 1min 8s (439 B/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
1 package can be upgraded. Run ‘apt list --upgradable’ to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of /vm/6/gpl/apt virtualmin-focal InRelease: The following signatures were invalid: EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc. (Package signing key for Virtualmin 6) security@virtualmin.com
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of /vm/6/gpl/apt virtualmin-universal InRelease: The following signatures were invalid: EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc. (Package signing key for Virtualmin 6) security@virtualmin.com
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/mod-pagespeed/deb stable Release: The following signatures were invalid: EXPKEYSIG 78BD65473CB3BD13 Google Inc. (Linux Packages Signing Authority) linux-packages-keymaster@google.com
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 35696F43FC7DB4C2
W: Failed to fetch http://software.virtualmin.com/vm/6/gpl/apt/dists/virtualmin-focal/InRelease The following signatures were invalid: EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc. (Package signing key for Virtualmin 6) security@virtualmin.com
W: Failed to fetch http://software.virtualmin.com/vm/6/gpl/apt/dists/virtualmin-universal/InRelease The following signatures were invalid: EXPKEYSIG D9F9010760D62A6B Virtualmin, Inc. (Package signing key for Virtualmin 6) security@virtualmin.com
W: Failed to fetch https://repos-droplet.digitalocean.com/apt/droplet-agent/dists/main/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 35696F43FC7DB4C2
W: Failed to fetch http://dl.google.com/linux/mod-pagespeed/deb/dists/stable/Release.gpg The following signatures were invalid: EXPKEYSIG 78BD65473CB3BD13 Google Inc. (Linux Packages Signing Authority) linux-packages-keymaster@google.com
W: Some index files failed to download. They have been ignored, or old ones used instead.

what version of Virtualmin and OS are you on. Best if you use the copy icon from the dashboard.

Don’t revive old threads with new questions. You have a new question, so post a new topic.

https://forum.virtualmin.com/guidelines

But, also there’s documentation: Troubleshooting Repositories | Virtualmin — Open Source Web Hosting Control Panel (But, again, if you have follow-up questions, you need to make a new topic.)

I thought old threads auto closed?

Unsolved posts (posts that the OP hasn’t marked a solution comment on) remain open for a couple of months (I think, I don’t remember specifics). Solved posts auto-close after a couple of weeks. Trying to balance the need for people to follow up later with the desire to prevent zombie posting. Sometimes we just need post to read the guidelines and post politely. Not a big deal, we just ask folks to make a new topic when it happens.

You can help by checking the checkbox that indicates which comment solved your problem.

Gotcha.

Is there not an option to close threads with no activity for 30 days, or whatever you consider old?

They auto-close after a couple of months of no activity, as I mentioned.

This specific thread has had spam activity that kept it open. The comments have been deleted, but it updated the activity counter so it didn’t close. Spammers like old threads because they assume no one is paying attention to them.

Again, if you want topics to close faster, mark the comment that solved the problem with the Solved checkbox, and it’ll close in a week or two (I don’t remember details).

can you move my post to a new thread? or should I do it manually?
Never mind I posted one already. Thanks