Posts Tagged ‘yaourt’

[manjaro] goodbye yaourt, hello yay

February 22, 2019 Leave a comment

Under Manjaro I’ve used yaourt so far to install AUR and even other packages. I’ve read there are problems with yaourt but it worked so well. However, I just heard that yaourt is not maintained any longer. So what to use instead of yaourt?

yay is very similar to yaourt in its functionalities and usage, thus it seems to be a good replacement.

I only had one issue, the output was not colored, but it was easy to fix. From the FAQ: “make sure you have the Color option in your /etc/pacman.conf“.

I even removed yaourt to force myself to use yay: “yay -R yaourt“.

yaourt was great and I’m thankful for its developers.


Categories: linux Tags: , , , , ,

[manjaro] edit PKGBUILD and install a package

March 30, 2018 Leave a comment

You try to install a package with “yaourt pkg_name” but the installation fails. How to edit the PKGBUILD file manually and then install the package?


$ cd /tmp
$ yaourt -G pkg_name
$ cd pkg_name
# modify the file PKGBUILD with your favourite text editor
$ makepkg -i

Where “pkg_name” is the name of the package you want to install.

Categories: manjaro Tags: , ,

[manjaro] installation fails, unknown public key

January 17, 2018 Leave a comment

I couldn’t update a package due to the following error:

==> Validating source files with sha256sums...
    gcc-7.2.1-20171224.tar.xz ... Passed
    gcc-7.2.1-20171224.tar.xz.sig ... Skipped
    isl-0.18.tar.bz2 ... Passed
==> Verifying source file signatures with gpg...
    gcc-7.2.1-20171224.tar.xz ... FAILED (unknown public key BBE43771487328A9)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build mingw-w64-gcc.
==> Restart building mingw-w64-gcc ? [y/N]
==> --------------------------------------
==> ==> ERROR: unable to update

I asked this on reddit and /u/SuperGrip kindly provided the solution:

This is a common issue when an apps key is not included in the ArchLinux Keyring, to solve this issue you can add the key manually by running the following command: gpg --recv BBE43771487328A9

For further information check the package comments on the AUR site.

Categories: manjaro Tags: , , , ,

[manjaro] if yaourt asks too much

February 16, 2016 Leave a comment

You are getting tired of these questions:

Edit PKGBUILD ? [Y/n] ("A" to abort)
Edit <pkg_name>.install ? [Y/n] ("A" to abort)

How to get rid of them?

In this blog post I found a solution that I sum up here:

First, copy the global yaourtrc file to your HOME directory:

cp /etc/yaourtrc ~/.yaourtrc

Then, edit ~/.yaourtrc and add these two lines to its end:



Update (20170203)
If you want yaourt not to ask any confirmation question when upgrading packages, use the “--noconfirm” option. Example:

yaourt -Syua --noconfirm
Categories: manjaro Tags: ,

[manjaro] ignore package update

August 9, 2015 1 comment

I installed vuze from AUR but vuze keeps updating itself. When a new version appeared in AUR, I tried to update the vuze package but it failed due to file conflict. Since vuze is actually up-to-date, there is no need to update it from AUR, and I don’t want to see any messages from the package manager either to update this package.

Put this package on an ignore list and thus the package manager won’t want to update it.

Open /etc/pacman.conf and add this line:

IgnorePkg = vuze

You can also specify several packages separated by a space. Both pacman and yaourt will ignore this (these) package(s).

Categories: manjaro Tags: , ,

[manjaro] install packages from AUR

November 23, 2014 Leave a comment

See here:

In short:

# install yaourt
sudo pacman -S yaourt

# install with yaourt from AUR
yaourt -S <package>

# update the packages installed from AUR
yaourt -Syua
Categories: manjaro Tags: , ,