<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>1700</bug_id>
          
          <creation_ts>2002-12-12 14:43:45 +0300</creation_ts>
          <short_desc>preuninstall script turns dictd off</short_desc>
          <delta_ts>2003-08-25 15:18:37 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>dict-eng-deu</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="imz">vanyaz</reporter>
          <assigned_to name="Alexey Dyachenko">alexd</assigned_to>
          <cc>viy</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1546</commentid>
    <comment_count>0</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-12-12 14:43:45 +0300</bug_when>
    <thetext>So even if other dictionaries are installed, after removing this single dictionary, dictd gets stopped and turned off (removed from the startup services list). That makes it not possible to use the remaining dictionaries.

---
$ rpm -qa \&apos;dict*\&apos;
dict-deu-eng-0.2-alt1
dict-1.8.0-alt1
dictd-1.8.0-alt1
dict-jargon-4.3.1-alt1
dict-engcom-0.4-alt1
dict-web1913-1.4_0.47pd-ipl4
dict-tools-1.8.0-alt1
dict-mueller7-utf8-1.2-alt2
dict-eng-deu-0.2-alt1
$ dict otherwise
# you get the answer from localhost, dictd is running
$ apt-get remove dict-eng-deu
Reading Package Lists... Done
Collecting File Provides... Done
Building Dependency Tree... Done
Starting
Starting 2
Done
The following packages will be REMOVED:
  dict-eng-deu 
0 packages upgraded, 0 newly installed, 1 removed and 191 not upgraded.
Need to get 0B of archives. After unpacking 3193kB will be freed.
Do you want to continue? [Y/n] 
Executing RPM (/bin/rpm -e --fancypercent --nodeps)...
Stopping dictd daemon: [  OK  ]
$ chkconfig --list dictd
# it used to be turned on
dictd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
$ dict otherwise
# you can\&apos;t connect to localhost\&apos;s server, you get the answer from dict.org (configured in /etc/dict.conf).

---
preuninstall scriptlet (through /bin/sh):
/usr/sbin/dictdconfig -w

if [ $1 = 0 ]; then     
        /sbin/chkconfig --del dictd ||: 
        /sbin/service dictd condstop ||:        
fi
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4574</commentid>
    <comment_count>1</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-12-12 14:56:46 +0300</bug_when>
    <thetext>dict-eng-deu-0.2-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7939</commentid>
    <comment_count>2</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-12-12 14:56:46 +0300</bug_when>
    <thetext>dict-eng-deu-0.2-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4575</commentid>
    <comment_count>3</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-12-12 14:56:57 +0300</bug_when>
    <thetext>dict-eng-deu-0.2-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7940</commentid>
    <comment_count>4</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-12-12 14:56:57 +0300</bug_when>
    <thetext>dict-eng-deu-0.2-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4576</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Dyachenko">alexd</who>
    <bug_when>2003-02-04 19:58:29 +0300</bug_when>
    <thetext>fixed in dict-eng-deu-0.2-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7941</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Dyachenko">alexd</who>
    <bug_when>2003-02-04 19:58:29 +0300</bug_when>
    <thetext>fixed in dict-eng-deu-0.2-alt2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>