[Pkg-pascal-devel] lazarus upgrade looks scary

Abou Al Montacir abou.almontacir at sfr.fr
Sun Apr 30 10:21:13 BST 2023


Hi Paul,

On Sat, 2023-04-22 at 23:19 +0200, Abou Al Montacir wrote:
> Hi Paul,
> 
> On Sat, 2023-04-22 at 12:41 +0200, Paul Gevers wrote:
> > Hi Abou,
> > 
> > I just updated my bookworm system and noticed the following:
> > 
> > Unpacking lazarus-src-2.2 (2.2.6+dfsg1-2) over (2.2.4+dfsg1-2) ...
> > Removing 'diversion of /usr/lib/lazarus/2.2.4/lcl/interfaces/lcl.lpk to 
> > /usr/lib/lazarus/2.2.4/lcl/interfaces/lcl.lpk.orig by lazarus-src-2.2'
> > dpkg-divert: error: rename involves overwriting 
> > '/usr/lib/lazarus/2.2.4/lcl/interfaces/lcl.lpk' with
> >    different file '/usr/lib/lazarus/2.2.4/lcl/interfaces/lcl.lpk.orig', 
> > not allowed
> > dpkg: warning: old lazarus-src-2.2 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
> > 
> > That "error:" string in the middle was warning. It looks scary, even 
> > though the install is successful. Not sure if it needs to (or can) be 
> > fixed, but just in case you didn't know yet, please be aware of it.
> Thanks spotting this. I did not notice it during my updates.
> It looks that we have an issue in 2.2.4 post removal script, but this error
> should also be in 2.2.6 then as it was not changed.
> So we may encounter errors to upgrade from Bookworm to the next release if we
> don't fix it.
> 
> I'll try to reproduce it in order to understand what happened and try to fix
> it. However, with code freeze, I'll need to be careful to not break anything.
I've upgraded my laptop from bullseye to bookworm and the upgrade of Lazarus
went smooth.

The result is satisfactory and I don't think we need to worry about this
warning.
-- 
Cheers,
Abou Al Montacir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20230430/fe7e61db/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/20230430/fe7e61db/attachment.sig>


More information about the Pkg-pascal-devel mailing list