You are not logged in.

#1 2011-11-19 18:36:33

milomak
Member
Registered: 2009-11-04
Posts: 61

[Solved] Some Yaourt questions

I haven't used my ARch install in a while. Getting back to it today I seem to have picked up some yaourt issues (or so it seems).

The first one is that I tried to set the SUDONOVERIF=1 in /etc/yaourtrc (as specified here - https://wiki.archlinux.org/index.php/Ya … word_twice )

The return is

$ yaourt -Ss bug-buddy
SUDONOVERIF=1 no recognized in config file

The second one relates to searching for packages in aur. For instance sabnzb

$ yaourt -Ss sabnzb
SUDONOVERIF=1 no recognized in config file
$

The same happens even without the SUDONOVERIF.

yet when i look at the AUR web interface there are packages there.

The third involves running yaourt -Syu --aur. Packages which seemingly have updates show with

kdebase-kappfinder: 4.4.5-1 => {"type":"error

Last edited by milomak (2011-11-19 19:18:43)

Offline

#2 2011-11-19 19:02:45

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

Re: [Solved] Some Yaourt questions

Please post your /etc/yaourtrc, I cannot reproduce this error in either yaourt or yaourt-git. Which version of yaourt are you using?

Offline

#3 2011-11-19 19:12:43

milomak
Member
Registered: 2009-11-04
Posts: 61

Re: [Solved] Some Yaourt questions

my /etc/yaourtrc

$ cat /etc/yaourtrc 
#    ~/yaourtrc  - Configuration for yaourt
# 
#   See yaourt(8) for more information
#   
#
#
#   AlwaysUpgradeDevel no
#   AlwaysUpgradeAur no
#   AlwaysForce no
#   AurVoteSupport yes
#   AutoSaveBackupFile no
#   ColorMod Normal
#   ColorMod LightBackGround
#   ColorMod NoColor
#   ColorMod TextOnly
#   DontNeedToPressEnter yes
#   EditPkgbuild yes
#   ExportToLocalRepository /where/you/want
#   ForceEnglish no
#   LastCommentsNumber 5
#   LastCommentsOrder asc
#   NoConfirm no
#   PacmanBin /usr/bin/pacman-color
#   PkgbuildEditor gvim
#   SearchInAurUnsupported yes
#   ShowAurComment yes
#   TmpDirectory /where/you/want
#   UpdateTerminalTitle yes
#
#   Define here your prefered Sourceforge mirror: (none surfnet ufpr heanet easynews umn switch belnet kent mesh optusnet jaist puzzle superb-east nchc superb-west)
#  SourceforgeMirror heanet
#

SUDONOVERIF=1

The version of yaourt I am running is difficult to ascertain since

$ pacman -Ss yaourt
$ yaourt -Ss yaourt
SUDONOVERIF=1 no recognized in config file
$
# pacman -Ss yaourt
# pacman -S yaourt
error: target not found: yaourt

However this lead me to think to try yaourt- S yaourt. After this yaourt -Ss <package> is working.

and the yaourtrc file now looks like this

#    yaourtrc  - Configuration for yaourt
# 
#   See yaourtrc(5) for more information
#   
#

# ABS_REPO list repositories available on archlinux rsync server
ABS_REPO=(testing core extra community-testing community gnome-unstable kde-unstable)

# General
#AUTOSAVEBACKUPFILE=0
#DEVELBUILDDIR="/var/abs/local/yaourtbuild"
#DEVEL=0
#EDITOR="$EDITOR"
#FORCEENGLISH=0
#FORCE=0
#TMPDIR="/tmp"
SUDONOVERIF=1      # Avoid multiple sudo checks when timestamp_timeout=0

# AUR 
#AURCOMMENT=5
#AURDEVELONLY=0
#AURSEARCH=1
#AURUPGRADE=0
#AURVOTE=1

# Build
#EXPORT=0           # Export to 1: EXPORTDIR or PKGDEST
                    # 2: pacman cache (as root)
#EXPORTSRC=0        # Need EXPORT>0 to be used
#EXPORTDIR=""       # If empty, use makepkg's connfiguration (see makepkg.conf)

# Prompt
#NOCONFIRM=0
#UP_NOCONFIRM=0     # No prompt while build upgrades (including -Sbu)
#BUILD_NOCONFIRM=0  # Only prompt for editing files
#EDITFILES=1
#NOENTER=1

# Output
#USECOLOR=1
#DETAILUPGRADE=1
#SHOWORPHANS=1
#TERMINALTITLE=1

# Command
#PACMAN="pacman"
#DIFFEDITCMD="vimdiff"

Last edited by milomak (2011-11-19 19:17:59)

Offline

#4 2011-11-19 19:23:47

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

Re: [Solved] Some Yaourt questions

The current /etc/yaourtrc sure does look different, so you were probably using an outdated config.
Remember that pacman updates only packages found in the repos, for packages that are in the AUR you have to use an AUR helper or update them one by one manually.


Edit: 'yaourt -V' or' pacman -Q yaourt' will give you the version :-)

Last edited by karol (2011-11-19 19:25:33)

Offline

#5 2011-11-19 19:30:42

milomak
Member
Registered: 2009-11-04
Posts: 61

Re: [Solved] Some Yaourt questions

thanks for the pacman tip.

not having run the arch install for a while i forgot that yaourt was not updated by pacman.

Offline

Board footer

Powered by FluxBB