Is there any way to get a version of apache2 greater than 2.4.26+? In Ubuntu, I can add this ppa:
https://launchpad.net/~ondrej/+archive/ubuntu/apache2
Is there something equivalent I can do for Debian? That ppa won't import into debian for some reason:
Code: Select all
root@debian:~# apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.us.debian.org/debian stretch InRelease
Hit:3 http://ftp.us.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.us.debian.org/debian stretch Release
Ign:5 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic InRelease
Ign:7 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic Release
Ign:8 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main all Packages
Ign:9 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main amd64 Packages
Ign:10 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en_US
Ign:11 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en
Ign:8 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main all Packages
Ign:9 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main amd64 Packages
Ign:10 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en_US
Ign:11 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en
Ign:8 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main all Packages
Ign:9 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main amd64 Packages
Ign:10 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en_US
Ign:11 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en
Ign:8 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main all Packages
Ign:9 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main amd64 Packages
Ign:10 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en_US
Ign:11 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en
Ign:8 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main all Packages
Ign:9 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main amd64 Packages
Ign:10 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en_US
Ign:11 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en
Ign:8 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main all Packages
Err:9 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main amd64 Packages
404 Not Found
Ign:10 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en_US
Ign:11 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic/main Translation-en
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/ondrej/apache2/ubuntu/dists/cosmic/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@debian:~# apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version (2.4.25-3+deb9u4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debian:~# man add-apt-repository
root@debian:~# add-apt-repository -y ppa:ondrej/apache2
gpg: keybox '/tmp/tmprzb1lfu8/pubring.gpg' created
gpg: /tmp/tmprzb1lfu8/trustdb.gpg: trustdb created
gpg: key 4F4EA0AAE5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.ssh'
root@debian:~# apt-get upgrade -u apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version (2.4.25-3+deb9u4).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debian:~# apt-get upgrade -u apache2