Announcement

Collapse
No announcement yet.

Unable to uninstall AVG (virus scanner)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to uninstall AVG (virus scanner)

    Hello.

    I am quite new to the world of Linux. In my ignorance I tried to install a virus killer. Halfway the installation process something whent horribly wrong (power failure)

    Now when I try to install any program by using apt-get or the installation manager I get this error:

    ---
    root@linux:/home/siemens/temp/pics# apt-get install bugsx
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
    avg75fld
    The following NEW packages will be installed:
    bugsx
    0 upgraded, 1 newly installed, 1 to remove and 37 not upgraded.
    1 not fully installed or removed.
    Need to get 0B/334kB of archives.
    After unpacking 442kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 87636 files and directories currently installed.)
    Removing avg75fld ...
    Uninstalling 'avgd' service initscripts...
    rm: cannot remove `/etc/init.d/avgd': No such file or directory
    dpkg: error processing avg75fld (--remove):
    subprocess post-removal script returned error exit status 1
    Errors were encountered while processing:
    avg75fld
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ---

    Can anyone please explain to me how I fix this problem so I can install software once more?


    Thank you in advance!
    Marchel.

    #2
    Re: Unable to uninstall AVG (virus scanner)

    Try this
    Open Konsole and type:

    sudo dpkg --configure -a

    Keep us informed

    Regards,

    MepisReign
    Beware the Almighty Command Line

    Comment


      #3
      Re: Unable to uninstall AVG (virus scanner)

      Ok,

      After typing sudo -dpkg etc my computer was busy for about 5 seconds, after that it came back with the command line.
      I assume this is a good thing?

      To test if everything works I tried to install bugsx, but I keep on getting the same problem:

      ---
      siemens@linux:~/temp/pics$ sudo apt-get install bugsx
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages will be REMOVED:
      avg75fld
      The following NEW packages will be installed:
      bugsx
      0 upgraded, 1 newly installed, 1 to remove and 37 not upgraded.
      1 not fully installed or removed.
      Need to get 0B/334kB of archives.
      After unpacking 442kB of additional disk space will be used.
      Do you want to continue [Y/n]? y
      (Reading database ... 87636 files and directories currently installed.)
      Removing avg75fld ...
      Uninstalling 'avgd' service initscripts...
      rm: cannot remove `/etc/init.d/avgd': No such file or directory
      dpkg: error processing avg75fld (--remove):
      subprocess post-removal script returned error exit status 1
      Errors were encountered while processing:
      avg75fld
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      ---

      Comment


        #4
        Re: Unable to uninstall AVG (virus scanner)

        What about

        sudo apt-get -f remove avg75fld

        Comment


          #5
          Re: Unable to uninstall AVG (virus scanner)

          Sadly enough that doesn't work either...

          ---
          siemens@linux:~/temp/pics$ sudo apt-get -f remove avg75fld
          [sudo] password for siemens:
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          The following packages will be REMOVED:
          avg75fld
          0 upgraded, 0 newly installed, 1 to remove and 37 not upgraded.
          1 not fully installed or removed.
          Need to get 0B of archives.
          After unpacking 0B of additional disk space will be used.
          Do you want to continue [Y/n]? y
          (Reading database ... 87636 files and directories currently installed.)
          Removing avg75fld ...
          Uninstalling 'avgd' service initscripts...
          rm: cannot remove `/etc/init.d/avgd': No such file or directory
          dpkg: error processing avg75fld (--remove):
          subprocess post-removal script returned error exit status 1
          Errors were encountered while processing:
          avg75fld
          E: Sub-process /usr/bin/dpkg returned an error code (1)
          ---

          Comment


            #6
            Re: Unable to uninstall AVG (virus scanner)

            Try to install AVG again (yes, over the old installation) and then remove it, please come back with the results

            MepisReign
            Beware the Almighty Command Line

            Comment


              #7
              Re: Unable to uninstall AVG (virus scanner)

              Hmmm... Even re-installing doesn't work...

              ---
              siemens@linux:~/temp$ sudo dpkg -i avg75lms-r49-a1124.i386.deb
              [sudo] password for siemens:
              Selecting previously deselected package avg75lms.
              (Reading database ... 87637 files and directories currently installed.)
              Unpacking avg75lms (from avg75lms-r49-a1124.i386.deb) ...
              dpkg: error processing avg75lms-r49-a1124.i386.deb (--install):
              trying to overwrite `/opt/grisoft/avg7/etc/avg.conf', which is also in package avg75fld
              dpkg-deb: subprocess paste killed by signal (Broken pipe)
              Errors were encountered while processing:
              avg75lms-r49-a1124.i386.deb
              ---

              Comment


                #8
                Re: Unable to uninstall AVG (virus scanner)

                Hi,

                Maybe try to force the installation to overwrite files :
                sudo -i --force-overwrite avg75lms-r49-a1124.i386.deb

                Hope it helps

                Comment


                  #9
                  Re: Unable to uninstall AVG (virus scanner)

                  What am I doing wrong? If I type the command you gave me I get this error:

                  ---
                  siemens@linux:~/temp$ sudo -i --force-overwrite avg75lms-r49-a1124.i386.deb
                  sudo: please use single character options
                  -bash: avg75lms-r49-a1124.i386.deb: No such file or directory
                  ---

                  Comment


                    #10
                    Re: Unable to uninstall AVG (virus scanner)

                    Originally posted by MarchelVeneman
                    What am I doing wrong? If I type the command you gave me I get this error:

                    ---
                    siemens@linux:~/temp$ sudo -i --force-overwrite avg75lms-r49-a1124.i386.deb
                    sudo: please use single character options
                    -bash: avg75lms-r49-a1124.i386.deb: No such file or directory
                    ---
                    Probably the command form is wrong. Try it like this:

                    Code:
                    sudo apt-get install --force-overwrite avg75lms-r49-a1124.i386.deb

                    Comment


                      #11
                      Re: Unable to uninstall AVG (virus scanner)

                      Doesn't do the trick either

                      ---
                      siemens@linux:~$ sudo apt-get install --force-overwrite avg75lms-r49-a1124.i386.deb
                      [sudo] password for siemens:
                      E: Command line option --force-overwrite is not understood
                      ---

                      Comment


                        #12
                        Re: Unable to uninstall AVG (virus scanner)

                        OK, one more time, like this:

                        Code:
                        sudo apt-get install --force avg75lms-r49-a1124.i386.deb

                        Comment


                          #13
                          Re: Unable to uninstall AVG (virus scanner)

                          Forgive me for beeing a total nutter when it comes to Linux...
                          You guessed it already, it still doesn't work.

                          ---
                          siemens@linux:~/temp$ sudo apt-get install --force avg75lms-r49-a1124.i386.deb
                          [sudo] password for siemens:
                          E: Command line option --force is not understood
                          ---

                          Comment


                            #14
                            Re: Unable to uninstall AVG (virus scanner)

                            Originally posted by MarchelVeneman

                            Forgive me for beeing a total nutter when it comes to Linux...
                            Don't worry about it -- we're all learning here (one hopes).

                            If, in a Konsole window, you enter
                            Code:
                            man apt-get
                            you'll see the list of options. The "force" option may get only a single leading hyphen, i.e. maybe it should be
                            Code:
                            sudo apt-get install -force avg75lms-r49-a1124.i386.deb
                            I'm stuck at my day job at a Wintel piece of crap and can't look up the apt-get command myself.

                            Comment


                              #15
                              Re: Unable to uninstall AVG (virus scanner)

                              Hi,

                              Sorry I forgot the command (ie dpkg)
                              sudo dpkg -i --force-overwrite avg75lms-r49-a1124.i386.deb

                              Hope it helps

                              Comment

                              Working...
                              X