Problem upgrading postgis25_11 on Fedora 29

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem upgrading postgis25_11 on Fedora 29

Laurenz Albe
I have PostgreSQL v10 and v11 installed, both with PostGIS.

Upgrading PostGIT for version 10 to postgis25_10-2.5.2-2.f29.x86_64
worked fine, but upgrading PostGIS for v11 failed:

> sudo dnf --refresh --repo=pgdg11 -y upgrade postgis25_11

enabling pgdg11-debuginfo repository
PostgreSQL 11 29 - x86_64                                                                                    39 kB/s | 3.8 kB     00:00    
PostgreSQL 11 29 - x86_64 - Debuginfo                                                                       3.7 kB/s | 345  B     00:00    
Failed to synchronize cache for repo 'pgdg11-debuginfo'
Ignoring repositories: pgdg11-debuginfo
Dependencies resolved.
============================================================================================================================================
 Package                             Architecture                  Version                              Repository                     Size
============================================================================================================================================
Upgrading:
 postgis25_11                        x86_64                        2.5.2-2.f29                          pgdg11                        5.7 M

Transaction Summary
============================================================================================================================================
Upgrade  1 Package

Total download size: 5.7 M
Downloading Packages:
postgis25_11-2.5.2-2.f29.x86_64.rpm                                                                         4.6 MB/s | 5.7 MB     00:01    
--------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                       4.5 MB/s | 5.7 MB     00:01    
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file /usr/lib/.build-id/7d/3063974d2f3d5f8e83f4c9038242418b06727e from install of postgis25_11-2.5.2-2.f29.x86_64 conflicts with file from package postgis25_10-2.5.2-2.f29.x86_64


Did I do anything wrong, or is that a packaging problem?

Yours,
Laurenz Albe



Reply | Threaded
Open this post in threaded view
|

Re: Problem upgrading postgis25_11 on Fedora 29

Devrim GÜNDÜZ
       
Hi,

On Thu, 2019-06-06 at 16:18 +0200, Laurenz Albe wrote:
>   file /usr/lib/.build-id/7d/3063974d2f3d5f8e83f4c9038242418b06727e from
> install of postgis25_11-2.5.2-2.f29.x86_64 conflicts with file from package
> postgis25_10-2.5.2-2.f29.x86_64
>
>
> Did I do anything wrong, or is that a packaging problem?

Thanks for the report.

Looks like it is a packaging problem-ish (and I believe this issue may exist in
some of the other packages...)

Per https://bugzilla.redhat.com/show_bug.cgi?id=1432372 , removing %defattr
worked. Pushed the fix to git repo:

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=a6bd55e5b827dd0d3adf9ea7ba78ede9a9943a5d

I will release the updated packages tomorrow evening latest.

Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem upgrading postgis25_11 on Fedora 29

Devrim GÜNDÜZ

Hi,

On Fri, 2019-06-07 at 17:23 +0200, Devrim Gündüz wrote:

> https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=a6bd55e5b827dd0d3adf9ea7ba78ede9a9943a5d
>
> I will release the updated packages tomorrow evening latest.

Done. Sorry for the delay, I also had to fix a linker issue.

Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem upgrading postgis25_11 on Fedora 29

Laurenz Albe
On Tue, 2019-06-11 at 01:30 +0300, Devrim Gündüz wrote:
> > https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=a6bd55e5b827dd0d3adf9ea7ba78ede9a9943a5d
> >
> > I will release the updated packages tomorrow evening latest.
>
> Done. Sorry for the delay, I also had to fix a linker issue.

Thanks, there is no hurry from my side.

Now I see a different problem:

sudo dnf --refresh --repo=pgdg11 -y upgrade postgis25_11
enabling pgdg11-debuginfo repository
PostgreSQL 11 29 - x86_64                                                                                                                                                          742  B/s |
345  B     00:00    
Failed to synchronize cache for repo 'pgdg11'
PostgreSQL 11 29 - x86_64 - Debuginfo                                                                                                                                              1.7 kB/s |
345  B     00:00    
Failed to synchronize cache for repo 'pgdg11-debuginfo'
Ignoring repositories: pgdg11, pgdg11-debuginfo
Dependencies resolved.
Nothing to do.
Complete!

That's probably some problem on my end, though "I didn't change anything".

The following is a different problem, but I tried to look at
https://yum.postgresql.org/packages.php
to locate the package directly, and noticed that:

1. The PostgreSQL 11 links still mostly point to "testing/11"

2. There are two links for Fedora 28, but none for Fedora 29.

Yours,
Laurenz Albe



Reply | Threaded
Open this post in threaded view
|

Re: Problem upgrading postgis25_11 on Fedora 29

Devrim GÜNDÜZ

Hi,

On Tue, 2019-06-11 at 09:17 +0200, Laurenz Albe wrote:
>


> sudo dnf --refresh --repo=pgdg11 -y upgrade postgis25_11
> enabling pgdg11-debuginfo repository
> PostgreSQL 11 29 -
> x86_64                                                                      
>                                                                              
>      742  B/s |
> 345  B     00:00    
> Failed to synchronize cache for repo 'pgdg11'
> PostgreSQL 11 29 - x86_64 -
> Debuginfo                                                                    
>                                                                           1.7
> kB/s |
> 345  B     00:00    
> Failed to synchronize cache for repo 'pgdg11-debuginfo'
> Ignoring repositories: pgdg11, pgdg11-debuginfo
> Dependencies resolved.
> Nothing to do.
> Complete!
It was the issue that Bernd also reported. Fixed.

Regards,

--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem upgrading postgis25_11 on Fedora 29

Laurenz Albe
Devrim Gündüz wrote:
> > Failed to synchronize cache for repo 'pgdg11-debuginfo'
> > Ignoring repositories: pgdg11, pgdg11-debuginfo
> > Dependencies resolved.
> > Nothing to do.
> > Complete!
>
> It was the issue that Bernd also reported. Fixed.

Thanks, it works now.

Yours,
Laurenz Albe