[Pkg-pascal-devel] Bug#1060189: Bug#1060189: lazarus-src-3.0: diversion handling seems wrong (it works, but after an error)

Abou Al Montacir abou.almontacir at sfr.fr
Thu Jan 11 19:40:16 GMT 2024


Hi Paul,

On Sun, 2024-01-07 at 08:35 +0100, Paul Gevers wrote:
> Unpacking lazarus-src-3.0 (3.0+dfsg1-5) over (3.0+dfsg1-3) ...
> Removing 'diversion of 
> /usr/lib/lazarus/3.0/components/compilers/delphi/lazdelphi.lpk to 
> /usr/lib/lazarus/3.0/components/compilers/delphi/lazdelphi.lpk.orig by 
> lazarus-src-3.0'
> dpkg-divert: error: rename involves overwriting 
> '/usr/lib/lazarus/3.0/components/compilers/delphi/lazdelphi.lpk' with
>    different file 
> '/usr/lib/lazarus/3.0/components/compilers/delphi/lazdelphi.lpk.orig', 
> not allowed
> dpkg: warning: old lazarus-src-3.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
I really don't understand this issue. The file exists indeed in both packages
and both files are different:
$ diff -u /usr/lib/lazarus/3.0/components/ideintf/ideintf.lpk*
--- /usr/lib/lazarus/3.0/components/ideintf/ideintf.lpk	2023-12-25 17:50:46.000000000 +0100
+++ /usr/lib/lazarus/3.0/components/ideintf/ideintf.lpk.orig	2023-12-25 17:50:46.000000000 +0100
@@ -4,7 +4,7 @@
     <Name Value="IDEIntf"/>
     <Type Value="RunAndDesignTime"/>
     <Author Value="Lazarus"/>
-    <AutoUpdate Value="AsNeeded"/>
+    <AutoUpdate Value="Manually"/>
     <CompilerOptions>
       <Version Value="11"/>
       <SearchPaths>

But this is the case of all lpk files where the binary package provide a
Manually compilable package while the source one provides a Compile As Needed
package file.

This was the case since many years now.
-- 
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20240111/a5708260/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/20240111/a5708260/attachment.sig>


More information about the Pkg-pascal-devel mailing list