Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update v6.34.3 | Ondrej's PHP repo key expired #4319

Closed
miarchimi opened this issue Apr 29, 2021 · 4 comments
Closed

update v6.34.3 | Ondrej's PHP repo key expired #4319

miarchimi opened this issue Apr 29, 2021 · 4 comments
Labels
Duplicate For issues that are/were already handled within another issue

Comments

@miarchimi
Copy link

Details:

  • Date | Thu Apr 29 21:54:40 CEST 2021
  • Bug report | e0875196-5ed4-4d8d-934a-99dff373d5e3
  • DietPi version | v6.34.3 (MichaIng/master)
  • Image creator | DietPi Core Team
  • Pre-image | Raspbian Lite
  • Hardware | RPi 3 Model B (armv7l) (ID=3)
  • Kernel version | Linux DietPi 4.19.66-v7+ DietPi-Config | CPU performance benchmark #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
  • Distro | stretch (ID=4,RASPBIAN=1)
  • Command | apt-get -qq upgrade
  • Exit code | 100
  • Software title | DietPi-Update

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-defaults/php-common_81+0~20210223.34+debian9~1.gbpf52eb0_all.deb  404  Not Found
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-apcu/php-apcu_5.1.19+4.0.11-7+0~20210222.23+debian9~1.gbp08eb57_armhf.deb  404  Not Found
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-apcu/php7.3-apcu_5.1.19+4.0.11-7+0~20210222.23+debian9~1.gbp08eb57_armhf.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
@ravenclaw900
Copy link
Collaborator

ravenclaw900 commented Apr 29, 2021

Hello,
See #4219 for a fix.

apt-key del '95BD4743' # delete the old key
curl -sSfL 'https://packages.sury.org/php/apt.gpg' -o /etc/apt/trusted.gpg.d/dietpi-php.gpg # download the new key
apt update # update again the package cache

@MichaIng
Copy link
Owner

That was been done as part of the pre-patches already, actually 🤔. Looks like indeed clearing the cache is required in some cases.

So if with repeating the above the issue is not solved, please do:

/boot/dietpi/func/dietpi-set_software apt-cache clean

Then repeat the update.

@Joulinar Joulinar added the Duplicate For issues that are/were already handled within another issue label Apr 29, 2021
@Joulinar Joulinar changed the title update v6.34.3 >>> don't works update v6.34.3 | Ondrej's PHP repo key expired Apr 29, 2021
@miarchimi
Copy link
Author

miarchimi commented Apr 30, 2021 via email

@Joulinar
Copy link
Collaborator

Going to close this issue. Feel free to reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate For issues that are/were already handled within another issue
Projects
None yet
Development

No branches or pull requests

4 participants