[postgis-users] Ubuntu upgrade conflict

Richard Greenwood richard.greenwood at gmail.com
Mon Feb 3 05:43:06 PST 2020


Thank you. I had not run into that before.

Rich


On Mon, Feb 3, 2020 at 2:45 AM Micha Silver <tsvibar at gmail.com> wrote:

> I can confirm a similar error on Debian 10.
> As Regina suggested I checked and found Postgresql-11-Postgis-3 packages
> installed also. After purging those, the routine update worked.
>
> On 2/3/2020 5:05 AM, Regina Obe wrote:
>
> 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
> <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>
> <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
>
> _______________________________________________
> postgis-users mailing listpostgis-users at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/postgis-users
>
>
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> +972-523-665918
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users



-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20200203/cfe232e4/attachment.html>


More information about the postgis-users mailing list