Results 1 to 10 of 14
Hi everybody,
I tried to install otrs2 in my ubuntu system and it is showing this error
Errors were encountered while processing:
/var/cache/apt/archives/otrs2_2.3.4-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code ...
- 04-16-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 29
otrs installation problem
Hi everybody,
I tried to install otrs2 in my ubuntu system and it is showing this error
Errors were encountered while processing:
/var/cache/apt/archives/otrs2_2.3.4-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
could anyone please help me out in fixing this problem. please..,,,

please help me out in this
Advance Thanks
Vikas K VIkramLast edited by vkv; 04-17-2010 at 10:23 AM. Reason: didn't get any reply
- 04-17-2010 #2
Hello,
How are you trying to install? Are you using synaptic or installing from source?
Try this command and test it again.
Code:sudo apt-get clean
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 04-17-2010 #3
Which version of Ubuntu are you using?
otrs2 is available in Universe soruces and you should install it through package manager.
Execute this in Terminal
Code:sudo apt-get clean all sudo apt-get install otrs2
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 04-20-2010 #4Just Joined!
- Join Date
- Apr 2010
- Posts
- 29
Thanks for the reply...
but
I treid this but still it is giving me the same error code
Errors were encountered while processing:
/var/cache/apt/archives/otrs2_2.3.4-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
its smething with otrs2_2.3.4-1_all.deb
advance thanks
- 04-20-2010 #5Just Joined!
- Join Date
- Apr 2010
- Posts
- 29
Great Thanks to all ,,

this is the error I'm getting after trying sudo apt-get clean all
Preconfiguring packages ...
/tmp/otrs2.config.59681: 1: dbc_go: not found
otrs2 failed to preconfigure, with exit status 127
(Reading database ... 144867 files and directories currently installed.)
Preparing to replace otrs2 2.3.4-1 (using .../archives/otrs2_2.3.4-1_all.deb) ...
Unpacking replacement otrs2 ...
/var/lib/dpkg/info/otrs2.postrm: 1: dbc_go: not found
dpkg: warning: old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 1: dbc_go: not found
dpkg: error processing /var/cache/apt/archives/otrs2_2.3.4-1_all.deb (--unpack):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 1: dbc_go: not found
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 127
Processing triggers for ureadahead ...
Errors were encountered while processing:
/var/cache/apt/archives/otrs2_2.3.4-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
advance thanks
- 04-20-2010 #6Just Joined!
- Join Date
- Apr 2010
- Posts
- 29
I'm using karmic ubuntu 9.10
- 04-20-2010 #7
Try to remove it manually and re-install it using apt-get.
Code:sudo dpkg --purge otrs2
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 04-20-2010 #8Just Joined!
- Join Date
- Apr 2010
- Posts
- 29
Thanks,,
it says like package is in inconsistent state and need to reinstall and then try removing.
i tried that also but re installation is also not happening . i got this from google and i tried that .
so I'm in a state like i cant reinstall it and cant even remove it .
It is the first time I'm gettin such an error after switching to ubuntu
sorry if I'm irritating you but please help me in this even though I'm a beginner I like to learn more so I'm taking this as a chance to learn troubleshooting
Thanks and Regards
VKV
- 04-20-2010 #9
Execute this
Delete all the files listed by ls command. You must have root privileges to do that.Code:cd /var/lib/dpkg/info/ ls otrs*
Execute this after deleting all files :Code:sudo rm filename
Code:sudo apt-get clean all sudo apt-get install otrs2
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 04-20-2010 #10Just Joined!
- Join Date
- Apr 2010
- Posts
- 29
Thanks;;
I tried that I completely removed the files and then tried installing and i got this error
Errors were encountered while processing:
dbconfig-common
javascript-common
libmcrypt4
libt1-5
otrs2
php5-gd
php5-mcrypt
php5-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks and Regards
Vikas K Vikram


Reply With Quote