[postgis-users] Ubuntu upgrade conflict

Regina Obe lr at pcorp.us
Sun Feb 2 19:05:57 PST 2020


I think apt upgrade tries to upgrade everything unless you mark some things as hold back.

 

Which version of PostgreSQL/PostGIS are you running.  From looks of it, looks like you have both PostgreSQL 11 2.5  and PostgreSQL 11 3.0

 

From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Richard Greenwood
Sent: Sunday, February 2, 2020 9:29 AM
To: PostGIS Users Discussion <postgis-users at lists.osgeo.org>
Subject: [postgis-users] Ubuntu upgrade conflict

 

I am getting the error below when running 'apt upgrade' on a Ubuntu 18.04 server. I'm not upgrading postgis versions or any, just basic system maintenance. Any ideas?

 

(Reading database ... 156285 files and directories currently installed.)
Preparing to unpack .../postgresql-11-postgis-2.5-scripts_2.5.3+dfsg-3.pgdg18.04+1_all.deb ...
Unpacking postgresql-11-postgis-2.5-scripts (2.5.3+dfsg-3.pgdg18.04+1) over (2.5.3+dfsg-2.pgdg18.04+1) ...
dpkg: error processing archive /var/cache/apt/archives/postgresql-11-postgis-2.5-scripts_2.5.3+dfsg-3.pgdg18.04+1_all.deb (--unpack):
 trying to overwrite '/usr/share/postgresql/11/applications/shp2pgsql-gui.desktop', which is also in package postgresql-11-postgis-3-scripts 3.0.0+dfsg-2~exp1.pgdg18.04+1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/postgresql-11-postgis-2.5-scripts_2.5.3+dfsg-3.pgdg18.04+1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Thanks

-- 

Richard W. Greenwood, PLS
www.greenwoodmap.com <http://www.greenwoodmap.com> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20200202/9c6eb5f7/attachment.html>


More information about the postgis-users mailing list