From 59738a4ceb2a800bb47ae5fa72823c6d6b39034f Mon Sep 17 00:00:00 2001 From: gibran Date: Thu, 26 Feb 2026 20:35:29 +0700 Subject: [PATCH 1/2] docs(download): Remove `apt-transport-https` from Debian installation --- include/download-instructions/linux-debian-cli-community.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/download-instructions/linux-debian-cli-community.php b/include/download-instructions/linux-debian-cli-community.php index cc1595689a..ae4d5dfe06 100644 --- a/include/download-instructions/linux-debian-cli-community.php +++ b/include/download-instructions/linux-debian-cli-community.php @@ -4,7 +4,7 @@

 # Add the packages.sury.org/php repository.
 sudo apt-get update
-sudo apt-get install -y lsb-release ca-certificates apt-transport-https curl
+sudo apt-get install -y lsb-release ca-certificates curl
 sudo curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
 sudo dpkg -i /tmp/debsuryorg-archive-keyring.deb
 sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'

From 16b8fe1e3c7fbaedc1794511ce557b465b63e208 Mon Sep 17 00:00:00 2001
From: gibran 
Date: Thu, 26 Feb 2026 20:39:42 +0700
Subject: [PATCH 2/2] docs(download): Update Debian source list to `deb822`
 format

---
 .../download-instructions/linux-debian-cli-community.php  | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/include/download-instructions/linux-debian-cli-community.php b/include/download-instructions/linux-debian-cli-community.php
index ae4d5dfe06..fb19c4005f 100644
--- a/include/download-instructions/linux-debian-cli-community.php
+++ b/include/download-instructions/linux-debian-cli-community.php
@@ -7,7 +7,13 @@
 sudo apt-get install -y lsb-release ca-certificates curl
 sudo curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
 sudo dpkg -i /tmp/debsuryorg-archive-keyring.deb
-sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
+sudo tee /etc/apt/sources.list.d/php.sources <<EOF
+Types: deb
+URIs: https://packages.sury.org/php/
+Suites: $(lsb_release -sc)
+Components: main
+Signed-By: /usr/share/keyrings/debsuryorg-archive-keyring.gpg
+EOF
 sudo apt-get update
 
 # Install PHP.