Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    error when installing wine

    when I attempt to install wine this is the message I get in the terminal.
    ding package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    2 not fully installed or removed.
    After this operation, 0B of additional disk space will be used.
    Setting up wine (1.0.1-0ubuntu ...
    dpkg (subprocess): unable to execute installed post-installation script: Exec format error
    dpkg: error processing wine (--configure):
    subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of playonlinux:
    playonlinux depends on wine; however:
    Package wine is not configured yet.
    dpkg: error processing playonlinux (--configure):
    dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    Execute this
    cd /var/lib/dpkg/updates
    sudo rm *
    sudo apt-get clean all
    sudo apt-get update
    sudo apt-get install wine
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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