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
signature.asc
Description: This is a digitally signed message part

