can't update

Asked by C Jack on 2008-08-20

Downloaded, installed and have run a application.
App has an "Update" tab.
When I click it I get---
"Update process failed. Reason: Sorry, you do not have permission to execute update."

Why is it I can download, install and run an application but do not have the authority to update it???

What to do???

JJ

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
2009-02-22
Last query:
2009-02-22
Last reply:
2009-02-22
Daniel Schwitzgebel (schwitzd) said : #1

in one terminal windows

sudo apt-get update
sudo apt-get upgrade

Open Terminal from the menu Applications->Accessories->Terminal and type:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

C Jack (arkiedriver) said : #3

Tried it and this is what I got-----

cjack@cjack-desktop:~$ arkie
bash: arkie: command not found
cjack@cjack-desktop:~$ sudo AVGforlinux-get upgrade
[sudo] password for cjack:
sudo: AVGforlinux-get: command not found
cjack@cjack-desktop:~$

Now what??

JJ

We repeat all better:

Open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get clean all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean all
sudo apt-get autoremove

give your user password when requested, you don't see nothing when you type it, then press enter.

Then please tell me:
- what mean arkie here... ?

and

- Are you trying to get update avg for linux...?

So please explain better what are you trying to do...

Thank you

C Jack (arkiedriver) said : #5

On Wed, Aug 20, 2008 at 7:15 PM, marcobra <
<email address hidden>> wrote:

> Your question #42708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> Status: Open => Needs information
>
> marcobra requested for more information:
> We repeat all better:
>
> Open a Terminal from the menu Applications->Accessories->Terminal and
> type:
>
> sudo dpkg --configure -a
> sudo apt-get -f install
> sudo apt-get clean all
> sudo apt-get update
> sudo apt-get upgrade
> sudo apt-get dist-upgrade
> sudo apt-get clean all
> sudo apt-get autoremove
>
> give your user password when requested, you don't see nothing when you
> type it, then press enter.
>
> Then please tell me:
> - what mean arkie here... ?

>>>>>>>>>arkie is a username

>
>
> and
>
> - Are you trying to get update avg for linux...?

>>>>>>>>Yes I am trying to get an update for AVG, which is something I would
do twice a week in Windows. But Linux makes it difficult.

>
>
> So please explain better what are you trying to do...

>>>>>>>>I originally downloaded AVG with no problems and it runs fine. But
Linux will not allow me to get updates. So, without updates, day by day it
becomes ever more out of date.

>
>
> Thank you
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Deepak Mishra (dpux) said : #6

if you have already installed this software, then look for it in the "update manager" (it should be there near the top right corner).
on opening, you would be asked for your passsword.
when you get the full list, then select the software to be updated and then update

if you fail to get the right name of the software in that list then report back.

C Jack (arkiedriver) said : #7

I went to System - Administration - Update Manager
No list of anything appeared. Got a message saying all programs were up to
date.

Applications - Accessories has "AVG for Linux Workstation"
but a right click does not bring up anything about updating

Thanks

JJ

On Thu, Aug 21, 2008 at 10:33 AM, deepak mishra <
<email address hidden>> wrote:

> Your question #42708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> Status: Open => Answered
>
> deepak mishra proposed the following answer:
> if you have already installed this software, then look for it in the
> "update manager" (it should be there near the top right corner).
> on opening, you would be asked for your passsword.
> when you get the full list, then select the software to be updated and then
> update
>
> if you fail to get the right name of the software in that list then
> report back.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/42708/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Andrew (and471) said : #8

I understand what you mean don't worry.

Right, the methods described before are for updating programs, ie. bugs in a program, new features etc.

What you are trying to update are the virus definitions in AVG, ie. when AVG finds a new type of virus or a more efficent to find Virus X they have to update these definitions.

To update these, what you must do is go in the menu to Accessories > AVG for Linux Workstation

In AVG, then go to Service > Update And it should update you virus defnitions

If you get the error that you don't have permission, don't worry, this is easily solved. Just like to say, that this is AVG's fault for writing a poor piece of code in that case, not Ubuntu's or linux's.

Anyway, open a terminal (Accessories > Terminal [in the main menu]) and type in

sudo avggui

Then type in your password when it asks for it (in the terminal) and AVG should come up again. This time it is running as root and so it has the permission to update the virus definitions.

Follow the steps I said above for updating, and AVG should update the virus definitions

Now that you know how to update and why it wouldn't, it is time to make life easier for yourself. You don't want to have to do the terminal trick everytime you wish to update, so here is how to chnage the main menu entry for avg, to always run in root mode.

Right click on the main menu (on the panel) and select 'Edit Menus'. Then in the menu editor that comes up, in the left sidebar, click on 'Accessories' to access the entries in the Accessories menu. You should then see AVG for Linux Workstation come up in the right hand part of the editor.

Next, right click on the AVG entry in that right hand part, and select 'Properties'. A dialog should come up showing you info about the AVG menu entry.

Then in the field 'Command' in that dialog, there should be entered the command

avggui

You want to change that field so it reads

gksudo avggui

Click close in the dialog afert you yhave done that, and then click close in the menu editor and you have done it! Next time you wish to use AVG, it will ask you for your password, but allow you to update properly (and also scan ALL files on your system, as some are hidden from your normal user).

Hope this solves it!

C Jack (arkiedriver) said : #9

Thanks. I will give it a try.

A year ago I had to dump Linux because of a bug in the spreadsheet program.
Very frustrating! When your personal and business records are at risk you
cannot afford to put yourself in a box that risks loss of the data.
Going back to Windows was then not easy. While Linux imported various Corel
formats, those Corel programs did not import .org formats when I came back.
Had to manually re-enter all the data.

Bad as I hate Windows, at least I didn't have to continuously fight it as I
do with Ubuntu.

Why is seemingly every Ubuntu app so user unfriendly? Why, for example, does
the AVG app not provide some built in update capability instead of offering
it on a tab, which when clicked simply gives me an error message. That makes
no sense. If the programmer can create the error message, he could have as
easily caused the update to happen - or some kind of attached list of
instructions for making it work.

I very much appreciate the help that people like you offer but continue to
wonder why I am always forced to bother you.

Thanks.

JJ

On Thu, Aug 21, 2008 at 1:22 PM, rugby471 <
<email address hidden>> wrote:

> Your question #42708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> Status: Open => Answered
>
> rugby471 proposed the following answer:
> I understand what you mean don't worry.
>
> Right, the methods described before are for updating programs, ie. bugs
> in a program, new features etc.
>
> What you are trying to update are the virus definitions in AVG, ie. when
> AVG finds a new type of virus or a more efficent to find Virus X they
> have to update these definitions.
>
> To update these, what you must do is go in the menu to Accessories > AVG
> for Linux Workstation
>
> In AVG, then go to Service > Update And it should update you virus
> defnitions
>
> If you get the error that you don't have permission, don't worry, this
> is easily solved. Just like to say, that this is AVG's fault for writing
> a poor piece of code in that case, not Ubuntu's or linux's.
>
> Anyway, open a terminal (Accessories > Terminal [in the main menu]) and
> type in
>
> sudo avggui
>
> Then type in your password when it asks for it (in the terminal) and AVG
> should come up again. This time it is running as root and so it has the
> permission to update the virus definitions.
>
> Follow the steps I said above for updating, and AVG should update the
> virus definitions
>
>
> Now that you know how to update and why it wouldn't, it is time to make
> life easier for yourself. You don't want to have to do the terminal trick
> everytime you wish to update, so here is how to chnage the main menu entry
> for avg, to always run in root mode.
>
> Right click on the main menu (on the panel) and select 'Edit Menus'.
> Then in the menu editor that comes up, in the left sidebar, click on
> 'Accessories' to access the entries in the Accessories menu. You should
> then see AVG for Linux Workstation come up in the right hand part of the
> editor.
>
> Next, right click on the AVG entry in that right hand part, and select
> 'Properties'. A dialog should come up showing you info about the AVG
> menu entry.
>
> Then in the field 'Command' in that dialog, there should be entered the
> command
>
> avggui
>
> You want to change that field so it reads
>
> gksudo avggui
>
> Click close in the dialog afert you yhave done that, and then click
> close in the menu editor and you have done it! Next time you wish to use
> AVG, it will ask you for your password, but allow you to update properly
> (and also scan ALL files on your system, as some are hidden from your
> normal user).
>
> Hope this solves it!
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/42708/+confirm?answer_id=7
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Andrew (and471) said : #10

Please don't be disheartened. That AVG app is one of very few programs that below to a certain group.

This group contains commercial programs that run on Windows, that have been badly been ported to Linux. AVG don't really care whether people like their anitvirus on Linux or not, as far as they see it, it is a minority and the Windows users are the ones who are paying from premium versions of AVG.

Other programs like OpenOffice or Firefox which below to the main gorup of typical open source and very different. If a bug or a feature request is made, the chnage is very quickly merged, however with AVG, I doubt whether they even accept patches or anything like that.

Anyway, I hope your experience will be better form now on :-) [ And that my advice worked :-) ]

See ya

rugby471 is my Linux God!

that's the most lucid answer to a linux issue i have ever read.
with more of those understandable explanations, mere mortals like me could learn to use this software.

C Jack (arkiedriver) said : #12

OK. If I have no hope of updating AVG or Clamav----

Can someone recommend an antivirus program made for Linux that I can download, install and run on Ubuntu????
Hopefully without all the terminal stuff.

JJ

Please note antivirus are not strictly needed on Linux... ( the might be useful to clean infected files to not spread virus to windows pc)

If you have trouble using terminal and to install them (not so difficult) simply don't care of viruses on Linux they are not really a problem, simply keep you Ubuntu updated/and upgraded.

Hope this helps

To update AVG for linux
Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

gksudo avggui

and make updates of your avg...

Hope this helps

C Jack (arkiedriver) said : #16

Thanks, I will try it.

JJ

On Sun, Feb 1, 2009 at 4:13 PM, marcobra <
<email address hidden>> wrote:

> Your question #42708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> marcobra proposed the following answer:
> To update AVG for linux
> Open a Terminal from the menu Applications → Accessories → Terminal and
> type:
> (if the system ask you a password give your user password, you will not see
> nothing when you type it, then press enter)
>
> gksudo avggui
>
> and make updates of your avg...
>
> Hope this helps
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/42708/+confirm?answer_id=14
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Launchpad Janitor (janitor) said : #17

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

C Jack (arkiedriver) said : #18

Your solution worked.

Thanks a lot.

JJ

On Tue, Feb 17, 2009 at 12:25 AM, Launchpad Janitor <
<email address hidden>> wrote:

> Your question #42708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> Status: Open => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Open' state
> without activity for the last 15 days.
>
> --
> If you're still having this problem, you can reopen your question either
> by replying to this email or by going to the following page and
> entering more information about your problem:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Then please also tight click on the Appllications → Accessories → Avg .... and select

Add this launcher to panel
or
Add this launcher to desktop

Then right click on the desktop or panel icon of Avg:

select Properties then change the "Command" line from:

avggui

to

gksudo avggui

Hope this helps

C Jack (arkiedriver) said : #20

Thanks yet one more time.
JJ

On Tue, Feb 17, 2009 at 4:05 PM, marcobra <
<email address hidden>> wrote:

> Your question #42708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> Status: Open => Answered
>
> marcobra proposed the following answer:
> Then please also tight click on the Appllications → Accessories → Avg
> .... and select
>
> Add this launcher to panel
> or
> Add this launcher to desktop
>
> Then right click on the desktop or panel icon of Avg:
>
> select Properties then change the "Command" line from:
>
> avggui
>
> to
>
> gksudo avggui
>
> Hope this helps
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/42708/+confirm?answer_id=18
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/42708
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Then please mark this question as solved

Thank you

Savage (nudirect) said : #22

I had the same problem , and your explanation worked well so far , I still couldn't update the virus deffenitions.
Now I got message "avgupdate already running" ....
So i checked that with command :sudo ps aux | grep avgupdate
but couldnt see nothing !!!! so there wasn't really a proces running of "avgupdate" !!!
That made me think that maybe AVG uses his own proces directory , and start searching for it , Found it :)

My fix:

Shut down AVG.
Start "Gnome Commander" and Then do: "Start Gnome commander as Root", type your password.
Then goto /opt/grisoft/avg7/var/run/
there u find an avgupdate.pid , DELETE the file.
Close "Gnome Commander"
Now start AVG again , and u can update again.

Maybe this helps others to :)

C Jack (arkiedriver) said : #23

Thanks marcobra, that solved my question.

gemasal (gemasal) said : #24

Hey, love you all, kind people of the earth.

hadiyan109 (pure-h2o) said : #25

i can't upgrade my ubuntu, every time i want to get upgrade this text 'E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory' always come
can anyone help me?,

@hadiyan109

Please don't append a new question on a already answered or marked as solved question.

Please create a separate thread for your new question, or else visitors to this solution page
will get confused.

Please make new question from here: https://answers.launchpad.net/ubuntu/+addquestion
you will get better chance to get right answer on a fresh tagged "open" question.
Solved or answered questions are usually not read from answering people.

Thank you