Bug#942768: lcl-units-2.0: file conflict with lazarus-src-2.0 (versin 2.0.2+dfsg-5)

2019-10-23 Thread Jan Volec
Awesome, can confirm the 2.0.2+dfsg-6 version works for me again!


Best wishes,

Jan

> Hi Jan, Hi Andreas,
> > both contains the same file, namely 
> >   /usr/lib/lazarus/2.0.2/components/IdeInspector/ideinspector.lpk
> > and removing it from one of them would fix the issue.
> That is not a bug, but rather a feature that is solving previous bugs [1] and
> [2]
> The issue is that I copied some code from the Debian policy manual [3] and 
> that
> code was wrong:
> The given example is missing closing bracket. I should noticed it before, but
> for some obscure reason it is passing on my computer:if [ upgrade != "$1 || 
> dpkg
> --compare-versions "$2" lt 1.0-2; then
> I've checked it again and I've fixed it. Will upload soon.
> 
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823706
> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898310
> [3] https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html-- 
> Cheers,
> Abou Al Montacir



Bug#942768: [Pkg-pascal-devel] Bug#942768: lcl-units-2.0: file conflict with lazarus-src-2.0 (versin 2.0.2+dfsg-5)

2019-10-23 Thread Alexander Kernozhitsky
> Can you please check on your /var/lib/dpkg/diversions whether you have the
> following lines:
> /usr/lib/lazarus/2.0.2/components/IdeInspector/ideinspector.lpk/usr/lib/la
> zarus/2.0.2/components/IdeInspector/ideinspector.lpk.origlazarus-src-2.0
No, there's nothing connected with Lazarus in /var/lib/dpkg/diversions, both 
before the install and after unsuccessful attempt to upgrade.

> Can you also tell me you were upgrading from which version?
I am upgrading from 2.0.2+dfsg-2 (current version in testing)

> Also if not too much asking, can you please tell me if you remove Lazarus
> then install it, does it install correctly?--
Just tried it. Making a fresh install seems to be OK.

-- 
Alexander Kernozhitsky



Processed: Re: [Pkg-pascal-devel] Bug#942768: lcl-units-2.0: file conflict with lazarus-src-2.0 (versin 2.0.2+dfsg-5)

2019-10-23 Thread Debian Bug Tracking System
Processing control commands:

> reopen -1
Bug #942768 {Done: Abou Al Montacir } [lcl-units-2.0] 
lcl-units-2.0: file conflict with lazarus-src-2.0 (versin 2.0.2+dfsg-5)
Bug reopened
Ignoring request to alter fixed versions of bug #942768 to the same values 
previously set

-- 
942768: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942768
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#942768: [Pkg-pascal-devel] Bug#942768: lcl-units-2.0: file conflict with lazarus-src-2.0 (versin 2.0.2+dfsg-5)

2019-10-23 Thread Abou Al Montacir
Control: reopen -1
Hi Alexander,
On Wed, 2019-10-23 at 08:34 +0300, Alexander Kernozhitsky wrote:
> dpkg: error processing archive /var/cache/apt/archives/lazarus-src-
> 2.0_2.0.2+dfsg-6_all.deb (--unpack): trying to
> overwrite'/usr/lib/lazarus/2.0.2/components/IdeInspector/ideinspector.lpk',
> which isalso in package lcl-units-2.0 2.0.2+dfsg-6

Can you please check on your /var/lib/dpkg/diversions whether you have the
following
lines:/usr/lib/lazarus/2.0.2/components/IdeInspector/ideinspector.lpk/usr/lib/la
zarus/2.0.2/components/IdeInspector/ideinspector.lpk.origlazarus-src-2.0
Can you also tell me you were upgrading from which version?
Also if not too much asking, can you please tell me if you remove Lazarus then
install it, does it install correctly?-- 
Cheers,
Abou Al Montacir


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


Bug#942768: lcl-units-2.0: file conflict with lazarus-src-2.0 (versin 2.0.2+dfsg-5)

2019-10-22 Thread Alexander Kernozhitsky
Package: lazarus
Version: 2.0.2+dfsg-6
Followup-For: Bug #942768

Hello, I was upgrading to 2.0.2+dfsg-6 and I am still getting the file
conflict:

dpkg: error processing archive /var/cache/apt/archives/lazarus-
src-2.0_2.0.2+dfsg-6_all.deb (--unpack):
 trying to overwrite
'/usr/lib/lazarus/2.0.2/components/IdeInspector/ideinspector.lpk', which is
also in package lcl-units-2.0 2.0.2+dfsg-6
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
No diversion 'diversion of /usr/lib/lazarus/2.0.2/components/vlc/lazvlc.lpk to
/usr/lib/lazarus/2.0.2/components/vlc/lazvlc.lpk.orig by lazarus-src-2.0', none
removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/externhelp/externhelp.lpk to
/usr/lib/lazarus/2.0.2/components/externhelp/externhelp.lpk.orig by lazarus-
src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/sparta/dockedformeditor/sparta_dockedformeditor.lpk
to
/usr/lib/lazarus/2.0.2/components/sparta/dockedformeditor/sparta_dockedformeditor.lpk.orig
by lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/sparta/mdi/sparta_mdi.lpk to
/usr/lib/lazarus/2.0.2/components/sparta/mdi/sparta_mdi.lpk.orig by lazarus-
src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/sparta/smartformeditor/sparta_smartformeditor.lpk
to
/usr/lib/lazarus/2.0.2/components/sparta/smartformeditor/sparta_smartformeditor.lpk.orig
by lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/sparta/toolsapi/sparta_toolsapi.lpk to
/usr/lib/lazarus/2.0.2/components/sparta/toolsapi/sparta_toolsapi.lpk.orig by
lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/sparta/generics/sparta_generics.lpk to
/usr/lib/lazarus/2.0.2/components/sparta/generics/sparta_generics.lpk.orig by
lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/lazdebuggergdbmi/lazdebuggergdbmi.lpk to
/usr/lib/lazarus/2.0.2/components/lazdebuggergdbmi/lazdebuggergdbmi.lpk.orig by
lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/lazdebuggergdbmi/test/gdbmitestutils/gdbmitestutils.lpk
to
/usr/lib/lazarus/2.0.2/components/lazdebuggergdbmi/test/gdbmitestutils/gdbmitestutils.lpk.orig
by lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/mouseandkeyinput/lazmouseandkeyinput.lpk to
/usr/lib/lazarus/2.0.2/components/mouseandkeyinput/lazmouseandkeyinput.lpk.orig
by lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/chmhelp/packages/idehelp/chmhelppkg.lpk to
/usr/lib/lazarus/2.0.2/components/chmhelp/packages/idehelp/chmhelppkg.lpk.orig
by lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/chmhelp/packages/help/lhelpcontrolpkg.lpk to
/usr/lib/lazarus/2.0.2/components/chmhelp/packages/help/lhelpcontrolpkg.lpk.orig
by lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/fppkg/src/fppkgpackagemanager.lpk to
/usr/lib/lazarus/2.0.2/components/fppkg/src/fppkgpackagemanager.lpk.orig by
lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/anchordocking/design/anchordockingdsgn.lpk to
/usr/lib/lazarus/2.0.2/components/anchordocking/design/anchordockingdsgn.lpk.orig
by lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/anchordocking/anchordocking.lpk to
/usr/lib/lazarus/2.0.2/components/anchordocking/anchordocking.lpk.orig by
lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/pas2js/pas2jsdsgn.lpk to
/usr/lib/lazarus/2.0.2/components/pas2js/pas2jsdsgn.lpk.orig by lazarus-
src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/fpweb/lazwebextra.lpk to
/usr/lib/lazarus/2.0.2/components/fpweb/lazwebextra.lpk.orig by lazarus-
src-2.0', none removed.
No diversion 'diversion of /usr/lib/lazarus/2.0.2/components/fpweb/weblaz.lpk
to /usr/lib/lazarus/2.0.2/components/fpweb/weblaz.lpk.orig by lazarus-src-2.0',
none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/cairocanvas/cairocanvas_pkg.lpk to
/usr/lib/lazarus/2.0.2/components/cairocanvas/cairocanvas_pkg.lpk.orig by
lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/projecttemplates/projtemplates.lpk to
/usr/lib/lazarus/2.0.2/components/projecttemplates/projtemplates.lpk.orig by
lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/fpcunit/console/fpcunitconsolerunner.lpk to
/usr/lib/lazarus/2.0.2/components/fpcunit/console/fpcunitconsolerunner.lpk.orig
by lazarus-src-2.0', none removed.
No diversion 'diversion of
/usr/lib/lazarus/2.0.2/components/fpcunit/fpcunittestrunner.lpk to
/usr/lib/lazarus/2.0.2/components/fpcunit/fpcunittestrunner.lpk.orig 

Bug#942768: lcl-units-2.0: file conflict with lazarus-src-2.0 (versin 2.0.2+dfsg-5)

2019-10-22 Thread Abou Al Montacir
Hi Jan, Hi Andreas,
> both contains the same file, namely 
>   /usr/lib/lazarus/2.0.2/components/IdeInspector/ideinspector.lpk
> and removing it from one of them would fix the issue.
That is not a bug, but rather a feature that is solving previous bugs [1] and
[2]
The issue is that I copied some code from the Debian policy manual [3] and that
code was wrong:
The given example is missing closing bracket. I should noticed it before, but
for some obscure reason it is passing on my computer:if [ upgrade != "$1 || dpkg
--compare-versions "$2" lt 1.0-2; then
I've checked it again and I've fixed it. Will upload soon.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823706
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898310
[3] https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html-- 
Cheers,
Abou Al Montacir


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


Bug#942768: [Pkg-pascal-devel] Bug#942768: lcl-units-2.0: file conflict with lazarus-src-2.0 (versin 2.0.2+dfsg-5)

2019-10-22 Thread Jan Volec
Hey Abou,

I was firstly upgrading from version 2.0.2+dfsg-4, however, even when I 
afterwards
completely removed all lazarus*|lcl* packages and re-installed them, the 
conflict
appeared. My understanding is that the two packages lcl-units-2.0 and 
lazarus-src-2.0
both contains the same file, namely 

  /usr/lib/lazarus/2.0.2/components/IdeInspector/ideinspector.lpk

and removing it from one of them would fix the issue.


Best wishes,

Jan

> Hi Jan,
> Thank you reporting this issue.
> Can you please provide more information about the issues.Were you installing 
> for
> the first time or upgrading an old version. In the latter case, what was the 
> old
> version?
> Cheers,
> -- 
> Cheers,
> Abou Al Montacir



Bug#942768: [Pkg-pascal-devel] Bug#942768: lcl-units-2.0: file conflict with lazarus-src-2.0 (versin 2.0.2+dfsg-5)

2019-10-22 Thread Abou Al Montacir
Hi Jan,
Thank you reporting this issue.
Can you please provide more information about the issues.Were you installing for
the first time or upgrading an old version. In the latter case, what was the old
version?
Cheers,
-- 
Cheers,
Abou Al Montacir


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