You are not logged in.

#1 2012-04-30 12:27:00

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

[SOLVED] Problems installing Google Chrome

I just installed Arch Linux and it's first time for me. Now I'm trying to install Google Chrome from AUR.

I downloaded tarball from here. Then I extracted it; this is what it looks like:

PKGBUILD
google-chrome.install

Then I tried to executed `makepkg -s` as described in the documentation as normal user (not root).

It gives me this:

==> Making package: google-chrome 18.0.1025.162-1 (Mon Apr 30 15:21:43 EEST 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...

Then it asks for password. I enter my password (not root's, but my).

Output:

dagrevis is not in the sudoers file.  This incident will be reported.
==> ERROR: 'pacman' failed to install missing dependencies.

If I try to execute `makepkg -s` as being root:

==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
catastrophic damage to your system. If you wish to run as root, please
use the --asroot option.

Bad idea? Okay... lets try to use `sudo` command (now I'm back as normal user).

sudo makepkg -s

It asks for password. I enter my root's password and I'm sure it's correct, but it outputs:

Sorry, try again.

If I enter password of current user (normal user), it gives me once again:

dagrevis is not in the sudoers file.  This incident will be reported.

So how to execute this command? Thanks.

Last edited by daGrevis (2012-04-30 13:46:38)

Offline

#2 2012-04-30 12:35:21

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Problems installing Google Chrome

Your user doesn't have sudo rights as the messages indicates. Adding your user to the "wheel" group should solve that (with the default settings).

Some more info on sudo.


Burninate!

Offline

#3 2012-04-30 12:43:05

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: [SOLVED] Problems installing Google Chrome

Thanks! I executed `gpasswd -a dagrevis wheel` as root and it gave me `Adding user dagrevis to group wheel`·
Then I tried to execute that `sudo makepkg -s`, but it still gives me `dagrevis is not in the sudoers file.  This incident will be reported.`.

What I'm doing wrong?

Offline

#4 2012-04-30 12:48:16

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Problems installing Google Chrome

Log out and in again to activate group changes.

Anyway, why aren't you using Chromium?

Offline

#5 2012-04-30 12:55:16

seveg
Member
From: Bratislava, Slovakia
Registered: 2012-04-17
Posts: 33

Re: [SOLVED] Problems installing Google Chrome

You probably dont have group wheel specified in sudoers configuration file. Switch to root and  run visudo, then add this line for user:

user  ALL=(ALL) ALL

or group:

%wheel ALL=(ALL) ALL

Just another drug abuser..

Offline

#6 2012-04-30 13:29:25

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: [SOLVED] Problems installing Google Chrome

tomk wrote:

Anyway, why aren't you using Chromium?

I thought that Chromium doesn't support signing-in using Google account; I was wrong about that — it does.
This means that I will stick to Chromium. :]

seveg wrote:

You probably dont have group wheel specified in sudoers configuration file.

Thanks for pointers; it works as charm now. :]

Offline

#7 2012-04-30 13:45:35

seveg
Member
From: Bratislava, Slovakia
Registered: 2012-04-17
Posts: 33

Re: [SOLVED] Problems installing Google Chrome

You're welcome.
Please mark thread as solved.


Just another drug abuser..

Offline

#8 2012-04-30 13:46:53

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: [SOLVED] Problems installing Google Chrome

Done.

Offline

Board footer

Powered by FluxBB