You are not logged in.
If you are referring to rebuilding cower, I tried that, it won't build with yaourt due to a PGP signature not being verified.
This is not a pacaur issue and you'll also find the answer in the wiki.
Offline
I have been using pacaur without problems for a long time. This morning, while updating my system (specifically gtk2) I had severe problems and I had to reboot while the update was not finished.
I recovered from the problems by reinstalling gtk2. Regular system update is working fine. However, since then pacaur reports that all packages that I installed from AUR are not present in AUR. I reinstalled cower and pacaur, at no avail. Here's the debug output:
http://pastebin.com/QPgffU4e
What have I messed up?
Thanx in advance,
Theo
Offline
Check your "pacman -Qm" output and see if everything looks correct. Only foreign packages should be listed - your pacman database might be corrupted.
Also, check your /tmp/pacaurtmp-USER folder (remove it entirely). It's possible pacaur can't write its temporary files due to permission access.
Offline
Thanks for your assistance. pacman -Qm looks ok; it lists all foreign packages with a version number.
I removed the directory /tmp/pacaurtmp-USER and ran pacaur again. Same end result. The tmp directory is back, with 2 files: ignoretmp (empty) and rpc.json, listing the 3 packages for which it is reported "no results found for ..."
Offline
I'm not quite sure what's going on here... You have a couple of packages that aren't in AUR, but the list shouldn't include everything. The misbehaving code is located at line 105:
aurforeignpkgs=($(LC_COLLATE=C comm -23 <(tr ' ' '\n' <<< ${foreignpkgs[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${allaurpkgs[@]} | LC_COLLATE=C sort -u)))
Have you installed a specific AUR packages recently?
Non existing packages:
:: imotec-cmake-utils-git is not present in AUR -- skipping
:: orocos-log4cpp-fix is not present in AUR -- skipping
:: protobuf-opt is not present in AUR -- skipping
:: python-hieroglyph-themes is not present in AUR -- skipping
:: python-sphinx-themes is not present in AUR -- skipping
:: python-sphinxcontrib-imagesvg is not present in AUR -- skipping
:: python2-sphinx-themes is not present in AUR -- skipping
:: python2-sphinxcontrib-imagesvg is not present in AUR -- skipping
:: python2-zot4rst is not present in AUR -- skipping
:: qwt-opt is not present in AUR -- skipping
:: sk1libs is not present in AUR -- skipping
:: zeromq-opt is not present in AUR -- skipping
Offline
The non-existing packages list is what I expect; these were listed before I had problems.
I cannot remember the last AUR package I installed; I am sure that I did several times pacaur -Syu after that without problems.
I think the last regular AUR package update was dropbox.
Can it be related to LC_COLLATE? As I did have problems with gtk2.
Can I somehow try to collect more useful debug info?
Offline
I don't think gtk2 is related in any way to locale, but if you got a locale issue then 'comm' won't work as expected.
This looks like a parameter not set correctly on your machine, and I'm afraid you're on your own here. Feel free to ask any additional question should you need it.
Offline
Ah, found the problem: my grep was messed up. It appeared that it was updated during the session in which I had a crash. Everything working as usual now, what a joy .
Thanks for thinking along.
Theo
Offline
When I try to install bbswitch-ck package, pacaur can not handle larger than 10 options.
In the example/debug, I want to choose the option 12, but when I type 1 pacaur expected not type 2 and continues with the program.
Arch Linux: The power in your hands!
Offline
dapolinario> Thanks for the report. Check out the pacaur-git package, this issue should now be solved in master.
Offline
I have a fix for error:
'error package 'foobar2000' not found.
pacman -Sp foobar2000 gives:
LANG set to pl_PL.UTF-8:
błąd: pakiet foobar2000 nie został znaleziony
LANG set to C:
error: target not found: foobar2000
The problem is in that, that the word 'foobar2000' is in diffrent position.
And for 4.2.23: patch
Last edited by grimi (2015-03-24 05:48:41)
Offline
grimi> Thanks! The patch is now in master. Only the Polish language was affected. Polish users can now use pacaur-git to get full translation. Next stable release will be out in couple of days.
Offline
So pacaur has become quite popular in the last few months. People like discussing which AUR helper they use and why they like it, but I rarely see someone that truly understands what pacaur does better than most of the other popular helpers. I updated the first post in an attempt to give a better understanding of what makes it different from other "complete" helpers.
Offline
"TL;DR: Because it sucks less."
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
I recently did a clean install of Arch and as usual installed pacaur as an AUR helper. For two days it worked like normal, with no issues, but today I checked for updates and noticed it could find none of the AUR packages I have installed. Using "pacaur -Ss pkgname" to find a package on the AUR works fine, but "pacaur -Syu" refuses to upgrade any AUR package (claiming it is not present), and "pacaur -S pkgname" has the same error. Here is the output of "bash -x pacaur -Syu" for analysis:
+ version=4.3.1
+ LC_COLLATE=C
+ TEXTDOMAIN=pacaur
+ TEXTDOMAINDIR=/usr/share/locale
+ [[ -n '' ]]
+ configdir=/etc/xdg/pacaur
+ userconfigdir=/home/username/.config/pacaur
+ userpacmandir=/home/username/.config/pacman
+ [[ -r '' ]]
+ source /etc/makepkg.conf
++ DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o')
++ VCSCLIENTS=('bzr::bzr' 'git::git' 'hg::mercurial' 'svn::subversion')
++ CARCH=x86_64
++ CHOST=x86_64-unknown-linux-gnu
++ CPPFLAGS=-D_FORTIFY_SOURCE=2
++ CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'
++ CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'
++ LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro
++ DEBUG_CFLAGS='-g -fvar-tracking-assignments'
++ DEBUG_CXXFLAGS='-g -fvar-tracking-assignments'
++ BUILDENV=(!distcc color !ccache check !sign)
++ OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
++ INTEGRITY_CHECK=(md5)
++ STRIP_BINARIES=--strip-all
++ STRIP_SHARED=--strip-unneeded
++ STRIP_STATIC=--strip-debug
++ MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
++ DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
++ PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
++ COMPRESSGZ=(gzip -c -f -n)
++ COMPRESSBZ2=(bzip2 -c -f)
++ COMPRESSXZ=(xz -c -z -)
++ COMPRESSLRZ=(lrzip -q)
++ COMPRESSLZO=(lzop -q)
++ COMPRESSZ=(compress -c -f)
++ PKGEXT=.pkg.tar.xz
++ SRCEXT=.src.tar.gz
+ [[ -r /home/username/.config/pacman/makepkg.conf ]]
+ [[ -r /home/username/.makepkg.conf ]]
+ tmpdir=/tmp/pacaurtmp-username
+ builddir=/tmp/pacaurtmp-username
+ editor=vi
+ editpkgbuild=true
+ fallback=true
+ clean=true
+ cleandevel=true
+ silent=false
+ sortby=popularity
+ sudoloop=false
+ pacmanbin=pacman
+ aururl=aur.archlinux.org
+ aurrpc='/rpc.php?type=multiinfo&v=4'
+ source /etc/xdg/pacaur/config
+ [[ -r /home/username/.config/pacaur/config ]]
+ [[ -d /tmp/pacaurtmp-username ]]
+ [[ ! -w /tmp/pacaurtmp-username ]]
+ [[ ! -d /tmp/pacaurtmp-username ]]
+ [[ ! -d /tmp/pacaurtmp-username ]]
+ trap Cancel INT
+ args=($@)
+ for i in '"${args[@]}"'
+ [[ -Syu =~ ^-[a-zA-Z0-9] ]]
+ opts+=($i)
+ count=0
+ [[ -n -Syu ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ pacmanarg+=("-$OPT")
+ case "$OPT" in
+ pacS=1
+ operation=sync
+ coweropts+=("-f")
+ [[ -Syu =~ w ]]
+ installpkg=true
+ [[ -Syu =~ g ]]
+ [[ -Syu =~ l ]]
+ [[ -Syu =~ p ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ pacmanarg+=("-$OPT")
+ case "$OPT" in
+ [[ -n 1 ]]
+ operation=sync
+ refresh=true
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n 1 ]]
+ continue
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ pacmanarg+=("-$OPT")
+ case "$OPT" in
+ [[ -n '' ]]
+ [[ -n 1 ]]
+ operation=sync
+ upgrade=true
+ coweropts+=("-f")
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n 1 ]]
+ continue
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ [[ -z '' ]]
+ break
++ grep '^Color' /etc/pacman.conf
+ [[ -n Color ]]
+ [[ '' != \n\e\v\e\r ]]
+ [[ '' = \a\l\w\a\y\s ]]
+ coweropts+=("--color=auto")
+ reset='\e[0m'
+ colorR='\e[1;31m'
+ colorG='\e[1;32m'
+ colorY='\e[1;33m'
+ colorB='\e[1;34m'
+ colorM='\e[1;35m'
+ colorW='\e[1;39m'
+ pacmanarg=(${pacmanarg[@]/--/})
+ pacmanarg=(${pacmanarg[@]/-r/})
+ pacmanarg=(${pacmanarg[@]/-a/})
+ [[ sync = sync ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ [[ 1000 -eq 0 ]]
+ [[ -n 1 ]]
+ pacmanarg=(${pacmanarg[@]/-e/})
+ [[ -n 1 ]]
+ [[ -n '' ]]
+ [[ -n 1 ]]
+ [[ -n '' ]]
+ [[ ! -n vi ]]
+ [[ ! -w /tmp/pacaurtmp-username ]]
+ [[ -z '' ]]
+ [[ sync = download ]]
+ [[ sync = sync ]]
+ [[ ! -n true ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ case $operation in
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n true ]]
+ [[ ! -n '' ]]
+ ClassifyPkgs
+ [[ true = true ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ unset noaurpkgs
+ [[ -n '' ]]
+ repopkgs=($(LC_COLLATE=C comm -23 <(tr ' ' '\n' <<< ${noaurpkgs[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${aurpkgs[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -23 /dev/fd/63 /dev/fd/62
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+ unset pkgs
+ [[ ! -n '' ]]
+ sudo pacman -S -y -u
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
infinality-bundle is up to date
infinality-bundle-multilib is up to date
infinality-bundle-fonts is up to date
pipelight is up to date
:: Starting full system upgrade...
there is nothing to do
+ [[ ! -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ [[ true = true ]]
+ Core
+ GetIgnoredPkgs
+ ignoredpkgs+=($(grep '^IgnorePkg' '/etc/pacman.conf' | cut -d '=' -f 2- | tr -d "'\""))
++ grep '^IgnorePkg' /etc/pacman.conf
++ cut -d = -f 2-
++ tr -d ''\''"'
+ [[ -e /home/username/.config/cower/config ]]
+ ignoredpkgs=(${ignoredpkgs[@]//,/ })
+ [[ -n true ]]
+ UpgradeAur
+ Note i '\e[1;39mStarting AUR upgrade...\e[0m'
+ case "$1" in
+ echo -e '\e[1;34m::\e[0m \e[1;39mStarting AUR upgrade...\e[0m'
:: Starting AUR upgrade...
+ aurpkgs+=($(cower -u ${coweropts[@]} ${pkgs[@]} --color=never 2>&1 | awk '{print $2}'))
++ cower -u -f -f --color=auto --color=never
++ awk '{print $2}'
+ foreignpkgs=($($pacmanbin -Qmq))
++ pacman -Qmq
+ allaurpkgs=($(GetJson "var" "$(DownloadJson ${foreignpkgs[@]})" "Name"))
+++ DownloadJson cower gtk-theme-arc ncurses5-compat-libs pacaur plymouth proxydriver skypetab-ng-git
+++ urlencodedpkgs=($(sed 's/+/%2b/g;s/@/%40/g' <<< $@))
++++ sed 's/+/%2b/g;s/@/%40/g'
++++ printf '&arg[]=%s' cower gtk-theme-arc ncurses5-compat-libs pacaur plymouth proxydriver skypetab-ng-git
+++ urlargs='&arg[]=cower&arg[]=gtk-theme-arc&arg[]=ncurses5-compat-libs&arg[]=pacaur&arg[]=plymouth&arg[]=proxydriver&arg[]=skypetab-ng-git'
+++ [[ 127 -lt 8125 ]]
+++ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=4&arg[]=cower&arg[]=gtk-theme-arc&arg[]=ncurses5-compat-libs&arg[]=pacaur&arg[]=plymouth&arg[]=proxydriver&arg[]=skypetab-ng-git'
++ GetJson var '{"version":4,"type":"error","resultcount":0,"results":[],"error":"Invalid query arguments"}' Name
++ json_verify -q
++ case "$1" in
++ json_reformat
++ tr -d '", '
++ grep -Po 'Name:.*'
++ sed -r s/Name:/Name#/g
++ awk -F '#' '{print $2}'
+ aurforeignpkgs=($(LC_COLLATE=C comm -23 <(tr ' ' '\n' <<< ${foreignpkgs[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${allaurpkgs[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -23 /dev/fd/63 /dev/fd/62
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+ for i in '"${aurforeignpkgs[@]}"'
+ Note w '\e[1;39mcower\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
+ case "$1" in
+ echo -e '\e[1;33m::\e[0m \e[1;39mcower\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
:: cower is not present in AUR -- skipping
+ for i in '"${aurforeignpkgs[@]}"'
+ Note w '\e[1;39mgtk-theme-arc\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
+ case "$1" in
+ echo -e '\e[1;33m::\e[0m \e[1;39mgtk-theme-arc\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
:: gtk-theme-arc is not present in AUR -- skipping
+ for i in '"${aurforeignpkgs[@]}"'
+ Note w '\e[1;39mncurses5-compat-libs\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
+ case "$1" in
+ echo -e '\e[1;33m::\e[0m \e[1;39mncurses5-compat-libs\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
:: ncurses5-compat-libs is not present in AUR -- skipping
+ for i in '"${aurforeignpkgs[@]}"'
+ Note w '\e[1;39mpacaur\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
+ case "$1" in
+ echo -e '\e[1;33m::\e[0m \e[1;39mpacaur\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
:: pacaur is not present in AUR -- skipping
+ for i in '"${aurforeignpkgs[@]}"'
+ Note w '\e[1;39mplymouth\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
+ case "$1" in
+ echo -e '\e[1;33m::\e[0m \e[1;39mplymouth\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
:: plymouth is not present in AUR -- skipping
+ for i in '"${aurforeignpkgs[@]}"'
+ Note w '\e[1;39mproxydriver\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
+ case "$1" in
+ echo -e '\e[1;33m::\e[0m \e[1;39mproxydriver\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
:: proxydriver is not present in AUR -- skipping
+ for i in '"${aurforeignpkgs[@]}"'
+ Note w '\e[1;39mskypetab-ng-git\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
+ case "$1" in
+ echo -e '\e[1;33m::\e[0m \e[1;39mskypetab-ng-git\e[0m is \e[1;33mnot present\e[0m in AUR -- skipping'
:: skypetab-ng-git is not present in AUR -- skipping
+ [[ -n '' ]]
+ aurpkgs=($(tr ' ' '\n' <<< ${aurpkgs[@]} | sort -u))
++ tr ' ' '\n'
++ sort -u
+ NothingToDo
+ [[ -z '' ]]
+ printf '%s\n' ' there is nothing to do'
there is nothing to do
+ exit
Offline
@RibShark
Offline
It was due to a bug in the newly released AUR 4.1.0. This is now fixed, thanks to Lukas Fleischer!
Offline
Pacaur-git now supports git clone from AUR 4 and includes PKGBUILD/installs script diff viewing. Feedback welcome!
Ensure to read the man page and check the config options, as there have been quite a few changes.
Offline
Why does pacaur depend on sudo and pacman? I know how it works, but isn't it assumed that on Arch if one uses AUR one already installed base and base-devel?
Offline
... isn't it assumed that on Arch if one uses AUR one already installed base and base-devel?
You are correct. I'm not sure how nobody noticed this until now, although I'm not sure if sudo has always been in base-devel. I'll remove these at the next update, and also add git as a new dependency. Thx!
Offline
You're correct about pacman as it's in base, but packages in base-devel (such as sudo) are only assumed to be installed when building a package, so sudo should stay as a dependency.
For example many packages have git as a makedepend but not as a depend, they don't need it installed on a system to run.
I have several machines with AUR packages installed that don't have the base-devel group as all my building is done on one machine that also acts as a custom repo.
It can also be good for security reasons to not have things like make/gcc installed on a system.
Last edited by Slithery (2015-11-06 21:13:00)
Offline
slithery,
You have a point.
spyhawk,
Sudo has always been in base-devel
Offline
spyhawk,
Sudo has always been in base-devel
Might have been, yeah. I guess I explicitly added sudo as dep when I dropped support of su.
After having read the above, I'll just remove pacman from the depends list.
Offline
Hello. I'm not sure if I'm doing something wrong or if there is a problem with the last update. If I try to install a package with "pacaur -y <package>", it will fail with the following message:
:: Installing <package> cached package...
loading packages...
error: '36': could not find or read package
It doesn't matter if the package is present on the cache or it was just built.
But if I download the PKGBUILD with "pacaur -d <package>" and then use "makepkg -i", it will install the package with no problems.
My ~/.makepkg.conf variables are:
PKGDEST=/home/sergio/Builds/Packages
SRCDEST=/home/sergio/Builds/Source-files
SRCPKGDEST=/home/sergio/Builds/Package-sources
And AURDEST is in /home/sergio/Builds/PKGBUILDS
Offline
Serge2702> I cannot reproduce. There have been changes in the way packages are installed. What is your pacman version? Do you use any wrapper instead of pacman (powerpill, ...)?
Last edited by Spyhawk (2015-11-09 08:52:09)
Offline