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

Docs: Update Ubuntu/Debian repo instructions #3050

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

whyman
Copy link
Member

@whyman whyman commented Apr 10, 2024

Note that there wont be anything populated in 'stable' until we push the next tagged release

Note that there wont be anything populated in 'stable' until we push the next tagged release
@KarlStraussberger KarlStraussberger enabled auto-merge (rebase) April 11, 2024 05:00

.. code-block:: sh

curl -fsSL https://gerbera.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -
sudo apt-add-repository https://gerbera.jfrog.io/artifactory/debian
wget -O - https://pkg.gerbera.io/public.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/gerbera-keyring.gpg >/dev/null
Copy link

@Martii Martii Apr 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know if this is "the usual thing" but still getting stdout on the binary gpg key here... it does however create it correctly in the target file. Logging might be a little messy if this is the norm.


Misc Note: We use a variation on it... doesn't matter on curl or wget... but this doesn't generate stdout here:

curl -fsSL $KEY | sudo gpg --batch --yes --dearmor -o $KEYRING

EDIT Retested this today (the next day) and it's not dumping the key to stdout anymore... weird... anywho... please ignore if you wish. :\

curl -fsSL https://gerbera.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -
sudo apt-add-repository https://gerbera.jfrog.io/artifactory/debian
wget -O - https://pkg.gerbera.io/public.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/gerbera-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/gerbera-keyring.gpg] https://pkg.gerbera.io/debian/ $(lsb_release -c --short) main" | sudo tee /etc/apt/sources.list.d/gerbera.list >/dev/null
Copy link

@Martii Martii Apr 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created file normally...

sudo apt-add-repository https://gerbera.jfrog.io/artifactory/debian
wget -O - https://pkg.gerbera.io/public.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/gerbera-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/gerbera-keyring.gpg] https://pkg.gerbera.io/debian/ $(lsb_release -c --short) main" | sudo tee /etc/apt/sources.list.d/gerbera.list >/dev/null
sudo apt-get update
Copy link

@Martii Martii Apr 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... as you mentioned the release isn't there yet:

Reading package lists... Done                                      
E: The repository 'https://pkg.gerbera.io/debian jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

.. code-block:: sh

wget -O - https://pkg.gerbera.io/public.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/gerbera-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/gerbera-keyring.gpg] https://pkg.gerbera.io/debian-git/ $(lsb_release -c --short) main" | sudo tee /etc/apt/sources.list.d/gerbera.list >/dev/null
Copy link

@Martii Martii Apr 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See successful installation/start screenshot at #2988 (comment)

@@ -28,21 +28,26 @@ Ubuntu/Mint
.. index:: Ubuntu Linux
.. index:: Mint

We maintain a `Ubuntu Repository <https://gerbera.jfrog.io/>`__.
We maintain a `Ubuntu Repository <https://pkg.gerbera.io/>`__.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting this friendly message for the page:
grafik

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes a landing page there would be nice to have. Some sources don't though and makes finding if a release is available by directory read traversal a little harder to determine if a certain distro is supported yet.

@whyman whyman merged commit 6134c4e into gerbera:master Apr 12, 2024
19 checks passed
@whyman whyman deleted the update-debian-docs branch April 12, 2024 17:41
@whyman
Copy link
Member Author

whyman commented Apr 12, 2024

Thanks for looking at this @Martii!

Will look at getting something friendlier up on when you load it directly

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

Successfully merging this pull request may close these issues.

3 participants