<html><head></head><body><div>Hi Paul,</div><div><br></div><div>Thank you for spotting this out, I did not notice it during my tests before uploading.</div><div><br></div><div>On Thu, 2021-12-09 at 08:50 +0100, Paul Gevers wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Hi<br></div><div><br></div><div>As a note, this doesn't look pretty during upgrade:<br></div><div><br></div><div>Unpacking lazarus-src-2.0 (2.0.12+dfsg-6) over (2.0.12+dfsg-5) ...<br></div><div>Removing 'diversion of <br></div><div>/usr/lib/lazarus/2.0.12/components/codetools/ide/cody.lpk to <br></div><div>/usr/lib/lazarus/2.0.12/components/codetools/ide/cody.lpk.orig by <br></div><div>lazarus-src-2.0'<br></div><div>dpkg-divert: error: rename involves overwriting <br></div><div>'/usr/lib/lazarus/2.0.12/components/codetools/ide/cody.lpk' with<br></div><div>   different file <br></div><div>'/usr/lib/lazarus/2.0.12/components/codetools/ide/cody.lpk.orig', not <br></div><div>allowed<br></div><div>dpkg: warning: old lazarus-src-2.0 package post-removal script <br></div><div>subprocess returned error exit status 2<br></div><div>dpkg: trying script from the new package instead ...<br></div><div>dpkg: ... it looks like that went OK</div></blockquote><div>It looks like the logic does not account for upgrading for the same upstream version. </div><div>This is really annoying and I'll appreciate any help for it.</div><div>I'm more and more convinced that using arch:all packages for distributing the .lpk files is the right solution for this problem.</div><div>This diversion stuff looks really ugly.</div><pre style="caret-color: rgb(46, 52, 54); color: rgb(46, 52, 54); font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;">-- <br></pre><pre style="caret-color: rgb(46, 52, 54); color: rgb(46, 52, 54); font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;">Cheers,
Abou Al Montacir</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote></body></html>