Обсуждение: BUG #17881: Dependency error in Barman 3.5

Поиск
Список
Период
Сортировка

BUG #17881: Dependency error in Barman 3.5

От
PG Bug reporting form
Дата:
The following bug has been logged on the website:

Bug reference:      17881
Logged by:          José María Terry Jiménez
Email address:      jtj@tssystems.net
PostgreSQL version: 15.2
Operating system:   Fedora 37 x86_64
Description:

Hello

I selected version 15.2 because it was required to select one. Not
PostgreSQL related, is Barman related.

When updating via DNF Barman to 3.5 I get a dependency error in
python3-psycopg2 "nothing provides python3-psycopg2 >= 3.1.8"

I think there is a dependency mistake as python3-psycopg2 not provides
3.x.x, I think it must be python3-psycopg3 that provides
python3-psycopg3-3.1.8-1 from the pgdg-common repo

Best,

Here the output of dnf upgrade:

dnf upgrade
Last metadata expiration check: 0:03:27 ago on Fri Mar 31 11:55:13 2023.
Dependencies resolved.

 Problem 1: cannot install the best update candidate for package
python3-barman-3.4.0-1.f37.noarch
  - nothing provides python3-psycopg2 >= 3.1.8 needed by
python3-barman-3.5.0-1.f37.noarch
 Problem 2: package barman-cli-3.5.0-1.f37.noarch requires python3-barman =
3.5.0, but none of the providers can be installed
  - cannot install the best update candidate for package
barman-cli-3.4.0-1.f37.noarch
  - nothing provides python3-psycopg2 >= 3.1.8 needed by
python3-barman-3.5.0-1.f37.noarch
 Problem 3: package barman-3.5.0-1.f37.noarch requires python3-barman =
3.5.0, but none of the providers can be installed
  - cannot install the best update candidate for package
barman-3.4.0-1.f37.noarch
  - nothing provides python3-psycopg2 >= 3.1.8 needed by
python3-barman-3.5.0-1.f37.noarch
================================================================================
 Package              Architecture Version              Repository
Size
================================================================================
Skipping packages with broken dependencies:
 barman               noarch       3.5.0-1.f37          pgdg-common
48 k
 barman-cli           noarch       3.5.0-1.f37          pgdg-common
55 k
 python3-barman       noarch       3.5.0-1.f37          pgdg-common
572 k

Transaction Summary
================================================================================
Skip  3 Packages

Nothing to do.
Complete!


BUG #17881: Dependency error in Barman 3.5

От
"David G. Johnston"
Дата:
On Friday, March 31, 2023, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      17881
Logged by:          José María Terry Jiménez
Email address:      jtj@tssystems.net
PostgreSQL version: 15.2
Operating system:   Fedora 37 x86_64
Description:       

Hello

I selected version 15.2 because it was required to select one. Not
PostgreSQL related, is Barman related.

Which you should interpret as this isn’t an appropriate place to file the bug report.  You should go file it with the packager project.

David J.

Re: BUG #17881: Dependency error in Barman 3.5 **SOLVED**

От
José María Terry Jiménez
Дата:
El 31/3/23 a las 12:11, PG Bug reporting form escribió:
> The following bug has been logged on the website:
>
> Bug reference:      17881
> Logged by:          José María Terry Jiménez
> Email address:      jtj@tssystems.net
> PostgreSQL version: 15.2
> Operating system:   Fedora 37 x86_64
> Description:
>
> Hello
>
> I selected version 15.2 because it was required to select one. Not
> PostgreSQL related, is Barman related.
>
> When updating via DNF Barman to 3.5 I get a dependency error in
> python3-psycopg2 "nothing provides python3-psycopg2 >= 3.1.8"
>
> I think there is a dependency mistake as python3-psycopg2 not provides
> 3.x.x, I think it must be python3-psycopg3 that provides
> python3-psycopg3-3.1.8-1 from the pgdg-common repo
>
> Best,
>
> Here the output of dnf upgrade:
>
> dnf upgrade
> Last metadata expiration check: 0:03:27 ago on Fri Mar 31 11:55:13 2023.
> Dependencies resolved.
>
>   Problem 1: cannot install the best update candidate for package
> python3-barman-3.4.0-1.f37.noarch
>    - nothing provides python3-psycopg2 >= 3.1.8 needed by
> python3-barman-3.5.0-1.f37.noarch
>   Problem 2: package barman-cli-3.5.0-1.f37.noarch requires python3-barman =
> 3.5.0, but none of the providers can be installed
>    - cannot install the best update candidate for package
> barman-cli-3.4.0-1.f37.noarch
>    - nothing provides python3-psycopg2 >= 3.1.8 needed by
> python3-barman-3.5.0-1.f37.noarch
>   Problem 3: package barman-3.5.0-1.f37.noarch requires python3-barman =
> 3.5.0, but none of the providers can be installed
>    - cannot install the best update candidate for package
> barman-3.4.0-1.f37.noarch
>    - nothing provides python3-psycopg2 >= 3.1.8 needed by
> python3-barman-3.5.0-1.f37.noarch
> ================================================================================
>   Package              Architecture Version              Repository
> Size
> ================================================================================
> Skipping packages with broken dependencies:
>   barman               noarch       3.5.0-1.f37          pgdg-common
> 48 k
>   barman-cli           noarch       3.5.0-1.f37          pgdg-common
> 55 k
>   python3-barman       noarch       3.5.0-1.f37          pgdg-common
> 572 k
>
> Transaction Summary
> ================================================================================
> Skip  3 Packages
>
> Nothing to do.
> Complete!
>
This is solved with Barman 3.5.0-1.f37




Re: BUG #17881: Dependency error in Barman 3.5

От
José María Terry Jiménez
Дата:
El 31/3/23 a las 15:40, David G. Johnston escribió:
On Friday, March 31, 2023, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      17881
Logged by:          José María Terry Jiménez
Email address:      jtj@tssystems.net
PostgreSQL version: 15.2
Operating system:   Fedora 37 x86_64
Description:       

Hello

I selected version 15.2 because it was required to select one. Not
PostgreSQL related, is Barman related.

Which you should interpret as this isn’t an appropriate place to file the bug report.  You should go file it with the packager project.

David J.

AFAIK This package is packaged by postgresql.org and is in pgdg Common repo:

https://download.postgresql.org/pub/repos/yum/common/fedora/fedora-37-x86_64/


and


dnf info barman
Last metadata expiration check: 3:00:51 ago on Fri Mar 31 21:14:22 2023.
Installed Packages
Name         : barman
Version      : 3.5.0
Release      : 2.f37
Architecture : noarch
Size         : 80 k
Source       : barman-3.5.0-2.f37.src.rpm
Repository   : @System
From repo    : pgdg-common
Summary      : Backup and Recovery Manager for PostgreSQL
URL          : https://www.pgbarman.org/
License      : GPLv3
Description  : Barman (Backup and Recovery Manager) is an open-source
             : administration tool for disaster recovery of PostgreSQL servers
             : written in Python. It allows your organization to perform remote
             : backups of multiple servers in business critical environments to
             : reduce risk and help DBAs during the recovery phase.
             :
             : Barman is distributed under GNU GPL 3 and maintained by
             : EnterpriseDB.