You are not logged in.

#1 2016-09-18 15:25:18

vollekannehoschi
Member
Registered: 2015-03-08
Posts: 29

[SOLVED] yaourt doesn't save build packages in cache directory

Hi,

I use yaourt to do full system upgrades and installing packages from AUR. I configured it with "EXPORT=2" which should save packages into pacmans cache directory under /var/cache/pacman/pkg, but it doesn't. It worked before, but stopped working around January 2016, and I have no idea why. Packages for "google-chrome" are in the cache till version 48, created at 01/31/2016.

Here are my config files:

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

# General
#AUTOSAVEBACKUPFILE=0
#DEVELSRCDIR=""
#DEVEL=0
#EDITOR="$EDITOR"
#FORCEENGLISH=0
#FORCE=0
#TMPDIR="/tmp"
#NO_TESTDB=0

# SUDO
#SUDONOVERIF=0      # Avoid multiple sudo checks when timestamp_timeout=0
#SUDOREDIRECT=1     # Define to 0 in case you use a fingerprint device

# ABS
#USE_GIT=0
# If the package "abs" is installed, those var are parsed from abs.conf
#REPOS=()           # REPOS available at $SYNCSERVER
#SYNCSERVER=""

# AUR
AURURL="https://aur4.archlinux.org"
#AURCOMMENT=5
#AURDEVELONLY=0
#AURSEARCH=1
#AURUPGRADE=0
#AURVOTE=1

# Build
EXPORT=2           # 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
#PU_NOCONFIRM=0     # Add --noconfirm to $PACMAN -U
#EDITFILES=1
#NOENTER=1

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

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

# pacdiffviewer
#P_LOCATE=0         # Use locate instead of find
#P_SEARCHDIR=(/etc/ /boot/)
#P_SAVEDIR='/var/lib/yaourt/backupfiles'

pacman.conf

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

################################################################################
# to install old versions of packages use, Arch Rollback Machine
# https://wiki.archlinux.org/index.php/Arch_Rollback_Machine
################################################################################

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg   = vim gvim vim-runtime neovim-git python-neovim python2-neovim-git neovim-remote arangodb php-phalcon-framework phoronix-test-suite nodejs npm

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[atlassian]
SigLevel = PackageOptional DatabaseRequired TrustAll
Server = http://downloads.hipchat.com/linux/arch/$arch

# steam stuff
[alucryd-multilib]
Server = http://pkgbuild.com/~alucryd/$repo/x86_64

Last edited by vollekannehoschi (2016-10-10 07:36:57)

Offline

#2 2016-09-28 17:53:47

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [SOLVED] yaourt doesn't save build packages in cache directory

try putting them into a different directory just to see if the operation is actually working?

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

∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#3 2016-09-28 17:59:16

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

Re: [SOLVED] yaourt doesn't save build packages in cache directory

Moving to AUR issues


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

Offline

#4 2016-10-10 07:36:30

vollekannehoschi
Member
Registered: 2015-03-08
Posts: 29

Re: [SOLVED] yaourt doesn't save build packages in cache directory

Strange enough ... know it works again without any changes on my side

Offline

Board footer

Powered by FluxBB