trinhdunh / update-engine

Automatically exported from code.google.com/p/update-engine
Apache License 2.0
0 stars 0 forks source link

Google software updater unable to install updates #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am running Mac OS X 10.4 Tiger.  My only google product installed is the
Google App Engine Launcher.  Google Software Update prompted me to install
an update; I clicked "Install 1 item" and it downloaded the update.  It
failed to install, with an error message saying:

"Updates unsuccessful"
"Google Software Update was not able to install the updates.  It will try
again later."

This has happened twice so far.

I am not logged in as an administrator user (neither was I when I installed
App Engine Launcher).

I don't know how to find information about the version of Google Software
Update that I have installed.

Original issue reported on code.google.com by jfo...@gmail.com on 21 Jan 2009 at 2:24

GoogleCodeExporter commented 8 years ago
That sounds like a permission problem.  Are you running the AppEngineLauncher 
from the disk image, or did 
you copy it to your disk?

If you have a  ~/Library/Logs/GoogleSoftwareUpdateAgent.log , please mail it to 
mdalrymple@google.com - 
there may be some information in there too.

Original comment by borkwareLLC on 21 Jan 2009 at 3:13

GoogleCodeExporter commented 8 years ago
jfouhy, has this issue continued? Was Google App Engine Launcher ever updated? 
We need more info so we can 
either fix the bug or close this issue. Thanks.

Original comment by dev...@gmail.com on 27 Feb 2009 at 12:18

GoogleCodeExporter commented 8 years ago
Hi,

I apologise for not reponding to borkwareLLC's comment; I missed the email 
alerting
me to it.

The problem does continue.  I'm running AppEngineLauncher from my /Applications
directory.

The log file mentioned contains these lines:

2009-02-27 13:26:33.341 GoogleSoftwareUpdateAgent[365/0x1815400] [lvl=2]
-[KSDownloadAction performAction] Short circuiting download of
http://googleappengine.googlecode.com/files/GoogleAppEngineLauncher-1.1.8.dmg,
path=/Users/repton/Library/Caches/com.google.UpdateEngine.Framework.501/Download
s/com.google.GoogleAppEngineLauncher.dmg,
size=4209035, hash=oOMiScYwQfsYzRaiscKZDGs/NxU=

2009-02-27 13:26:39.865 GoogleSoftwareUpdateAgent[365/0x1815400] [lvl=3]
-[KSInstallAction performAction] Return code 4 from an install script.
output1:(null), output2: dest_path=/Applications/Google
AppEngineLauncher.app, output3: (null)

I've emailed the logfile to mdalrymple as requested.

Thanks.

Original comment by jfo...@gmail.com on 27 Feb 2009 at 12:35

GoogleCodeExporter commented 8 years ago
Here's the relevant line from the .keystone_install script:

...
backup_path="$dest_path.backup"
mv "$dest_path" "$backup_path" || SafeExit 4
...
and from the output above, $dest_path=/Applications/GoogleAppEngineLauncher.app.

So, it looks like there are insufficient privileges to modify stuff in 
/Applications, or perhaps an old backup 
copy already exists and it has a funky mode.

A few questions for jfouhy:

- Can you send us the output of "ls -ld /Applications" ?
- Can you send us the output of "ls -ld 
/Applications/GoogleAppEngineLauncher.app.backup"
- Assuming your non-admin account doesn't have access to write to 
/Applications, how did you install the 
app in /Applications? Did you drag it there and get prompted to enter an admin 
name/password (if you 
remember)? This may not help us fix the problem, but it will help us understand 
the situation.

Thanks.

Original comment by dev...@gmail.com on 27 Feb 2009 at 3:56

GoogleCodeExporter commented 8 years ago
I have this issue as well.  In my case, my normal user account does not have
admin/root privileges, but I installed in /Applications by entering my admin
user/pass into a pop-up permissions dialog.  I prefer having privilege 
separation
a-la most UNIX OSes, and this works fine for 99.9% of apps, including updates 
via the
Sparkle framework.

At this point, I'd actually rather have a preference to stop GSUA from trying to
update every day.  Failing that, having a dialog to promote to admin privileges 
would
be fine as well.

Thanks.

Original comment by mpa...@gmail.com on 17 Mar 2009 at 6:02

GoogleCodeExporter commented 8 years ago
I'm having the same problem, but using OS X 10.5.6. Everyday it shows me an 
update
for Picasa but fails to install it.

Original comment by fernando...@gmail.com on 8 Apr 2009 at 4:47

GoogleCodeExporter commented 8 years ago
Before quitting the GSU, doing ps ax | grep Google results in:

 6724   ??  S      0:00.37
/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resour
ces/GoogleSoftwareUpdateAgent.app/Contents
 6725   ??  Ss     0:00.09
/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/MacOS/
GoogleSoftwareUpdateDaemon
 -onDemand

Running the app using sudo:

pinheiro:~ fernando$ sudo
/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resour
ces/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftwareUpdateAgent

The agent should never be run as root, even when updating system tickets.
pinheiro:~ fernando$

Original comment by fernando...@gmail.com on 9 Apr 2009 at 8:26

GoogleCodeExporter commented 8 years ago
I'm having this problem too.
OS X 10.5.6
GoogleAppEngineLauncher is installed in /Applications/.
The user that I'm running as is also not an admin.

$ ls -ld /Applications
drwxrwxr-x+ 50 root  admin  1700 Apr 12 09:38 /Applications

/Applications/GoogleAppEngineLauncher.app.backup doesn't exist.

$ ls -ld /Applications/GoogleAppEngineLauncher.app
drwxr-xr-x  3 aaron  admin  102 Mar 13 22:11 
/Applications/GoogleAppEngineLauncher.app

I don't remember how I installed to the Applications directory, but I probably
dragged it and then entered my admin info.

The tail of my log file looks similar to jfouhy's.

Original comment by nogwa...@gmail.com on 15 Apr 2009 at 6:03

GoogleCodeExporter commented 8 years ago
I had the similar problem. The problem is the writing-permission on 
/Applications/.
My workaround was: 

1.) Opening a shell (Terminal)
2.) su [admin] -c "sudo chmod a+w /Applications/"
I will be prompted my [admin]-credentials twice (once for su, once for sudo)
3.) Run the Updater
4.) su [admin] -c "sudo chmod a-w /Applications/"
I am only prompted once (for su, sudo remembers me being me)

Of course the Updater is supposed to ask for permission on his own.

Original comment by bernhard...@gmail.com on 15 Apr 2009 at 1:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm having the problem too.  bernhard, I have tried your workaround with no 
luck.  I
am running Google Software Update to update Picasa.  The error I get is below:
2009-11-10 21:55:43.779 GoogleSoftwareUpdateAgent[13262/0xb00a1000] [lvl=3]
+[KSDownloadAction defaultDownloadDirectory] Bad mode on
/Users/<my_username>/Library/Caches/com.google.UpdateEngine.Framework.501/Downlo
ads,
can't use

I have used your workaround for the directory listed above as well as 
/Applications.

Got any ideas?
Thanks!

Original comment by brentbro...@gmail.com on 11 Nov 2009 at 6:03

GoogleCodeExporter commented 8 years ago
Hi, can you drop me your email address at mdalrymple@google.com?  I'd like to 
send you a little diagnostic app 
that'll let us figure out what's up.

Thanks!

Original comment by mdalrym...@google.com on 11 Nov 2009 at 2:51

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. the google updater keeps asking for the system password every hour.
2.it happen right after i install snow
3.this is really anoying

What is the expected output? What do you see instead?
google updater asking for system password

What version of the product are you using? On what operating system?
osx 10.62

Please provide any additional information below.

If you would like to log an enhancement or feature request instead of a
defect/bug, please use the "Enhancement report from user" template instead
by changing the value of the template popup.

Please see the following link for tips on effective bug reporting:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Original comment by nyc...@gmail.com on 23 Nov 2009 at 6:48

GoogleCodeExporter commented 8 years ago
Same problem on Mac OSX 10.5.8.

I run GoogleSoftwareUpdateAgent as a non-admin user to update Google 
AppEngineLauncher.  It says 
"Installing"...and hangs, never completing.  (I finally kill it with "Force 
Quit" from Activitiy Monitor.)

I originally installed AppEngineLauncher by dragging it to /Applications and 
entering an Admin password.

tom$ ls -ld /Applications/
drwxrwxr-x+ 67 root  admin  2278 Dec  7 00:25 /Applications/

tom$ ls -ld /Applications/GoogleAppEngineLauncher.app*
drwxr-xr-x  3 admin  admin  102 Oct 14 21:14 
/Applications/GoogleAppEngineLauncher.app
drwxrwxrwx@ 4 tom    admin  136 Dec  4 18:59 
/Applications/GoogleAppEngineLauncher.app.backup

I tried changing the permissions on the /Applications directory (as suggested 
in Comment #9), but that didn't 
work for me.

This snippet from ~/Library/Logs/GoogleSoftwareUpdateAgent.log also points to a 
permission problem (see 
last line):

2009-12-09 10:42:28.224 GoogleSoftwareUpdateAgent[1214/0xb00a1000] [lvl=2] 
-[KSMultiUpdateAction 
performAction] filteredUpdates=(
        {
        DisplayVersion = "1.2.8.0";
        MoreInfo = "http://appenginesdk.appspot.com";
        Prompt = true;
        kServerCodeHash = "6/aGhD1T72hujpPCqPKW+IS886U=";
        kServerCodeSize = 4027123;
        kServerCodebaseURL = http://googleappengine.googlecode.com/files/GoogleAppEngineLauncher-
1.2.8.dmg;
        kServerDisplayVersion = "1.2.8.0";
        kServerMoreInfoURLString = "http://appenginesdk.appspot.com";
        kServerProductID = "com.google.GoogleAppEngineLauncher";
        kServerPromptUser = 1;
        kTicket = <KSTicket:0x1b3c10
    productID=com.google.GoogleAppEngineLauncher
    version=1.2.1.368
    xc=<KSPathExistenceChecker:0x1892c0 
path=/Applications/GoogleAppEngineLauncher.app.backup/GoogleAppEngineLauncher.ap
p>
    url=https://tools.google.com/service/update2
    creationDate=2009-02-24 18:57:26 -0200
>;
        needsadmin = false;
        status = ok;
    }
)
2009-12-09 10:42:28.302 GoogleSoftwareUpdateAgent[1214/0xb00a1000] [lvl=2] 
-[KSDownloadAction 
performAction] Short circuiting download of 
http://googleappengine.googlecode.com/files/GoogleAppEngineLauncher-1.2.8.dmg, 
path=/Users/tom/Library/Caches/com.google.UpdateEngine.Framework.503/Downloads/c
om.google.Google
AppEngineLauncher.dmg, size=4027123, hash=6/aGhD1T72hujpPCqPKW+IS886U=
2009-12-09 10:42:32.180 GoogleSoftwareUpdateAgent[1214/0xb00a1000] [lvl=3] 
-[KSInstallAction 
performAction] stderr from install script 
/Volumes/com.google.GoogleAppEngineLauncher-
6_aGhD1T72hujpPCqPKW+IS886U=/.keystone_install: mv: rename 
/Applications/GoogleAppEngineLauncher.app.backup/GoogleAppEngineLauncher.app to 
/Applications/GoogleAppEngineLauncher.app.backup/GoogleAppEngineLauncher.app.bac
kup: Permission 
denied

Original comment by tofferm...@gmail.com on 9 Dec 2009 at 1:23

GoogleCodeExporter commented 8 years ago
@toffermann - that's a known failure scenario that we hope to have a fix for 
before
too long.  You can either change the permissions of GoogleAppEngineLauncher.app 
so
that you can modify them, or delete it and re-download it.

Original comment by borkwareLLC on 9 Dec 2009 at 2:12

GoogleCodeExporter commented 8 years ago
I NEVER authorized  the google software updater to be installed in the first 
place on my mac!!  now it's gone crazy and taken 101GB of log space on my HD.  
HOW DO I UNINSTALL THIS OFF MY MAC!!!!!!!!!  because obviously putting it in 
the trash and emptying it is NOT enough.  This is completely unacceptable.

Original comment by sala...@yahoo.com on 22 Aug 2011 at 2:49

Attachments:

GoogleCodeExporter commented 8 years ago
I see this problem is popping up. Am using LION, trying to update Picasa (MAC) 
3.9.0.522 to the 3.9.1 version showing up in the updater and it simply will not 
load.  Any help with this problem ???

Original comment by RLL...@gmail.com on 16 Dec 2011 at 5:14

GoogleCodeExporter commented 8 years ago
Same problem here, using Lion, trying to update app engine launcher.

Original comment by r...@tomacfamily.com on 13 Jan 2012 at 7:50

GoogleCodeExporter commented 8 years ago
I am seeing this issue when trying to update the Google App Engine Launcher on 
OS X Mavericks (10.9.1).  The latest GAE Installer version I tried to install 
is version 1.8.8.0.

So far I have actually never gotten any updates to run successfully - I think 
the only app I am using is GAE Launcher.  I am running as Administrator, so my 
problem may be different than the others on this thread, but the result is the 
same.

I have also tried forcing update to run, but that gives the same result: 
"Google Software Update was not able to install the updates.  It will try again 
later."

If it's a permissions thing, I would expect it to ask me to authenticate, but 
it does not.

Original comment by rea...@firespotter.com on 26 Dec 2013 at 6:13

GoogleCodeExporter commented 8 years ago
Same issue here. Mavericks (10.9.3); I don't log in as the Admin for the 
machine, either. 

My guess is that Google doesn't handle the permissions issue *at all* - which 
would be fine if this were a one-off from 2009. But it's 2014 and the code 
*still* can't handle the user not being the admin!

My solution is to download the latest version and reinstall, which is a bit of 
a nuisance and so 1990's.

Original comment by ian.gran...@gmail.com on 21 May 2014 at 3:01

GoogleCodeExporter commented 8 years ago
Also encountered this 5 year old problem on Mavericks.  Reinstalled Google 
Software Update.  Still not working.  Fail!

Original comment by barry.al...@gmail.com on 16 Aug 2014 at 7:04