Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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 ...
  1. #1
    vkv
    vkv is offline
    Just Joined!
    Join Date
    Apr 2010
    Posts
    29

    Question 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 VIkram
    Last edited by vkv; 04-17-2010 at 10:23 AM. Reason: didn't get any reply

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    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.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    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

  4. #4
    vkv
    vkv is offline
    Just 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

  5. #5
    vkv
    vkv is offline
    Just Joined!
    Join Date
    Apr 2010
    Posts
    29

    Exclamation

    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

  6. #6
    vkv
    vkv is offline
    Just Joined!
    Join Date
    Apr 2010
    Posts
    29

    Exclamation

    I'm using karmic ubuntu 9.10

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    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

  8. #8
    vkv
    vkv is offline
    Just Joined!
    Join Date
    Apr 2010
    Posts
    29

    Red face

    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

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    cd /var/lib/dpkg/info/
    ls otrs*
    Delete all the files listed by ls command. You must have root privileges to do that.
    Code:
    sudo rm filename
    Execute this after deleting all files :
    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

  10. #10
    vkv
    vkv is offline
    Just Joined!
    Join Date
    Apr 2010
    Posts
    29

    Red face

    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

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...