Results 1 to 9 of 9

Thread: Cannot Remove AVG after installation failed

  1. #1
    Join Date
    Nov 2013
    Beans
    4

    Cannot Remove AVG after installation failed

    Everytime I want to install or remove a program, this error msg occur:

    Code:
    Processing triggers for gnome-menus ...
    Processing triggers for desktop-file-utils ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf-2.index...
    Processing triggers for mime-support ...
    Processing triggers for man-db ...
    Setting up avg2013flx (2013.3115) ...
    chown: cannot access /opt/avg/av: No such file or directory
    dpkg: error processing avg2013flx (--configure):
     subprocess installed post-installation script returned error exit status 1
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
     avg2013flx
    Error in function:
    I had tried follow this thread:But Its Show :
    Code:
    (Reading database ... 166553 files and directories currently installed.)Removing avg2013flx ...
    invoke-rc.d: unknown initscript, /etc/init.d/avgd not found.
    dpkg: error processing avg2013flx (--purge):
     subprocess installed pre-removal script returned error exit status 100
    Errors were encountered while processing:
     avg2013flx

  2. #2
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    1,447
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Help...Cannot Remove AVG after installation failed

    Very sorry to hear this. I'm afraid that I will be of only limited help to you here because I don't use AV at all. Hopefully, some guru can step in to help you resolve your immediate issue.

    Unfortunately, your situation is an example of why AV software simply should not be installed on Linux. At best, it is a worthless resource pig. At worst, it mangles your system with its attempt to insert hooks and calls into the guts of your kernel that resemble nothing so much as rootkits.

    Is this a brand new install? If so, your best bet may simply be to reinstall to a pristine environment and this time don't touch any sort of AV with a ten-foot pole. If this is an older installation, you should at least back up your critical data right now so that you limit any sort of downside to yourself.

    It's weird that a number of queries/issues have recently cropped up dealing with AV. Coincidence perhaps, but nonetheless, you may wish to read this after you straighten out your current problem.
    Newb: How far must I jump to clear the ledge halfway down?
    Guru: It's bad to jump off cliffs. Let's look at better options.
    Newb: Stop harping about "best practices" and just let me jump.


  3. #3
    Join Date
    Mar 2006
    Location
    Saint Petersburg, FL
    Beans
    1,123

    Re: Help...Cannot Remove AVG after installation failed

    It appears that script is trying to remove a directory that doesn't exist. Try the --force option on dkpg to remove the package.
    For those new to Ubuntu most of your answers can be found at help.ubuntu.com or ubuntuguide.org

  4. #4
    Join Date
    Nov 2013
    Beans
    4

    Re: Help...Cannot Remove AVG after installation failed

    The problem still persist after using --force option....

  5. #5
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    1,447
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Help...Cannot Remove AVG after installation failed

    You have not answered my questions.

    If this is a new install, you are better off following my suggestion to do over from scratch. By the time you wrestle this one to the ground, you will spend far more time and effort than the 20 minutes needed to re-install.
    Newb: How far must I jump to clear the ledge halfway down?
    Guru: It's bad to jump off cliffs. Let's look at better options.
    Newb: Stop harping about "best practices" and just let me jump.


  6. #6
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    2,437

    Re: Cannot Remove AVG after installation failed

    Please describe exactly where you got the avg2013flx package from.
    I'm not seeing it in the (supported) Ubuntu repositories.
    Did you download it from somewhere else? If so, it's not supported by this community - you may need to contact AVG forums for support.

    Your package manager will remain broken until you remove this package.

    If you want our help removing it, please show us a complete terminal session of a failed uninstall, including the commands you used.
    Also, please show us the output of the command: dpkg -L avg2013flx

  7. #7
    Join Date
    Nov 2008
    Location
    Storybrooke
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Cannot Remove AVG after installation failed

    subprocess installed pre-removal script returned error exit status 100
    1.
    Run this
    Code:
    sudo ln -s /bin/true /etc/init.d/avgd
    and try to remove it again

    2. Else if another error pops up, try renaming the pre/postrm script for avg

    Code:
    sudo mv /var/lib/dpkg/info/avg2013flx.postrm /var/lib/dpkg/info/avg2013flx.postrm.bak
    prerm script should be
    Code:
    sudo mv /var/lib/dpkg/info/avg2013flx.prerm /var/lib/dpkg/info/avg2013flx.prerm.bak
    Last edited by sandyd; November 7th, 2013 at 05:44 AM.
    Ubuntu Forums Moderation Staff
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  8. #8
    Join Date
    Nov 2013
    Beans
    4

    Re: Cannot Remove AVG after installation failed

    First,run this command:
    Code:
    sudo ln -s /bin/true /etc/init.d/avgd
    Then Run This command:
    Code:
    sudo dpkg -R -P avg2013flx
    Problem Solved.
    Thank You Very Much For Helping Me

  9. #9
    Join Date
    Jul 2009
    Location
    New York, NY
    Beans
    1,287
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Cannot Remove AVG after installation failed

    Glad to hear they were able to help you solve the issue...best to avoid any anti-virus on linux....really not needed...it's nothing like windows in that regard....been on it since 2008 and never had a problem yet...
    Only thing i would suggest, is (if you haven't already done so) download the program called GUFW from the software center (that is the GUI interface for the linux firewall) and just turn it ON...and that's it!

Tags for this Thread

Bookmarks

Posting Permissions

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