[Pkg-pascal-devel] Bug#990224: Bug#990224: leaves diversion after upgrade from sid to experimental

Abou Al Montacir abou.almontacir at sfr.fr
Sat Dec 11 09:49:39 GMT 2021


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20211211/4be96623/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20211211/4be96623/attachment.sig>


More information about the Pkg-pascal-devel mailing list