Thread: BUG #17987: zypper refresh failed when installed the postgresql

BUG #17987: zypper refresh failed when installed the postgresql

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      17987
Logged by:          zeng
Email address:      270246512@qq.com
PostgreSQL version: 13.11
Operating system:   suse
Description:

when try to follow up on the guide https://zypp.postgresql.org/howtozypp/,
meet the following error on the zypper refresh.

bash-4.4#  zypper addrepo
https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg15.repo
aa
Adding repository 'aa'

.................................................................................................................................................................................[done]
Repository 'aa' successfully added

URI         :
https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg15.repo
Enabled     : Yes
GPG Check   : Yes
Autorefresh : No
Priority    : 99 (default priority)

Repository priorities in effect:

                    (See 'zypper lr -P' for details)
       1 (raised priority)  :  3 repositories
      99 (default priority) :  2 repositories
bash-4.4#
bash-4.4# zypper repos
Repository priorities in effect:

                    (See 'zypper lr -P' for details)
       1 (raised priority)  :  3 repositories
      99 (default priority) :  2 repositories

# | Alias            | Name             | Enabled | GPG Check | Refresh
--+------------------+------------------+---------+-----------+--------
1 | CBA_REPO_NEW     | CBA_REPO_NEW     | Yes     | ( p) Yes  | Yes
2 | LDC-CBA-SLES     | LDC-CBA-SLES     | Yes     | (rp) Yes  | Yes
3 | LDC-CBA-SLES_DEV | LDC-CBA-SLES_DEV | Yes     | (rp) Yes  | Yes
4 | aa               | aa               | Yes     | ( p) Yes  | No
bash-4.4#
bash-4.4#
bash-4.4# zypper refresh aa
Retrieving repository 'aa' metadata

...................................................................................................................................................................[error]
Repository 'aa' is invalid.
[aa|https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg15.repo]
Valid metadata not found at specified URL
History:
 -
[aa|https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg15.repo]
Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid
repository.
Skipping repository 'aa' because of the above error.
Could not refresh the repositories because of errors.

#############
 uname -a
Linux pg-0 5.3.18-57-default #1 SMP Wed Apr 28 10:54:41 UTC 2021 (ba3c2e9)
x86_64 x86_64 x86_64 GNU/Linux


Re: BUG #17987: zypper refresh failed when installed the postgresql

From
Laurenz Albe
Date:
On Wed, 2023-06-21 at 09:17 +0000, PG Bug reporting form wrote:
> when try to follow up on the guide https://zypp.postgresql.org/howtozypp/,
> meet the following error on the zypper refresh.
>
> bash-4.4#  zypper addrepo
> https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg15.repo
> aa
> Adding repository 'aa'
>
.................................................................................................................................................................................[done]
> Repository 'aa' successfully added

The instructions say nothing about "aa".

Problems with the SUSE packages should directed to the pgsql-pkg-yum mailing list.

Yours,
Laurenz Albe



Re:Re: BUG #17987: zypper refresh failed when installed the postgresql

From
"270246512"
Date:
Hi Laurenz Albe,

Thanks for your quick reply.

Could you give more details for Problems with the SUSE packages should directed to the pgsql-pkg-yum mailing list?   how to solve this issue?

Thanks
Zeng




Original Email

Sender:"Laurenz Albe"< laurenz.albe@cybertec.at >;

Sent Time:2023/6/21 19:17

To:"270246512"< 270246512@qq.com >;"pgsql-bugs"< pgsql-bugs@lists.postgresql.org >;

Subject:Re: BUG #17987: zypper refresh failed when installed the postgresql


On Wed, 2023-06-21 at 09:17 +0000, PG Bug reporting form wrote:
> when try to follow up on the guide https://zypp.postgresql.org/howtozypp/,
> meet the following error on the zypper refresh.
>
> bash-4.4#  zypper addrepo
> https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg15.repo
> aa
> Adding repository 'aa'
> .................................................................................................................................................................................[done]
> Repository 'aa' successfully added

The instructions say nothing about "aa".

Problems with the SUSE packages should directed to the pgsql-pkg-yum mailing list.

Yours,
Laurenz Albe

Re: Re: BUG #17987: zypper refresh failed when installed the postgresql

From
Laurenz Albe
Date:
On Wed, 2023-06-21 at 22:14 +0800, 270246512 wrote:
> Could you give more details for Problems with the SUSE packages
> should directed to the pgsql-pkg-yum mailing list?
> how to solve this issue?

https://www.postgresql.org/list/

You subscribe to the list and write your question to that list.

Yours,
Laurenz Albe