Home > manjaro > [manjaro] if yaourt asks too much

[manjaro] if yaourt asks too much

Problem
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?

Solution
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:

BUILD_NOCONFIRM=1
EDITFILES=0

Done.

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

yaourt -Syua --noconfirm
Advertisements
Categories: manjaro Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: