# PPA for Apache 2 (deprecated)

**URL:** <https://forum.hestiacp.com/t/ppa-for-apache-2-deprecated/22498>\
**Category:** Uncategorized\
**Created:** [November 20, 2026, 7:21pm UTC](https://forum.hestiacp.com/t/ppa-for-apache-2-deprecated/22498 "2026-11-20T19:21:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![floown](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/f/7ea924/32.png) [@floown](https://forum.hestiacp.com/u/floown)\
**Post date:** [November 20, 2026, 7:21pm UTC](https://forum.hestiacp.com/t/ppa-for-apache-2-deprecated/22498/1 "2026-11-20T19:21:16Z")

</div>

Hello. I have just a new message with the recent update I made.

```auto
apt update

Hit:1 
 jammy InRelease
Hit:2 
 jammy-updates InRelease
Hit:3 
 jammy-backports InRelease
Get:4 
 jammy InRelease [6 060 B]
Hit:5 
 jammy InRelease
Get:6 
 jammy-apps-security InRelease [8 377 B]
Get:7 
 jammy-apps-updates InRelease [8 208 B]
Get:8 
 jammy-infra-security InRelease [8 298 B]
Hit:9 https://apt.hestiacp.com jammy InRelease
Get:10 
 jammy-infra-updates InRelease [8 201 B]
Get:11 
 jammy-security InRelease [129 kB]
Get:12 
 jammy InRelease [24,6 kB]
Get:13 
 jammy/main amd64 Packages [145 kB]
Hit:14 
 jammy InRelease
E: Repository '
 jammy InRelease' changed its 'Label' value from 'PPA for Apache 2' to 'PPA for Apache 2 (deprecated)'
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] ^C

```

# 

```auto
# cat /etc/apt/sources.list.d/apache2.list

deb 
 jammy main

```

Should I just comment this ppa line? I think apache2 is provided for jammy with this line

```auto
Get:14 https://packages.sury.org/php jammy/main amd64 Packages [145 kB]

```

True?

Thanks.  
(this servor will disabled in some days)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 20, 2026, 8:05pm UTC](https://forum.hestiacp.com/t/ppa-for-apache-2-deprecated/22498/2 "2026-11-20T20:05:29Z")

</div>

> [@floown](#):
>
> Should I just comment this ppa line?

Yes

> [@floown](#):
>
> I think apache2 is provided for jammy with this line
> 
> ```bash
> Get:14 https://packages.sury.org/php jammy/main amd64 Packages [145 kB]
> 
> ```

No, Apache2 is not provided by that repository, but it does provide `libapache2-mod-phpX.Y` packages. Maybe your server is still using one of them. It shouldn’t be, but that server might be old enough to still rely on it.

Anyway, you don’t need the depecrated repo so comment it out or remove it.

---

<div class="post-metadata">

**Author:** ![floown](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/f/7ea924/32.png) [@floown](https://forum.hestiacp.com/u/floown)\
**Post date:** [November 20, 2026, 8:24pm UTC](https://forum.hestiacp.com/t/ppa-for-apache-2-deprecated/22498/3 "2026-11-20T20:24:04Z")

</div>

ChatGPT had said me to do a : `echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] ` [https://packages.sury.org/apache2/`](https://packages.sury.org/apache2/%60) $(lsb\_release -sc) main" \> /etc/apt/sources.list.d/apache2.list`

I pointed this page that had just been refreshed: [https://launchpad.net/~ondrej/+archive/ubuntu/apache2](https://launchpad.net/~ondrej/+archive/ubuntu/apache2)

It’s ok I suppose?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 20, 2026, 8:37pm UTC](https://forum.hestiacp.com/t/ppa-for-apache-2-deprecated/22498/4 "2026-11-20T20:37:25Z")

</div>

If you don’t use the apache provided but that repo you don’t need it.

Show the output of this command:

```t
dpkg -l | grep apache2

```

---

<div class="post-metadata">

**Author:** ![floown](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/f/7ea924/32.png) [@floown](https://forum.hestiacp.com/u/floown)\
**Post date:** [November 20, 2026, 8:40pm UTC](https://forum.hestiacp.com/t/ppa-for-apache-2-deprecated/22498/5 "2026-11-20T20:40:24Z")

</div>

```auto
# dpkg -l | grep apache2
ii apache2 2.4.71-1+ubuntu22.04.1+deb.sury.org+1 amd64 Apache HTTP Server
ii apache2-bin 2.4.71-1+ubuntu22.04.1+deb.sury.org+1 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.71-1+ubuntu22.04.1+deb.sury.org+1 all Apache HTTP Server (common files)
ii apache2-suexec-custom 2.4.71-1+ubuntu22.04.1+deb.sury.org+1 amd64 Apache HTTP Server configurable suexec program for mod_suexec
ii apache2-utils 2.4.71-1+ubuntu22.04.1+deb.sury.org+1 amd64 Apache HTTP Server (utility programs for web servers)
ii libapache2-mod-fcgid 1:2.3.9-4 amd64 FastCGI interface module for Apache 2
ii libapache2-mod-php8.1 8.1.34-14+debsuryorg22.04.1+php+1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapache2-mod-php8.2 8.2.36-2+debsuryorg22.04.1+php+1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapache2-mod-rpaf 0.6-13 amd64 module for Apache2 which takes the last IP from the 'X-Forwarded-For' header

```

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 20, 2026, 8:49pm UTC](https://forum.hestiacp.com/t/ppa-for-apache-2-deprecated/22498/6 "2026-11-20T20:49:04Z")

</div>

Yes, keep the new repo because you are using it.
