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

403 Forbidden Error on Debian 10 (Buster) during apt update for https://packages.sury.org/php #2161

Closed
BerndFPV opened this issue Jul 3, 2024 · 2 comments

Comments

@BerndFPV
Copy link

BerndFPV commented Jul 3, 2024

Description:

I am encountering a 403 Forbidden error when running apt update on Debian 10 (Buster) for the Sury PHP packages repository. The error message is as follows:

Err:4 https://packages.sury.org/php buster InRelease
  403  Forbidden [IP: 2400:52e0:1e00::1081:1 443]

Additionally, when I try to access the URL directly via a web browser, I also receive a 403 Forbidden error:

https://packages.sury.org/php/dists/buster/

Steps to Reproduce:

  1. Add the Sury PHP repository to the sources list:
sudo apt install apt-transport-https lsb-release ca-certificates
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list
wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -
  1. Run apt update:

sudo apt update

Expected Behavior:

The apt update command should successfully fetch the package information from the Sury PHP repository without any errors.

Actual Behavior:

The apt update command fails with a 403 Forbidden error as shown above.

System Information:

  • OS: Debian 10 (Buster)
    
  • Repository URL: https://packages.sury.org/php
    
  • Error IP: 2400:52e0:1e00::1081:1
    
  • Browser access to URL: 403 Forbidden error at https://packages.sury.org/php/dists/buster/
    

Additional Information:

This issue prevents updating and installing packages from the Sury PHP repository on Debian 10 (Buster). It appears to be a permissions or access configuration issue on the repository server.

Thank you for your assistance in resolving this issue.

@oerdnj oerdnj closed this as not planned Won't fix, can't repro, duplicate, stale Jul 3, 2024
@hashar
Copy link

hashar commented Jul 3, 2024

@BerndFPV see #2098 , Debian 10 / Buster has reached its end of life therefore the distribution has been removed from the sury repository.

@WayneSallee
Copy link

@BerndFPV see #2098 , Debian 10 / Buster has reached its end of life therefore the distribution has been removed from the sury repository.

But ,,,,,,,,,,,
https://packages.sury.org/php/dists
shows buster as an option.
So that buster link needs to be removed.

I got the error in my system update, and went to the website, and saw the forbidden, and figured it was probably end of life, but then was perplexed when I saw the buster link 1 directory up. :-)

Wayne Sallee
[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants