Announcement

Collapse
No announcement yet.

Broken Python while trying to install a DEB package (AVG free)

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

    Broken Python while trying to install a DEB package (AVG free)

    Background: I am on a 2.2Ghz Celeron P4 with 512MBs of RAM on an HP Pavilion, using Kubuntu 8.04 installed through Wubi within Windows XP Home SP2. I have a 60GIG HDD which is only half full.

    My problem is: I can't seem to resurrect Python. I tried to install AVG's DEB package using the GDebi Installer. That choice was presented to me when I right clicked the file I'd downloaded. There was much disk activity and then nothing happened. I rebooted. I went in search of AVG somewhere in the menu. Nada. I tried the install a second time, this time noting that the program was telling me that I needed Python-gtk2, Python-Glade2, Python-numeric and Python-cairo. So I loaded up my installer package (Adept) and attempted to fulfill this requirement that AVG was telling me. I inadvertently selected something other than Python-gtk2 but not realizing it I applied changes, hoping I'd get the AVG installed. I rebooted. Then I tried to right click the AVG Deb package and do the install again. This time I got an error message to tell me that Python-gtk2 wasn't installed. I opened up Adept Package Manager again and searched for Python-gtk2 but couldn't find it this time. I still haven't gotten AVG installed. And I'm at a loss now as to what to do. Help! Please! Thanks ahead of time.

    #2
    Re: Broken Python while trying to install a DEB package (AVG free)

    try this...
    open a konsole
    enter the following command:
    Code:
    sudo apt-get update
    sudo apt-get install python-cairo python-glade2 python-gtk2 python-numeric --fix-broken
    to try and install what's missing and fix any broken dependencies...

    see if anything improves...
    gnu/linux is not windoze

    Comment


      #3
      Re: Broken Python while trying to install a DEB package (AVG free)

      Thank you. It worked, partially. The package seemed to install fine but I still can't find it, nor is it in my usr/share/applications as I think it should be if I'm to follow AVG's instruction. They state, and I'm quoting....
      BEGIN QUOTE:
      Installing AVG Free
      Download the linux version (.deb file): [WWW] http://free.grisoft.com/doc/downloads/us/frt/0?prd=afl
      Double-click on the file then click on the Installation button.
      Launcher creation
      Option 1
      Open a terminal (Applications -> Accessories -> Terminal), and enter these commands:
      sudo rm /usr/share/applications/avggui.desktop
      sudo gedit /usr/share/applications/avg.desktop
      It should open a text editor, enter this text in it and save the file:
      [Desktop Entry]
      Name=AVG Antivirus
      Comment=Antivirus
      Exec=gksudo avggui &
      Icon=/opt/grisoft/avggui/prog/pixmaps/avgico_big.png
      Terminal=false
      Type=Application
      Categories=Application;System;
      Option 2
      Click on "System-->Preferences-->Main Menu" To launch the menu editor.
      Find the AVG entry in Accessories. Right click its entry and select Properties.
      In the "Command" box add gksudo to the beginning (ie. make it look like this "gksudo avggui")
      Click on close for the AVG option then the same for the menu.
      You will be now prompted for your password when necessary as AVG will only run with your password being supplied.
      Using AVG Free
      You can now start AVG Free by going to Applications -> System Tools -> AVG Antivirus.
      END QUOTE

      When I attempt option 1 I get an error message that tells me that "avggui.desktop" doesn't exist. Hence, I never get to the second command to enter.

      As far as the second option is concerned, there is no "System-->Preferences-->Main Menu" in existence. I went snooping and I THINK I found the menu editor. Not sure of that tho, and a little leery about hacking, just in case I disable my system. Again: I can't find "avggui" so I suspect the install never occurred. What do I do next? (Be patient, I'm learning. <grin>)

      Comment


        #4
        Re: Broken Python while trying to install a DEB package (AVG free)

        no problems.

        let's make sure we're doing things in the right way.
        let's download the .deb package to your local system.
        and let's try and install it again.

        start a konsole.

        enter the following:
        Code:
        sudo -i
        to gain admin privileges.
        you'll be thrown in /root (which is perfectly ok).

        then enter:
        Code:
        wget [url]http://www.grisoft.cz/filedir/inst/avg75fld-r51-a1243.i386.deb[/url]
        to download the package.

        finally:
        Code:
        dpkg -i avg75fld-r51-a1243.i386.deb
        to install the package.

        please, post back here the output messages of the dpkg command.

        cheers
        gnu/linux is not windoze

        Comment


          #5
          Re: Broken Python while trying to install a DEB package (AVG free)

          Thank you. That seems to have worked. What was I doing wrong? Why couldn't I add it when I right clicked and saw the add using the deb installer? There's one minor glitch at this point, but I don't think it has anything to do with Kubuntu. I think it has to do with AVG. It won't let me update (which if it persists rather defeats the whole idea of having a virus checker, since you have to keep those things up to date.)

          Here is my output ( I have NO idea what it means!):

          04:27:42 (265.29 KB/s) - `avg75fld-r51-a1243.i386.deb' saved [49350626/49350626]

          root@ubuntu:~# dpkg -i avg75fld-r51-a1243.i386.deb
          Selecting previously deselected package avg75fld.
          (Reading database ... 94206 files and directories currently installed.)
          Unpacking avg75fld (from avg75fld-r51-a1243.i386.deb) ...
          Setting up avg75fld (7.5.51_a1243) ...
          Installing 'avgd' service initscripts...
          Registering 'avgd' service to runlevels...
          Adding system startup for /etc/init.d/avgd ...
          /etc/rc0.d/K20avgd -> ../init.d/avgd
          /etc/rc1.d/K20avgd -> ../init.d/avgd
          /etc/rc6.d/K20avgd -> ../init.d/avgd
          /etc/rc2.d/S20avgd -> ../init.d/avgd
          /etc/rc3.d/S20avgd -> ../init.d/avgd
          /etc/rc4.d/S20avgd -> ../init.d/avgd
          /etc/rc5.d/S20avgd -> ../init.d/avgd
          Please launch the '/opt/grisoft/avggui/bin/avggui_update_licinfo.sh'
          script as root for updating license information.

          AVG 7.5 Anti-Virus Free for Linux successfully installed.

          Comment


            #6
            Re: Broken Python while trying to install a DEB package (AVG free)

            very good.

            why wasn't it installed by the gui installer i don't honestly know.

            the output of the dpkg command tells you a couple of things:

            a) that your system is now set up so that the avg service
            starts up automatically when you boot the os and stops
            automatically when you shut the os down. this is what the
            init scripts stuff refers to.

            b) that you should now run the license info update program.
            so, please, again, start a konsole and:

            Code:
            sudo -i
            to become root

            Code:
            /opt/grisoft/avggui/bin/avggui_update_licinfo.sh
            to run the script in question...

            now, let's make sure the avg service be up and running.
            you can either reboot (crap windoze way of doing things)
            or you can start the service by hand:
            Code:
            /etc/init.d/avgd restart
            now see if your anti virus works as expected...

            hth
            gnu/linux is not windoze

            Comment


              #7
              Re: Broken Python while trying to install a DEB package (AVG free)

              Here is the result of that instruction. I have just copied and pasted it from the terminal window.

              user@ubuntu:~$ sudo -i
              [sudo] password for user:
              root@ubuntu:~# /opt/grisoft/avggui/bin/avggui_update_licinfo.sh
              Please enter two additional registration information.
              What is your name: username
              What is the name of your company: user company
              root@ubuntu:~# /etc/init.d/avgd restart
              * Stopping avgd (not running) [ ok ]
              WARNING: Dazuko module is not loaded, please insmod dazuko module
              * Starting avgd ... [ ok ]
              root@ubuntu:~#

              Comment


                #8
                Re: Broken Python while trying to install a DEB package (AVG free)

                looks good.
                well, sort of...
                it seems the avg service starts up alright.
                there's that warning message about the dazuko kernel module not being loaded, though.
                i don't know anything about avg and i don't know what dazuko is.
                the warning message invites you to load that module, though.
                so, i assume you need it for avg to work properly.
                a quick search leads me here.
                your avg still doesn't work, right?
                we can have a go at installing the kernel module in question.
                yeah?
                gnu/linux is not windoze

                Comment


                  #9
                  Re: Broken Python while trying to install a DEB package (AVG free)

                  My frustration level hit an all-time high this morning. I've deleted AVG and installed ClamAV with the KDE front end. It was a breeze. Much easier than AVG. Whatever you instructed me to do when installing AVG (despite there having been that glitch) seems to have fixed my repositories and ClamAV showed up. So now I'm happy. Thanks again!

                  Comment


                    #10
                    Re: Broken Python while trying to install a DEB package (AVG free)

                    go to me, mate... 8)
                    gnu/linux is not windoze

                    Comment

                    Working...
                    X