You are not logged in.

#1 2015-01-22 19:16:40

dafero
Member
From: /home/dafero
Registered: 2014-03-22
Posts: 30

[SOLVED] AUR packages won't update

Hi everyone,

I'm running yaourt -Syua to update my system but for every single AUR package I'm getting the following error:

chromium-pepper-flash 1:16.0.0.257-1  (Wed Oct  8 01:11:48 CEST 2014)
( Unsupported package: Potentially dangerous ! )
makepkg: invalid option '--asroot'
Unable to read PKGBUILD
==> ERROR: unable to update

Any ideas on how to solve it?
I few days ago I had a problem related to the latest pacman update and I ended up reinstalling yaourt "manually".

Thanks!
Dani.

Solution: I was executing yaourt -Syua as root and apparently this option was removed.

Last edited by dafero (2015-01-22 23:04:27)

Offline

#2 2015-01-22 19:30:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] AUR packages won't update

What the error message says. That option has been removed.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-01-22 19:50:36

phanisvara
Member
From: west bengal, india
Registered: 2012-07-08
Posts: 74

Re: [SOLVED] AUR packages won't update

i don't understand why so many people insist on building packages as 'root.' there's no advantage i can see, only potential disaster. still, here's a way to work around this: http://allanmcrae.com/2015/01/replacing-makepkg-asroot/

Offline

#4 2015-01-22 20:50:32

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] AUR packages won't update

Isn't the solution to yaourt not building packages after the pacman 4.2 upgrade to compile package-query (the updated version in the AUR) and yaourt against pacman 4.2?

Last edited by clfarron4 (2015-01-22 20:52:13)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#5 2015-01-22 21:10:40

phanisvara
Member
From: west bengal, india
Registered: 2012-07-08
Posts: 74

Re: [SOLVED] AUR packages won't update

that's there, too. but after that it still won't build packages with --asroot, which seems to be the OP's problem.

Offline

#6 2015-01-22 21:53:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [SOLVED] AUR packages won't update

clfarron4 wrote:

Isn't the solution to yaourt not building packages after the pacman 4.2 upgrade to compile package-query (the updated version in the AUR) and yaourt against pacman 4.2?

No, that's a solution for a completely different problem than the one the OP has.

Offline

#7 2015-01-22 22:16:33

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,744
Website

Re: [SOLVED] AUR packages won't update

@OP: Have you tried building them manually?

The comments page for yaourt claims that it still tries to build packages with the `--asroot` option (!) -- you will have to wait for them to fix it, I think.
https://aur.archlinux.org/packages/yaourt/

Last edited by Head_on_a_Stick (2015-01-22 22:17:12)

Offline

#8 2015-01-22 22:19:25

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,413
Website

Re: [SOLVED] AUR packages won't update

Good opportunity to look for an alternative, like cower. Well, unless you have 9000 AUR packages. But then yaourt is the least of your concern....


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#9 2015-01-22 22:20:49

dafero
Member
From: /home/dafero
Registered: 2014-03-22
Posts: 30

Re: [SOLVED] AUR packages won't update

phanisvara wrote:

i don't understand why so many people insist on building packages as 'root.' there's no advantage i can see, only potential disaster. still, here's a way to work around this: http://allanmcrae.com/2015/01/replacing-makepkg-asroot/

phanisvara wrote:

that's there, too. but after that it still won't build packages with --asroot, which seems to be the OP's problem.

Yep, you are completely right. My bad. I didn't know --asroot option was removed.
Executing 'yaourt -Syua' using my regular user solved the issue.

Thanks again to all the people that commented on this post big_smile
Dani.

Offline

#10 2015-01-22 22:36:04

MK13
Member
From: Germany
Registered: 2014-04-12
Posts: 80

Re: [SOLVED] AUR packages won't update

@dafero

Better update your signature too tongue

signature wrote:

sudo yaourt -Syua

Also, don't forget to mark the thread as [SOLVED].

Offline

#11 2015-01-22 23:15:13

dafero
Member
From: /home/dafero
Registered: 2014-03-22
Posts: 30

Re: [SOLVED] AUR packages won't update

MK13 wrote:

@dafero

Better update your signature too tongue

signature wrote:

sudo yaourt -Syua

Also, don't forget to mark the thread as [SOLVED].

Haha thanks I will smile

Offline

Board footer

Powered by FluxBB