[Pkg-pascal-devel] Bug#942784: lazarus-src-2.0: fails to install: preinst: 7: [: missing ]; dpkg: error: --compare-versions takes three arguments

Andreas Beckmann anbe at debian.org
Mon Oct 21 14:11:46 BST 2019


Package: lazarus-src-2.0
Version: 2.0.2+dfsg-5
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package lazarus-src-2.0.
  Preparing to unpack .../lazarus-src-2.0_2.0.2+dfsg-5_all.deb ...
  /var/lib/dpkg/tmp.ci/preinst: 7: [: missing ]
  dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>
  
  Type dpkg --help for help about installing and deinstalling packages [*];
  Use 'apt' or 'aptitude' for user-friendly package management;
  Type dpkg -Dhelp for a list of dpkg debug flag values;
  Type dpkg --force-help for a list of forcing options;
  Type dpkg-deb --help for help about manipulating *.deb files;
  
  Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
  Unpacking lazarus-src-2.0 (2.0.2+dfsg-5) ...
  dpkg: error processing archive /var/cache/apt/archives/lazarus-src-2.0_2.0.2+dfsg-5_all.deb (--unpack):
   trying to overwrite '/usr/lib/lazarus/2.0.2/examples/codepageconverter/filefind/filefindlaz.lpk', which is also in package lazarus-ide-2.0 2.0.2+dfsg-5
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  /var/lib/dpkg/tmp.ci/postrm: 7: [: missing ]
  dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>
  
  Type dpkg --help for help about installing and deinstalling packages [*];
  Use 'apt' or 'aptitude' for user-friendly package management;
  Type dpkg -Dhelp for a list of dpkg debug flag values;
  Type dpkg --force-help for a list of forcing options;
  Type dpkg-deb --help for help about manipulating *.deb files;
  
  Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
  Errors were encountered while processing:
   /var/cache/apt/archives/lazarus-src-2.0_2.0.2+dfsg-5_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lazarus-ide-2.0=2.0.2+dfsg-5_lazarus-src-2.0=2.0.2+dfsg-5.log.gz
Type: application/gzip
Size: 14028 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20191021/9e58a9cc/attachment-0001.gz>


More information about the Pkg-pascal-devel mailing list