Skip to content

apt-key deprecation from Ubuntu 20.04 #200

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

Merged
merged 2 commits into from
Jun 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _includes/doc/admin-guide/notes/apt-key-deprecation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**NOTE:** Note that `apt-key` authentication command line, has been deprecated in Ubuntu 20.04 and later versions.
{: .notice--info}
4 changes: 4 additions & 0 deletions doc/_dev-guide/chapter_0/section_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ id: dev-inst-debuan-ubuntu
This chapter describes how you can install {{ site.product.short_name }} on Debian and on Ubuntu
operating systems from our APT repository.

{% include doc/admin-guide/notes/apt-key-deprecation.md %}

## syslog-ng

## Install {{ site.product.short_name }} from APT repository
Expand Down Expand Up @@ -81,6 +83,8 @@ Repositories are available [here][ref:obs-lbudai-36] and [here][ref:obs-lbudai-3
wget -qO - http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/Debian_8.0/Release.key | sudo apt-key add -
```

{% include doc/admin-guide/notes/apt-key-deprecation.md %}

2. add repo to APT sources

```shell
Expand Down
2 changes: 2 additions & 0 deletions doc/_dev-guide/chapter_5/section_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ Its documentation is extensive and full of examples. More test examples can be f

### Installation on Ubuntu

{% include doc/admin-guide/notes/apt-key-deprecation.md %}

```
$ curl http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_12.04/Release.key | sudo apt-key add -
$ echo "deb http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_12.04 ./" | sudo tee --append /etc/apt/sources.list.d/syslog-ng-obs.list
Expand Down