openSUSE / obs-docu

Official Open Build Service Documentation. Content gets reviewed and edited. Generated books are available at http://www.openbuildservice.org
34 stars 71 forks source link

Rectify package installation command in Documentation #271

Closed gauravpathak closed 1 year ago

gauravpathak commented 1 year ago

The command mentioned in 1.10 Installing Packages from OBS

zypper addrepo https://download.opensuse.org/repositories/home:/obsgeeko/openSUSE_Tumbleweed/home:obsgeeko.repo

doesn't seems to work as expected.

Please modify/rectify the command to reflect proper way of finding correct URL of the repository to be used with zypper command.

hellcp-work commented 1 year ago

This command works just fine

# zypper addrepo https://download.opensuse.org/repositories/home:/obsgeeko/openSUSE_Tumbleweed/home:obsgeeko.repo
Adding repository 'OBS Example User (openSUSE_Tumbleweed)' ...[done]
Repository 'OBS Example User (openSUSE_Tumbleweed)' successfully added

URI         : https://download.opensuse.org/repositories/home:/obsgeeko/openSUSE_Tumbleweed/
Enabled     : Yes
GPG Check   : Yes
Autorefresh : No
Priority    : 99 (default priority)

Repository priorities are without effect. All enabled repositories share the same priority.
# zypper ref

New repository or package signing key received:

  Repository:       OBS Example User (openSUSE_Tumbleweed)
  Key Fingerprint:  E58F B029 8E17 D724 4894 98A1 72CB B598 D29C 4551
  Key Name:         home:obsgeeko OBS Project <home:obsgeeko@build.opensuse.org>
  Key Algorithm:    RSA 2048
  Key Created:      Fri Feb 18 22:06:51 2022
  Key Expires:      Sun Apr 28 23:06:51 2024
  Rpm Name:         gpg-pubkey-d29c4551-62100a6b

    Note: Signing data enables the recipient to verify that no modifications occurred after the data
    were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
    and in extreme cases even to a system compromise.

    Note: A GPG pubkey is clearly identified by its fingerprint. Do not rely on the key's name. If
    you are not sure whether the presented key is authentic, ask the repository provider or check
    their web site. Many providers maintain a web page showing the fingerprints of the GPG keys they
    are using.

Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): t
Retrieving repository 'OBS Example User (openSUSE_Tumbleweed)' metadata ...[done]
All repositories have been refreshed.