Find the answer to your Linux question:
Results 1 to 7 of 7
I'm trying to install Wine and I keep encountering an error. I've installed and reinstalled Wine using Synaptic and Automatix and get an error at the end of the install. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Location
    Missouri
    Posts
    7

    Wine Install Error


    I'm trying to install Wine and I keep encountering an error. I've installed and reinstalled Wine using Synaptic and Automatix and get an error at the end of the install. I tried using the terminal and got the same error.

    Quote Originally Posted by Terminal
    Sub-process /usr/bin/dpkg returned an error code (1)
    Any help would be appreciated.

    I'm using Ubuntu 6.06.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    after you get that error, try apt-get -f install to force an install because of the error. then try apt-get upgrade again, apt-get -f install back and forth until only the package that has the error is left.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Apr 2007
    Location
    Missouri
    Posts
    7
    That didn't seem to work. Here's a litte more detail as to what I'm missing.

    Setting up clamav-base (0.88.4-1ubuntu1~dapper1) ...
    chown: cannot access `/var/run/clamav': No such file or directory
    dpkg: error processing clamav-base (--configure):
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    clamav-base
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Is there anywhere I can get this clamav file and manually put it into the required directory?

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    execute this
    Code:
    sudo dpkg --configure -a
    this command will install all pending packages.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Apr 2007
    Location
    Missouri
    Posts
    7
    Darn, not it. It recognizes the missing file, but doesn't seem to correct it.

    Setting up clamav-base (0.88.4-1ubuntu1~dapper1) ...
    chown: cannot access `/var/run/clamav': No such file or directory
    dpkg: error processing clamav-base (--configure):
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    clamav-base

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    did you try apt-get -f install?
    Code:
    sudo apt-get -f install clamav-base
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    Apr 2007
    Location
    Missouri
    Posts
    7
    It returns the same error.

    Reading package lists... Done
    Building dependency tree... Done
    clamav-base is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 0B of additional disk space will be used.
    Setting up clamav-base (0.88.4-1ubuntu1~dapper1) ...
    chown: cannot access `/var/run/clamav': No such file or directory
    dpkg: error processing clamav-base (--configure):
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    clamav-base
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Posting Permissions

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