You are not logged in.

#1 2010-06-02 00:13:44

dabd
Member
Registered: 2008-11-17
Posts: 109

yaourt upgrade

After upgrading yaourt to  yaourt-0.9.4-2  I got the following warning which is not entirely clear:

warning: /etc/yaourtrc installed as /etc/yaourtrc.pacnew
==> Check /etc/yaourtrc, syntax of configuration file changes.

Should I update /etc/yaourtrc with the contents of /etc/yaourtrc.pacnew?

Offline

#2 2010-06-02 00:31:17

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

Re: yaourt upgrade

There is a page on the wiki: http://wiki.archlinux.org/index.php/Pac … save_Files

Essentially, you need to compare the two and work out what settings you want to ensure are kept...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2010-06-07 05:42:35

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: yaourt upgrade

Well, the question is this: Shall i import the new yaourt settings from pacnew to the real file?

We already know what a pacnew file is. We don't know whether the new line in yaourtrc should be added from the pacnew file.

It looks like this:

ABS_REPO=(testing core extra community-testing community gnome-unstable kde-unstable)

I don't really know what this new lines does, and i don't think i like the idea of having access to any extra repos other than default Arch repos (if that's even what this line does).


joe@trusktr.io - joe at true skater dot io.

Offline

#4 2010-06-07 06:08:38

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: yaourt upgrade

From "man yaourtrc":

OPTIONS
       ABS_REPO=(testing core extra community-testing community gnome-unstable
       kde-unstable)
           List of repositories where PKGBUILD can be retreived by rsync, see
           /etc/abs.conf.

And this is the line in abs.conf in my system:

#
# REPOS to be parsed by abs (in this order)
#   (prefix a repo with a ! to disable it)
#
# Note: If a repo is removed, it is still fetched!
# Repos must be preceded with a ! to prevent fetching
#
REPOS=(core extra community !testing !community-testing)

Just copy the list from your abs.conf settings into ABS-REPO. Or, if not present yet, best exclude all "testing" and "unstable" from the list for now by prepending an exclamation mark. It all depends on how your system had been set up as yet.


To know or not to know ...
... the questions remain forever.

Offline

#5 2010-06-07 07:15:46

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

Re: yaourt upgrade

trusktr wrote:

We don't know whether the new line in yaourtrc should be added from the pacnew file.

trusktr wrote:

I don't really know what this new lines does

trusktr - if you don't know things, you do as bernarcher just demonstrated i.e. use the documentation to find out about things. You come here to ask questions only if there is a gap between the documentation and your understanding of it.

Offline

Board footer

Powered by FluxBB