Results 1 to 8 of 8
I am a rookie. Yesterday, I intended to install a dictionary with the command sudo apt-get install dict-xdict, but it turned out to fail with the error. Then, I quited ...
- 03-28-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
[SOLVED] dict-xdict installation error
I am a rookie. Yesterday, I intended to install a dictionary with the command sudo apt-get install dict-xdict, but it turned out to fail with the error. Then, I quited with Ctrl+ c, and I did not care much till today because when I want install something else today, the error keeps coming out.
Therefore, I think I would better remove dict-xdict first, so I use sudo apt-get remove dict-xdict, but the error still appears:

....
invoke-rc.d: unknown initscript, /etc/init.d/dictd not found.
dpkg: error processing dict-xdict (--remove):
subprocess installed post-removal script returned error exit status 100
Errors were encountered while processing:
dict-xdict
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have already tries sudo apt-get -f install dict-xdict and it doesn't work out. I am hoping to install some other applications now, but I have not idea what I could do to fix this problem or just circumvent it, so I ask for help, please! Thank you in advance.
If possible, please help explain what is dpkg?
- 03-28-2010 #2
Hi and Welcome !
Execute this
Try to install any other package now.Code:sudo apt-get clean all sudo apt-get update
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-29-2010 #3Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
Sorry, the suggestion doesn't work out
Thank you for your reply. I tried your solution, but it does not work out. The error is still there. I am trying to install the bind9 package. It seems the download process is all right, but when it comes to its configurations, there comes the error.
help!
zyxue@ubu:~$ sudo apt-get install bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bind9-host bind9utils dnsutils libbind9-50 libdns50 libdns53 libisc50
libisccc50 libisccfg50 liblwres50
Suggested packages:
bind9-doc resolvconf rblcheck
The following packages will be REMOVED:
dict-xdict
The following NEW packages will be installed:
bind9 bind9utils libdns53
The following packages will be upgraded:
bind9-host dnsutils libbind9-50 libdns50 libisc50 libisccc50 libisccfg50
liblwres50
8 upgraded, 3 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 1,615kB of archives.
After this operation, 4,293kB disk space will be freed.
Do you want to continue [Y/n]? Y
....(#I cannot post URLs at present)
Fetched 1,615kB in 13s (123kB/s)
Preconfiguring packages ...
(Reading database ... 84071 files and directories currently installed.)
Removing dict-xdict ...
invoke-rc.d: unknown initscript, /etc/init.d/dictd not found.
dpkg: error processing dict-xdict (--remove):
subprocess installed post-removal script returned error exit status 100
Errors were encountered while processing:
dict-xdict
E: Sub-process /usr/bin/dpkg returned an error code (1)
- 03-29-2010 #4
Execute this
Post output here.Code:ls -l /var/lib/dpkg/info/dict-xdict.*
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-30-2010 #5Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
Here is the output. Thanks.
zyxue@ubu:~$ ls -l /var/lib/dpkg/info/dict-xdict.*
-rw-r--r-- 1 root root 0 2010-03-29 21:36 /var/lib/dpkg/info/dict-xdict.list
-rw-r--r-- 1 root root 515 2009-04-29 17:53 /var/lib/dpkg/info/dict-xdict.md5sums
-rwxr-xr-x 1 root root 538 2009-04-29 17:53 /var/lib/dpkg/info/dict-xdict.postinst
-rwxr-xr-x 1 root root 519 2009-04-29 17:53 /var/lib/dpkg/info/dict-xdict.postrm
looking forward to you suggestion!
- 03-30-2010 #6
Remove all those files and execute this
Code:sudo apt-get clean all
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-30-2010 #7Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
You are great, though I have no idea why I have to remove /var/lib/dpkg/info/dict-xdict.* first.
Thank you so much!!
- 03-30-2010 #8
Glad to help you !

You had terminated installation and package manager couldn't configure it. Some of its residual files were creating problem. After removing those files, everything worked fine.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


