[apt] provide pgadmin4.sources instead of pgadmin4.list

Open Beginner friendly
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
debian, html
Domain
documentation

Research direction

Start at the pgAdmin 4 APT download page shown in the reproduction steps and find where it presents the repository setup command. Check the page’s source and any nearby tests or documentation. Update the instructions to provide a .sources file in the modern deb822 format; done when the page shows a working command that matches the provided example.

Written by the indexing model from the issue text.

Description

bug

Please note that security bugs or issues should be reported to [email protected].

Describe the bug

in modern ubuntu/debian repository in sources list have sources format

To Reproduce

Steps to reproduce the behavior:

  1. open https://www.pgadmin.org/download/pgadmin-4-apt/
  2. see
sudo sh -c 'echo "deb [signed-by=/etc/apt/keyrings/packages-pgadmin-org.gpg] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'

Fix from me:

wget -qO- https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg
echo -e "Types: deb\nURIs: https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs)\nSuites: pgadmin4\nComponents: main\nArchitectures: amd64\nSigned-By: /usr/share/keyrings/packages-pgadmin-org.gpg" | sudo tee /etc/apt/sources.list.d/pgadmin4.sources

Please fix it

Dominant language
HTML
Stars
3
Forks
6
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pgadmin-org/pgaweb

All issues in pgadmin-org/pgaweb

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.