On Fri, Jan 22, 2010 at 09:36:52AM +0530, Deepak Tripathi wrote:
> I am able to reproduce the bug, Please find the steps for reproduce it,
> 
> 1) uninstall libtre4 from your system
> 2) try to install crm14 from apt. it will break while installation.

No, not enough.

r...@usha:/home/zack# dpkg -l libtre4
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
un  libtre4             <none>              (no description available)
r...@usha:/home/zack# apt-get install crm114
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  hyperestraier libestraier8 libfcgi0ldbl libsqlite3-ruby
  libsqlite3-ruby1.8 libtre4 mew-bin
  ppthtml stunnel4 xlhtml
Suggested packages:
  tre-agrep
The following NEW packages will be installed:
  crm114 hyperestraier libestraier8 libfcgi0ldbl libsqlite3-ruby
  libsqlite3-ruby1.8 libtre4 mew-bin
  ppthtml stunnel4 xlhtml
0 upgraded, 11 newly installed, 0 to remove and 12 not upgraded.
Need to get 0B/1911kB of archives.
After this operation, 5874kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Preconfiguring packages ...
Selecting previously deselected package libtre4.
(Reading database ... 311511 files and directories currently installed.)
Unpacking libtre4 (from .../libtre4_0.7.6-2_amd64.deb) ...
Selecting previously deselected package crm114.
Unpacking crm114 (from .../crm114_20090807-1_amd64.deb) ...

(You can notice from this that preinst does not fail, but I also confirm
that the installation reaches the end without problems.)

According to the preinst, you need at least to have a previously
installed version of crm114 from which you are upgrading from to trigger
the bug.

All in all, the point is to decide what to with that "exit 1" in the
preinst, AFAICT it is same to simply remove the corresponding test, as
there is nothing else to be done.

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to