You are not logged in.

#1 2015-05-20 21:43:07

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

[SOLVED] Yaourt Error

Hello Guys,

The following errors are given every time I try to any package including blueman (Bluetooth GUI for ArchLinux):

==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build blueman.

I have been googling the error for the past couple of hours and looking at solutions posted in the pasted however, I have not run into one that applies to me.
I have tried reinstalling yaourt and upgrading it however, that did not work.

Can I please have a solution to this reoccuring error?

Last edited by patelvrajn (2015-05-21 01:02:53)

Offline

#2 2015-05-20 21:48:00

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,896
Website

Re: [SOLVED] Yaourt Error

1) Stop using yaourt.
2) Read the wiki.
3) Read the manpage.
3) ?
4) Packages.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-05-20 22:04:38

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Yaourt Error

So what I understand is that yaourt no longer works? Also that makepkg automates building and compiling packages similaur to yaourt and that I need base and base-devel installed in order for it function. However, I am confused as to how to install/configure it and how to update the packages that I normally did with yaourt.

Offline

#4 2015-05-20 22:18:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] Yaourt Error

Moving to AUR issues, Discussion and PKGBUILD requests.

yaourt probably works as well as it ever has.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#5 2015-05-20 22:24:05

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Yaourt Error

So I can still use yaourt? I am now confused. I was reading about makepkg, it used for installing packages but you must download a tarball in respect to the program your trying to install first. I was just confused as to how I upgrade all my packages using this command. Or how do I get rid of the original error from yaourt if it still works.

Offline

#6 2015-05-20 22:34:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Yaourt Error

IIRC yaourt lets you edit the PKGBUILD, so try doing that.
I hope that you now understand what this error is about.

Offline

#7 2015-05-20 22:39:42

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,896
Website

Re: [SOLVED] Yaourt Error

patelvrajn wrote:

So what I understand is that yaourt no longer works?

No, you just don't know enough about building AUR packages, so you shouldn't be using something that hides the process from you.

Using yaourt when you know what you're doing is fine, because you'll be able to handle problems such as this one.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2015-05-20 22:50:26

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Yaourt Error

Ok I still don't understand the problem here, I ran the command yaourt -Syua and it said that it could not build any of my packages with the same error for each one. I read about package building however, I am still confused as to what the solution here is.

Offline

#9 2015-05-20 22:54:11

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] Yaourt Error

patelvrajn wrote:

Ok I still don't understand the problem here, I ran the command yaourt -Syua and it said that it could not build any of my packages with the same error for each one. I read about package building however, I am still confused as to what the solution here is.

The solution is not an instant fix:

1) Stop using yaourt
2) Learn how to use makepkg; yaourt is essentailly just streamlining makepkg usage for you.
3) Investigate the error you're getting using your new knowledge about makepkg
4) Once you know how to use the underlying makepkg tool, then you can go back to using yaourt to streamline the process for you.

Offline

#10 2015-05-20 22:55:43

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Yaourt Error

Alright, so I have download all of these updates manually using makepkg now.

Offline

#11 2015-05-20 23:25:04

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Yaourt Error

So I figured out how use makepkg to fix this problem for one of the packages. I read what yaourt said and it said that it failed at the integrity check against sha256 hashes. So when I ran in makepkg it gave the same error and after reading the man pages I discovered -g switch allows me regenerate the integrity check for each of the files in the PKGBUILD for that tarball. Now that I have done of these packages I understood what was wrong. I also see that yaourt has a -G switch. How do I use yaourt to do this for all the upgrades I have?

Offline

#12 2015-05-21 00:41:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,555
Website

Re: [SOLVED] Yaourt Error

If you are getting that error for many packages, then that is the wrong solution.  Your 'solution' is to ignore a warning about faulty and perhaps even malicious code that has been put in place of what you should be getting.

Can you give us actual examples for which you've received this error from makepkg?  Please include all the commands you used to get this error with makepkg so we can replicate your steps to determine if the packages actually are bad, or if there is something else wrong with your system.  If there is something wrong with your system you probably shouldn't just try to ignore it until it gets worse.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#13 2015-05-21 01:02:00

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Yaourt Error

Thank You for helping Trilby, I actually just restarted my computer and all the packages just started installing and working. I will mark this as solved.

Offline

Board footer

Powered by FluxBB