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

[Documentation] [Install] [Ubuntu 22.04] Command apt-key is deprecated and has warnings about that. #1319

Closed
jmwielandt opened this issue Apr 26, 2022 · 4 comments

Comments

@jmwielandt
Copy link

After a few tries, I manage to install RethinkDB in Ubuntu 22.04 LTS (wsl2 on windows 10).

This are the new commands:

# download public key
curl -fsSL https://download.rethinkdb.com/repository/raw/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/rethinkdb-archive-keyrings.gpg

# add the repository
echo "deb [signed-by=/usr/share/keyrings/rethinkdb-archive-keyrings.gpg] https://download.rethinkdb.com/repository/ubuntu-$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list

sudo apt update
sudo apt install rethinkdb

# check instalation
rethinkdb --version  # rethinkdb 2.4.2~0jammy (GCC 11.2.0)

This was strongly based on redis' documentation.
Please, update your install documentation to this.

Greetings~

@srh
Copy link
Contributor

srh commented Apr 26, 2022

Thank you for the report. When I run the current install instructions, I get deprecation warnings around apt-key and trusted.gpg but not for using apt-get.

My understanding is, apt-get is not deprecated and apt is not available on some super minimal installs such as minimal docker images. So I will update the documentation to add your instructions, only using apt-get.

@jmwielandt jmwielandt changed the title [Documentation] [Install] [Ubuntu 22.04] Command apt-get is deprecated and has warnings about that. [Documentation] [Install] [Ubuntu 22.04] Command apt-key is deprecated and has warnings about that. Apr 26, 2022
@jmwielandt
Copy link
Author

Thank you for the report. When I run the current install instructions, I get deprecation warnings around apt-key and trusted.gpg but not for using apt-get.

My understanding is, apt-get is not deprecated and apt is not available on some super minimal installs such as minimal docker images. So I will update the documentation to add your instructions, only using apt-get.

My bad, it was apt-key, not apt-get ^^u
I edited the title.

@srh srh transferred this issue from rethinkdb/rethinkdb Apr 26, 2022
@srh
Copy link
Contributor

srh commented Apr 26, 2022

Note that I moved the issue to the rethinkdb/docs repo.

With #1320 and (sigh) #1321 the issue is fixed.

The website is updated with #1320's change already, it should have #1321 in a few minutes. Thank you!

@srh srh closed this as completed Apr 26, 2022
@dotnetCarpenter
Copy link

@srh This is still an issue. rethinkdb/www#339

Also I would do wget -qO- https://download.rethinkdb.com/repository/raw/pubkey.gpg | sudo tee /etc/apt/trusted.gpg.d/rethinkdb.asc instead of 0bf0d91:

# Download the public key.
wget -qO- https://download.rethinkdb.com/repository/raw/pubkey.gpg | \
    sudo gpg --dearmor -o /usr/share/keyrings/rethinkdb-archive-keyrings.gpg

But also I have not tried gpg --dearmor since it is not on the install on Debian page.

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

3 participants