Hi Johan,

On Mon, 2025-02-10 at 20:11 +0100, Johann Glaser wrote:
> Package: lazarus-ide
> Version: 3.8+dfsg1-7
> Severity: important
> 
> Dear Maintainer,
> 
> Installing Lazarus 3.8 causes problems (IIRC since the first subversion
> 3.8+dfsg1-1).
Yes, the first versions of Lazarus 3.8 were affected by a bug causing this kind
of issue.
However this bug was solved.
> 
> I used "aptitude" to update, but also on the command line with "dpkg" I
> get the same errors:
Can you give a bit more precision?
 1. What aptitude command did you use exactly?
 2. What version was already installed before you execute that command?
> 
> # dpkg -i /var/cache/apt/archives/lcl-units-3.8_3.8+dfsg1-7_amd64.deb
> /var/cache/apt/archives/lazarus-ide-3.8_3.8+dfsg1-7_amd64.deb
> (Reading database ... 646108 files and directories currently
> installed.)
> Preparing to unpack .../lcl-units-3.8_3.8+dfsg1-7_amd64.deb ...
> Unpacking lcl-units-3.8 (3.8+dfsg1-7) over (3.8+dfsg1-6) ...
> dpkg: error processing archive /var/cache/apt/archives/lcl-
> units-3.8_3.8+dfsg1-7_amd64.deb (--install):
>  trying to overwrite
> '/usr/lib/lazarus/3.8/components/IdeInspector/ideinspector.lpk', which
> is also
> ...
Can you please check the content of
cat /var/lib/dpkg/info/lazarus-src-3.8.preinst
> 
> When I install with --force-all, it works with numerous warnings:
> 
> # dpkg -i --force-all /var/cache/apt/archives/lcl-
> units-3.8_3.8+dfsg1-7_amd64.deb /var/cache/apt/archives/lazarus-
> ide-3.8_3.8+dfsg1-7_amd64.deb
> (Reading database ... 646108 files and directories currently
> installed.)
> Preparing to unpack .../lcl-units-3.8_3.8+dfsg1-7_amd64.deb ...
> Unpacking lcl-units-3.8 (3.8+dfsg1-7) over (3.8+dfsg1-6) ...
> dpkg: warning: overriding problem because --force enabled:
> dpkg: warning: trying to overwrite
> '/usr/lib/lazarus/3.8/components/IdeInspector/ideinspector.lpk', which
> ...
> also in
> package lazarus-src-3.8 (3.8+dfsg1-7)
> Setting up lcl-units-3.8 (3.8+dfsg1-7) ...
> Setting up lazarus-ide-3.8 (3.8+dfsg1-7) ...
> update-alternatives: using /usr/lib/lazarus/3.8/startlazarus to provide
> /usr/bin/lazarus-ide (lazarus-ide) in auto mode
> ...
Does it work with this?
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers stable-security
>   APT policy: (500, 'stable-security'), (500, 'unstable'), (500,
> 'testing'), (500, 'stable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> ....
> lazarus-ide recommends no packages.
> 
> lazarus-ide suggests no packages.
> ...
Will it be possible to uninstall (maybe purge) all lazarus/lcl packages and
install again?
I just installed a fresh version of 3.8 over a 3.6 and it went as expected.
-- 
Cheers,
Abou Al Montacir

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to