Hi Paul, Thank you for spotting this out, I did not notice it during my tests before uploading.
On Thu, 2021-12-09 at 08:50 +0100, Paul Gevers wrote: > Hi > > As a note, this doesn't look pretty during upgrade: > > Unpacking lazarus-src-2.0 (2.0.12+dfsg-6) over (2.0.12+dfsg-5) ... > Removing 'diversion of > /usr/lib/lazarus/2.0.12/components/codetools/ide/cody.lpk to > /usr/lib/lazarus/2.0.12/components/codetools/ide/cody.lpk.orig by > lazarus-src-2.0' > dpkg-divert: error: rename involves overwriting > '/usr/lib/lazarus/2.0.12/components/codetools/ide/cody.lpk' with > different file > '/usr/lib/lazarus/2.0.12/components/codetools/ide/cody.lpk.orig', not > allowed > dpkg: warning: old lazarus-src-2.0 package post-removal script > subprocess returned error exit status 2 > dpkg: trying script from the new package instead ... > dpkg: ... it looks like that went OK It looks like the logic does not account for upgrading for the same upstream version. This is really annoying and I'll appreciate any help for it. I'm more and more convinced that using arch:all packages for distributing the .lpk files is the right solution for this problem. This diversion stuff looks really ugly. -- Cheers, Abou Al Montacir
signature.asc
Description: This is a digitally signed message part