LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2011, 11:57 AM   #1
1991sudarshan
Member
 
Registered: Apr 2011
Location: Chennai,India
Distribution: Kubuntu
Posts: 49

Rep: Reputation: 0
dpkg: error processing dict-xdict


i installed dict-kdict through the Kpackage Manager. After installing I am not able to install or update any software and I got the following error message in the Terminal. How to solve this issue ?



Code:
kevin@kevin-desktop:~$ sudo aptitude
[sudo] password for kevin: 
(Reading database ... 189866 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)
A package failed to install.  Trying to recover:
Press return to continue.

kevin@kevin-desktop:~$

 
Old 10-21-2011, 12:53 PM   #2
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
You can try several thing on the command line.

dpkg --configure -a

dpkg-reconfigure dict-xdict

apt-get -f install dict-xdict

Not sure which one will work best in Ubuntu. If none work check your /etc/apt/sources.list then apt-get update && apt-get install dict-xdict
 
Old 10-22-2011, 04:05 AM   #3
1991sudarshan
Member
 
Registered: Apr 2011
Location: Chennai,India
Distribution: Kubuntu
Posts: 49

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by 62chevy View Post
You can try several thing on the command line.

dpkg --configure -a

dpkg-reconfigure dict-xdict

apt-get -f install dict-xdict

Not sure which one will work best in Ubuntu. If none work check your /etc/apt/sources.list then apt-get update && apt-get install dict-xdict
the issue is solved. I did this in the terminal. It seems that the while installing software the dict-xdict made the installer to return some other value instead of '0'. Hence I made the manual return 0 and the installer proceeded with the installation process.
Code:
echo "exit 0;" | sudo tee /etc/init.d/dictd
Quote:
sudo dpkg -r dict-xdict
 
Old 10-22-2011, 05:43 PM   #4
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
Okay I leaned something new. Still think dpkg should have handled the situation but I've been wrong before.
 
Old 10-23-2011, 04:31 AM   #5
1991sudarshan
Member
 
Registered: Apr 2011
Location: Chennai,India
Distribution: Kubuntu
Posts: 49

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by 62chevy View Post
Okay I leaned something new. Still think dpkg should have handled the situation but I've been wrong before.
i got the solution form the Ubunuforums
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dpkg 1.14.24 error processing python-textile (..) Ubuntu 9.04 km0r3 Linux - Software 0 10-13-2009 07:09 PM
dpkg: error processing webmin-core (--configure) cccc Debian 2 12-25-2006 09:34 PM
dpkg: error processing libc6 linux-ibook Debian 5 12-15-2005 08:35 PM
dpkg: error processing libc6 (--configure) spid3r DamnSmallLinux 1 10-18-2005 03:53 PM
dpkg: error processing libpam-runtime (--configure): kkrzyho Debian 2 04-14-2004 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration