<div dir="ltr">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?<div><br></div><div>(Reading database ... 156285 files and directories currently installed.)<br>Preparing to unpack .../postgresql-11-postgis-2.5-scripts_2.5.3+dfsg-3.pgdg18.04+1_all.deb ...<br>Unpacking postgresql-11-postgis-2.5-scripts (2.5.3+dfsg-3.pgdg18.04+1) over (2.5.3+dfsg-2.pgdg18.04+1) ...<br>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):<br><span style="background-color:rgb(255,255,0)"> 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<br></span>dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)<br>Errors were encountered while processing:<br> /var/cache/apt/archives/postgresql-11-postgis-2.5-scripts_2.5.3+dfsg-3.pgdg18.04+1_all.deb<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br><div><br></div><div>Thanks</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Richard W. Greenwood, PLS<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div></div></div>