Open neitsab opened 10 years ago
Hi, thanks for the report. Someone else reported a somewhat similar issue in the AUR comments a few days ago, but I can't reproduce.
From what I can see in the debug output, pacman finds the haskell-gitit package but can't resolve its dependencies tree. In turns, the error code is passed to pacaur that tries to find that "package" in the AUR.
The responsible part of the code is in ClassifyPkgs(), which isn't robust enough to take care of "unexpected" pacman errors.
However, I'm not sure why this error happens in the first place. The haskell-gitit package doesn't seem to exist at all, and pacaur correctly stops on my machine. If this constantly happens on your machine, could you tell me more about your haskell packages (haskell binary repository enabled?, ...).
Relevant commit here: 5987e2a4900af1d32c019d69a119b3fb1b6eef5c.
It's kind of easy to make the current code robuster, but it breaks translation support. I'll need to figure out another way of handling this issue.
Thanks for your quick answer, as always.
In an effort to remain concise I forgot to mention the context: haskell-gitit
is indeed not part of the official repos but provided by the ArchHaskell group, which maintains two haskell repos (-core and -happstack). This is why you can't find it, you would need to add them to your /etc/pacman.conf
file in order to check them.
I enabled those repos in order to get easier access --well, to get any access actually-- to the two following packages found in the AUR, but uninstallable as is: haskell-pandoc
and gitit
, which relies upon the former.
Their PKGBUILDs are among the most "lacking" I've stumbled upon, with many missing deps and a need to be entirely rebuilt each time one is updated... So the recommended solution is to get them from the custom repo.
Anyway, I suspect this has mostly to do with the packages' metada in the ArchHaskell-provided repos. I sent an email yesterday to their mailing list but it seems I have to subscribe first for my message to appear there (ugh).
I'd rather not have pacaur
localisation removed just for this marginal breakage, which doesn't disturb at all its use with "correct" packages. I just wanted to report this bug and give some debug information in case of, but there are more importants issues to be dealt with I believe :-)
Thanks
Thank you, I can indeed reproduce the problem now.
Yes, the main issue seems due to inconsistencies in the additional Haskell repositories themselves. I had seen a somewhat similar issue in the past (to make it short, I was playing badly with local built packages) and I deemed it not worth fixing, but this is the first time I see an entire repository causing an error. This is an exceptional situation, but the fact that pacaur code isn't robust enough to handle it is a flaw and should be fixed.
There are many parameters to take into account in order to fix the current ClassifyPkgs()
code and it isn't trivial, but I'll have a look.
Interesting. I appreciate your consideration for this, robutness is of course an always sought-after aspect of a software. I hope you'll manage to wrap your head around this particuliar issue.
I regularly encounter this issue, except with "dependencies)", not "error)". I've never looked into the cause though. I'm not using any custom repositories.
@djmattyg007 > Which are the repositories enabled? Or with which packages does that issue occur?
@rmarquis I have core, extra and community enabled. I'm running a 32-bit system, so have no need for multilib.
On Sun, Dec 28, 2014 at 09:55:54AM -0800, Remy Marquis wrote:
@djmattyg007 > Which are the repositories enabled?
— Reply to this email directly or view it on GitHub.*
Please provide a debug output if the issue occurs again (bash -x pacaur your_command). I cannot do anything without more information.
Result of "bash -x pacaur -Syu" : https://paste.ee/p/yfht3
I did not actually skip an update. The custom repositories I have enabled are:
@Nordic89: First, ensure to rebuild expac. The new version is still in [testing]. Alternatively, install expac-git from AUR, or wait that the new expac arrives in [extra].
Yes, pacman 4.2 and the new libalpm has arrived.
Please confirm if this solves the issue for you.
I've just got the same message from pacaur (:: no results found for error).
I was trying to upgrade my system with pacaur -Syu
after holiday break but after normal pacman update, after :: Starting AUR upgrade... I got some errors related to being unable to run pacaur due to pacman local files consistency... I missed exact error TBH. I fixed (?) it by regenerating pacman db and keyring.
But even after that I am unable to get rid of that last :: no results found for error...
Here is full output: https://paste.ee/p/8oWel
Pacman 4.2 has landed in [core], and thus cower must be recompiled, and you need expac 4-3 (which is now in [extra]).
Please don't report issue until you're sure you've done your pacman/cower/expac update homework.
Yeah, I saw that a second after submitting above comment, sorry.
I am trying to cleanup and upgrade everything properely now, still have some problems with signatures tho...
Same issue, recompiling cower worked for me. Thanks for the help and for pacaur :)
Since the ClassifyPkgs() function use the "pacman -Sp" function more or less as a hack to:
I'll need a replacement function that handles all of these, plus handles the errors correctly.
Two possibilities:
This bug is very tricky to solve. Reimplementing it in another way with all the supported features clearly gives me headache.
As a workaround, I've implemented an early check in a1c53bc4a210382fc021e46db0e53e5e1e4d8eb8 that ensures the package name doesn't contain ")". It should catch the binary repositories errors. This won't catch libalpm upgrade issue, but that's a different situation.
Closing, please reopen if this happens again (and attach full details).
Polish translation broke because the error string isn't similar anymore to the English string. See #302.
The ClassifyPkgs()
needs to be made more robust in some way. Polish translation will be disabled in the meantime. Alternatively, drop translation support entirely.
I don't know if this is relevant with reference to broken polish translation, but when installing returns error "no results...", updating with command pacaur -Syu
works. Today for example i've tried install xfce-theme-greyibird
with no luck, but upgraded it successfully.
@xinulsw > When you get the chance next time, I'd appreciate to see a debug output. Both install (-S) and update (-Syu) commands call the same ClassifyPkgs()
function.
Sorry for delay, here is debug for trying to install greybird theme:
'''
pacaur -S xfce-theme-greybird-git --debug
debug: pacman v4.2.0 - libalpm v9.0.0
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: Nie ma takiego pliku ani katalogu
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repoistory
debug: adding new server URL to database 'core': http://archlinux.polymorf.fr/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.de.leaseweb.net/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: Nie ma takiego pliku ani katalogu
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repoistory
debug: adding new server URL to database 'extra': http://archlinux.polymorf.fr/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.de.leaseweb.net/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: Nie ma takiego pliku ani katalogu
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repoistory
debug: adding new server URL to database 'community': http://archlinux.polymorf.fr/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.de.leaseweb.net/archlinux/community/os/x86_64
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: loading package cache for repository 'core'
debug: opening archive /var/lib/pacman/sync/core.db
debug: added 206 packages to package cache for db 'core'
debug: loading package cache for repository 'extra'
debug: opening archive /var/lib/pacman/sync/extra.db
debug: added 3098 packages to package cache for db 'extra'
debug: loading package cache for repository 'community'
debug: opening archive /var/lib/pacman/sync/community.db
debug: added 3742 packages to package cache for db 'community'
debug: loading group cache for repository 'core'
debug: loading group cache for repository 'extra'
debug: loading group cache for repository 'community'
błąd: pakiet xfce-theme-greybird-git nie został znaleziony
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: freeing group cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: freeing group cache for repository 'extra'
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
debug: freeing group cache for repository 'community'
:: Package(s) znaleziony not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for znaleziony
'''
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: Nie ma takiego pliku ani katalogu
in english: No such file or directory
.
błąd: pakiet xfce-theme-greybird-git nie został znaleziony
in english: error: package ... was not found
.
Unfortunately i haven't any package right now to upgrade... but i'll post debug as soon as I can.
Thx. See https://wiki.archlinux.org/index.php/Pacaur#Bug_reports for debug output. The pacman --debug
flag is absolutely worthless when debugging pacaur.
Sorry for bloating, here correct debug I hope:
$ bash -x pacaur -S xfce-theme-greybird-git
+ version=4.2.18
+ LC_COLLATE=C
+ TEXTDOMAIN=pacaur
+ TEXTDOMAINDIR=/usr/share/locale
+ 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/arch/.makepkg.conf ]]
+ tmpdir=/tmp/pacaurtmp-arch
+ builddir=/tmp/pacaurtmp-arch
+ editor=nano
+ editpkgbuild=true
+ editinstall=true
+ fallback=true
+ clean=true
+ cleandevel=true
+ sortbyvotes=true
+ sudoloop=false
+ pacmanbin=pacman
+ [[ -n '' ]]
+ configdir=/etc/xdg/pacaur
+ userconfigdir=/home/arch/.config/pacaur
+ source /etc/xdg/pacaur/config
+ [[ -r /home/arch/.config/pacaur/config ]]
+ [[ -d /tmp/pacaurtmp-arch ]]
+ [[ ! -w /tmp/pacaurtmp-arch ]]
+ [[ ! -d /tmp/pacaurtmp-arch ]]
+ [[ ! -d /tmp/pacaurtmp-arch ]]
+ trap ctrlc INT
+ args=("$@")
+ for i in '"${args[@]}"'
+ [[ -S =~ ^-[a-zA-Z0-9] ]]
+ opts+=("$i")
+ for i in '"${args[@]}"'
+ [[ xfce-theme-greybird-git =~ ^-[a-zA-Z0-9] ]]
+ count=0
+ [[ -n -S ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ pacmanarg+=("-$OPT")
+ case "$OPT" in
+ pacS=1
+ operation=sync
+ coweropts+=("-f")
+ [[ -S =~ w ]]
+ installpkg=true
+ [[ -S =~ g ]]
+ [[ -S =~ l ]]
+ [[ -S =~ p ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ [[ -z xfce-theme-greybird-git ]]
+ pkgs+=("${!OPTIND}")
+ shift 2
+ OPTIND=1
+ [[ -n '' ]]
++ grep '^Color' /etc/pacman.conf
+ [[ -n '' ]]
++ grep '^Color' /etc/pacman.conf
+ [[ -z '' ]]
+ [[ '' = \a\l\w\a\y\s ]]
+ [[ '' = \a\u\t\o ]]
+ [[ '' != \a\l\w\a\y\s ]]
+ [[ '' != \a\u\t\o ]]
+ makeopts+=("--nocolor")
+ 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 nano ]]
+ [[ ! -w /tmp/pacaurtmp-arch ]]
+ [[ -z xfce-theme-greybird-git ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ case $operation in
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -z xfce-theme-greybird-git ]]
+ ClassifyPkgs xfce-theme-greybird-git
+ [[ true = true ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ for i in '"${pkgs[@]}"'
+ [[ xfce-theme-greybird-git == aur/* ]]
+ aurpkgs+=($($pacmanbin -Sp "$i" 2>&1 >/dev/null | awk -F " " '{print $NF}'))
++ pacman -Sp xfce-theme-greybird-git
++ awk -F ' ' '{print $NF}'
++ grep -E '.*\)$'
+ [[ -n '' ]]
+ pkgs=(${pkgs[@]/aur\//})
+ repopkgs=($(LC_COLLATE=C comm -23 <(tr ' ' '\n' <<< ${pkgs[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${aurpkgs[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -23 /dev/fd/63 /dev/fd/62
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+ [[ -n xfce-theme-greybird-git ]]
+ sudo pacman -S xfce-theme-greybird-git
błąd: pakiet xfce-theme-greybird-git nie został znaleziony
+ [[ -n znaleziony ]]
+ [[ -n '' ]]
+ [[ true = true ]]
+ [[ ! -n '' ]]
+ note w 'Package(s) znaleziony not found in repositories, trying AUR...'
+ case "$1" in
+ echo -e ':: Package(s) znaleziony not found in repositories, trying AUR...'
:: Package(s) znaleziony not found in repositories, trying AUR...
+ Core znaleziony
+ 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/arch/.config/cower/config ]]
+ ignoredpkgs=(${ignoredpkgs[@]//,/ })
+ [[ -n '' ]]
+ IgnoreChecks
+ [[ -z '' ]]
+ return
+ DepsSolver
+ note i 'resolving dependencies...'
+ case "$1" in
+ echo -e ':: resolving dependencies...'
:: resolving dependencies...
+ (( i=0 ))
+ (( i<1 ))
++ awk -F '>|<|=' '{print $1}'
+ aurpkgs[$i]=znaleziony
+ (( i++ ))
+ (( i<1 ))
+ deps+=("${aurpkgs[@]}")
+ FindDepsAur znaleziony
+ [[ -n '' ]]
+ [[ -z '' ]]
+ depspkgsaur=("${aurpkgs[@]}")
+ downloadjson znaleziony
+ aururl='https://aur.archlinux.org/rpc.php?type=multiinfo&v=3'
+ urlencodedpkgs=($(sed 's/+/%2b/g' <<< $@ | sed 's/@/%40/g'))
++ sed s/+/%2b/g
++ sed s/@/%40/g
++ printf '&arg[]=%s' znaleziony
+ urlargs='&arg[]=znaleziony'
+ [[ 17 -lt 8125 ]]
+ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=3&arg[]=znaleziony' -o /tmp/pacaurtmp-arch/rpc.json
+ errdeps+=($(LC_COLLATE=C comm -3 <(tr ' ' '\n' <<< $(getjsonvar "Name") | sort -u) <(tr ' ' '\n' <<< ${depspkgsaur[@]} | sort -u)))
++ LC_COLLATE=C
++ comm -3 /dev/fd/63 /dev/fd/62
+++ sort -u
+++ tr ' ' '\n'
+++ tr ' ' '\n'
+++ sort -u
++++ getjsonvar Name
++++ json_reformat
++++ tr -d '", '
++++ sed -r s/Name:/Name#/g
++++ awk -F '#' '{print $2}'
++++ grep -Po 'Name:.*'
+ depspkgs=($(getjsonarray "Depends"))
++ getjsonarray Depends
++ json_reformat
++ tr -d ', '
++ tr -d '\"'
++ sed 's/] /]\n/g'
++ sed -e '/^"Depends"/,/]/!d'
++ tr '\n' ' '
++ awk -F : '{print $2}'
++ tr -d '[]"'
++ tr -d '\n'
+ depspkgs+=($(getjsonarray "MakeDepends"))
++ getjsonarray MakeDepends
++ json_reformat
++ tr -d ', '
++ tr -d '\"'
++ tr '\n' ' '
++ tr -d '[]"'
++ sed -e '/^"MakeDepends"/,/]/!d'
++ tr -d '\n'
++ sed 's/] /]\n/g'
++ awk -F : '{print $2}'
+ depspkgs=($($pacmanbin -T "${depspkgs[@]}" | sort -u))
++ pacman -T
++ sort -u
+ unset depspkgsaur
+ [[ -n '' ]]
+ unset depspkgs
+ [[ -n '' ]]
+ [[ -n '' ]]
+ downloadjson znaleziony
+ aururl='https://aur.archlinux.org/rpc.php?type=multiinfo&v=3'
+ urlencodedpkgs=($(sed 's/+/%2b/g' <<< $@ | sed 's/@/%40/g'))
++ sed s/@/%40/g
++ sed s/+/%2b/g
++ printf '&arg[]=%s' znaleziony
+ urlargs='&arg[]=znaleziony'
+ [[ 17 -lt 8125 ]]
+ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=3&arg[]=znaleziony' -o /tmp/pacaurtmp-arch/rpc.json
+ depsAname=($(getjsonvar "Name"))
++ getjsonvar Name
++ json_reformat
++ tr -d '", '
++ grep -Po 'Name:.*'
++ sed -r s/Name:/Name#/g
++ awk -F '#' '{print $2}'
+ depsAver=($(getjsonvar "Version"))
++ getjsonvar Version
++ json_reformat
++ tr -d '", '
++ grep -Po 'Version:.*'
++ sed -r s/Version:/Version#/g
++ awk -F '#' '{print $2}'
+ depsAood=($(getjsonvar "OutOfDate"))
++ getjsonvar OutOfDate
++ json_reformat
++ tr -d '", '
++ grep -Po 'OutOfDate:.*'
++ sed -r s/OutOfDate:/OutOfDate#/g
++ awk -F '#' '{print $2}'
+ (( i=0 ))
+ (( i<0 ))
+ depsAlastmodified=($(getjsonvar "LastModified"))
++ getjsonvar LastModified
++ json_reformat
++ tr -d '", '
++ grep -Po 'LastModified:.*'
++ awk -F '#' '{print $2}'
++ sed -r s/LastModified:/LastModified#/g
+ (( i=0 ))
+ (( i<0 ))
+ errdeps=($(tr ' ' '\n' <<< ${errdeps[@]} | sort -u))
++ tr ' ' '\n'
++ sort -u
+ for i in '"${errdeps[@]}"'
+ note f 'no results found for znaleziony'
+ case "$1" in
+ echo -e ':: no results found for znaleziony'
:: no results found for znaleziony
+ [[ -n znaleziony ]]
+ exit 1
I havent used pre and code tags because in preview log have been cut off. In next comment i'll post debug for upgrading package.
This is log of upgrading pacakage sqlitestudio. As i said before, upgrading works without error. Unfortunatelly i was not able to copy all log, terminator refused to scroll over 500 lines...
[I deleted the log because of its useless. ]
If it is not enough next time i'll post more, i changed size of scrolled history to 1000 lines ;-) By the way, what is the propper way to paste here such long logs?
The second log is useless here, I'm more interested in what happened before what you posted (beginning to main prompt - the compilation stuff isn't relevant). Please edit your post above.
I am unsure why long post get cut off. I usually use "```" before and after code/output.
So i thought about second log, as soon as i could i'll post the begininng of the upgrading. Thx for the tip, I've tried "```" markup as described in help, but I wasn't satisfied with result.
Ok, here is beginning of succesful upgrading log:
smaster@atsbox:~$ bash -x pacaur -Su
+ version=4.2.18
+ LC_COLLATE=C
+ TEXTDOMAIN=pacaur
+ TEXTDOMAINDIR=/usr/share/locale
+ 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/smaster/.makepkg.conf ]]
+ tmpdir=/tmp/pacaurtmp-smaster
+ builddir=/tmp/pacaurtmp-smaster
+ editor=vi
+ editpkgbuild=true
+ editinstall=true
+ fallback=true
+ clean=true
+ cleandevel=true
+ sortbyvotes=true
+ sudoloop=false
+ pacmanbin=pacman
+ [[ -n '' ]]
+ configdir=/etc/xdg/pacaur
+ userconfigdir=/home/smaster/.config/pacaur
+ source /etc/xdg/pacaur/config
+ [[ -r /home/smaster/.config/pacaur/config ]]
+ [[ -d /tmp/pacaurtmp-smaster ]]
+ [[ ! -w /tmp/pacaurtmp-smaster ]]
+ [[ ! -d /tmp/pacaurtmp-smaster ]]
+ [[ ! -d /tmp/pacaurtmp-smaster ]]
+ trap ctrlc INT
+ args=("$@")
+ for i in '"${args[@]}"'
+ [[ -Su =~ ^-[a-zA-Z0-9] ]]
+ opts+=("$i")
+ count=0
+ [[ -n -Su ]]
+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT
+ pacmanarg+=("-$OPT")
+ case "$OPT" in
+ pacS=1
+ operation=sync
+ coweropts+=("-f")
+ [[ -Su =~ w ]]
+ installpkg=true
+ [[ -Su =~ g ]]
+ [[ -Su =~ l ]]
+ [[ -Su =~ p ]]
+ 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 '' ]]
++ grep '^Color' /etc/pacman.conf
+ [[ -z '' ]]
+ [[ '' = \a\l\w\a\y\s ]]
+ [[ '' = \a\u\t\o ]]
+ [[ '' != \a\l\w\a\y\s ]]
+ [[ '' != \a\u\t\o ]]
+ makeopts+=("--nocolor")
+ 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-smaster ]]
+ [[ -z '' ]]
+ [[ sync = download ]]
+ [[ sync = sync ]]
+ [[ ! -n '' ]]
+ [[ ! -n true ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ case $operation in
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n true ]]
+ [[ ! -n '' ]]
+ ClassifyPkgs
+ [[ true = true ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ pkgs=(${pkgs[@]/aur\//})
+ repopkgs=($(LC_COLLATE=C comm -23 <(tr ' ' '\n' <<< ${pkgs[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${aurpkgs[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -23 /dev/fd/63 /dev/fd/62
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+ unset pkgs
+ [[ ! -n '' ]]
+ sudo pacman -S -u
:: Rozpoczynanie pełnej aktualizacji systemu…
nie ma nic do zrobienia
+ [[ ! -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ [[ true = true ]]
+ Core
+ getignoredpkgs
+ ignoredpkgs+=($(grep '^IgnorePkg' '/etc/pacman.conf' | cut -d '=' -f 2- | tr -d "'\""))
++ tr -d ''\''"'
++ cut -d = -f 2-
++ grep '^IgnorePkg' /etc/pacman.conf
+ [[ -e /home/smaster/.config/cower/config ]]
+ ignoredpkgs=(${ignoredpkgs[@]//,/ })
+ [[ -n true ]]
+ UpgradeAur
+ note i 'Starting AUR upgrade...'
+ case "$1" in
+ echo -e ':: Starting AUR upgrade...'
:: Starting AUR upgrade...
+ [[ -e /tmp/pacaurtmp-smaster/ignoretmp ]]
+ rm /tmp/pacaurtmp-smaster/ignoretmp
+ aurpkgs+=($(cower -u ${coweropts[@]} ${pkgs[@]} 2>"$tmpdir/ignoretmp" | sed -r "s:\x1B\[[0-9;]*[mK]::g" | awk -F " " '{print $2}'))
++ cower -u -f -f
++ awk -F ' ' '{print $2}'
++ sed -r 's:\x1B\[[0-9;]*[mK]::g'
+ [[ -e /tmp/pacaurtmp-smaster/ignoretmp ]]
+ aurpkgs+=($(awk -F " " '{print $2}' "$tmpdir/ignoretmp" | sed -r "s:\x1B\[[0-9;]*[mK]::g"))
++ awk -F ' ' '{print $2}' /tmp/pacaurtmp-smaster/ignoretmp
++ sed -r 's:\x1B\[[0-9;]*[mK]::g'
+ foreignpkgs=($($pacmanbin -Qmq))
++ pacman -Qmq
+ downloadjson adobe-air adobe-air-sdk copy-agent cower dropbox fontconfig-infinality freetype2-infinality lib32-gtk-engine-murrine libpng12 pacaur sylfilter ttf-win7-fonts xfce-theme-bluebird xfce-theme-greybird xnviewmp
+ aururl='https://aur.archlinux.org/rpc.php?type=multiinfo&v=3'
+ urlencodedpkgs=($(sed 's/+/%2b/g' <<< $@ | sed 's/@/%40/g'))
++ sed s/+/%2b/g
++ sed s/@/%40/g
++ printf '&arg[]=%s' adobe-air adobe-air-sdk copy-agent cower dropbox fontconfig-infinality freetype2-infinality lib32-gtk-engine-murrine libpng12 pacaur sylfilter ttf-win7-fonts xfce-theme-bluebird xfce-theme-greybird xnviewmp
+ urlargs='&arg[]=adobe-air&arg[]=adobe-air-sdk&arg[]=copy-agent&arg[]=cower&arg[]=dropbox&arg[]=fontconfig-infinality&arg[]=freetype2-infinality&arg[]=lib32-gtk-engine-murrine&arg[]=libpng12&arg[]=pacaur&arg[]=sylfilter&arg[]=ttf-win7-fonts&arg[]=xfce-theme-bluebird&arg[]=xfce-theme-greybird&arg[]=xnviewmp'
+ [[ 297 -lt 8125 ]]
+ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=3&arg[]=adobe-air&arg[]=adobe-air-sdk&arg[]=copy-agent&arg[]=cower&arg[]=dropbox&arg[]=fontconfig-infinality&arg[]=freetype2-infinality&arg[]=lib32-gtk-engine-murrine&arg[]=libpng12&arg[]=pacaur&arg[]=sylfilter&arg[]=ttf-win7-fonts&arg[]=xfce-theme-bluebird&arg[]=xfce-theme-greybird&arg[]=xnviewmp' -o /tmp/pacaurtmp-smaster/rpc.json
+ allaurpkgs=($(getjsonvar "Name"))
++ getjsonvar Name
++ json_reformat
++ tr -d '", '
++ awk -F '#' '{print $2}'
++ sed -r s/Name:/Name#/g
++ grep -Po 'Name:.*'
+ 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
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+ [[ -n '' ]]
+ aurpkgs=($(tr ' ' '\n' <<< ${aurpkgs[@]} | sort -u))
++ tr ' ' '\n'
++ sort -u
+ nothingtodo copy-agent
+ [[ -z copy-agent ]]
+ return 0
+ IgnoreChecks
+ [[ -z '' ]]
+ return
+ DepsSolver
+ note i 'resolving dependencies...'
+ case "$1" in
+ echo -e ':: resolving dependencies...'
:: resolving dependencies...
+ (( i=0 ))
+ (( i<1 ))
++ awk -F '>|<|=' '{print $1}'
+ aurpkgs[$i]=copy-agent
+ (( i++ ))
+ (( i<1 ))
+ deps+=("${aurpkgs[@]}")
+ FindDepsAur copy-agent
+ [[ -n '' ]]
+ [[ -z '' ]]
+ depspkgsaur=("${aurpkgs[@]}")
+ downloadjson copy-agent
+ aururl='https://aur.archlinux.org/rpc.php?type=multiinfo&v=3'
+ urlencodedpkgs=($(sed 's/+/%2b/g' <<< $@ | sed 's/@/%40/g'))
++ sed s/@/%40/g
++ sed s/+/%2b/g
++ printf '&arg[]=%s' copy-agent
+ urlargs='&arg[]=copy-agent'
+ [[ 17 -lt 8125 ]]
+ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=3&arg[]=copy-agent' -o /tmp/pacaurtmp-smaster/rpc.json
+ errdeps+=($(LC_COLLATE=C comm -3 <(tr ' ' '\n' <<< $(getjsonvar "Name") | sort -u) <(tr ' ' '\n' <<< ${depspkgsaur[@]} | sort -u)))
++ LC_COLLATE=C
++ comm -3 /dev/fd/63 /dev/fd/62
+++ sort -u
+++ tr ' ' '\n'
+++ tr ' ' '\n'
++++ getjsonvar Name
+++ sort -u
++++ tr -d '", '
++++ sed -r s/Name:/Name#/g
++++ grep -Po 'Name:.*'
++++ awk -F '#' '{print $2}'
++++ json_reformat
+ depspkgs=($(getjsonarray "Depends"))
++ getjsonarray Depends
++ json_reformat
++ tr -d ', '
++ awk -F : '{print $2}'
++ tr '\n' ' '
++ tr -d '[]"'
++ tr -d '\"'
++ tr -d '\n'
++ sed 's/] /]\n/g'
++ sed -e '/^"Depends"/,/]/!d'
+ depspkgs+=($(getjsonarray "MakeDepends"))
++ getjsonarray MakeDepends
++ json_reformat
++ tr -d ', '
++ tr -d '\n'
++ sed -e '/^"MakeDepends"/,/]/!d'
++ tr -d '[]"'
++ sed 's/] /]\n/g'
++ tr -d '\"'
++ tr '\n' ' '
++ awk -F : '{print $2}'
+ depspkgs=($($pacmanbin -T "${depspkgs[@]}" | sort -u))
++ pacman -T fuse desktop-file-utils
++ sort -u
+ unset depspkgsaur
+ [[ -n '' ]]
+ unset depspkgs
+ [[ -n '' ]]
+ [[ -n '' ]]
+ downloadjson copy-agent
+ aururl='https://aur.archlinux.org/rpc.php?type=multiinfo&v=3'
+ urlencodedpkgs=($(sed 's/+/%2b/g' <<< $@ | sed 's/@/%40/g'))
++ sed s/@/%40/g
++ sed s/+/%2b/g
++ printf '&arg[]=%s' copy-agent
+ urlargs='&arg[]=copy-agent'
+ [[ 17 -lt 8125 ]]
+ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=3&arg[]=copy-agent' -o /tmp/pacaurtmp-smaster/rpc.json
+ depsAname=($(getjsonvar "Name"))
++ getjsonvar Name
++ json_reformat
++ awk -F '#' '{print $2}'
++ tr -d '", '
++ grep -Po 'Name:.*'
++ sed -r s/Name:/Name#/g
+ depsAver=($(getjsonvar "Version"))
++ getjsonvar Version
++ json_reformat
++ sed -r s/Version:/Version#/g
++ grep -Po 'Version:.*'
++ tr -d '", '
++ awk -F '#' '{print $2}'
+ depsAood=($(getjsonvar "OutOfDate"))
++ getjsonvar OutOfDate
++ json_reformat
++ tr -d '", '
++ grep -Po 'OutOfDate:.*'
++ sed -r s/OutOfDate:/OutOfDate#/g
++ awk -F '#' '{print $2}'
+ (( i=0 ))
+ (( i<1 ))
++ expac -Qs %v '^copy-agent$'
+ depsQver[$i]=1.48.0456-1
+ [[ -z 1.48.0456-1 ]]
++ grep -E '\-(cvs|svn|git|hg|bzr|darcs|nightly.*)$'
+ [[ -n '' ]]
+ (( i++ ))
+ (( i<1 ))
+ depsAlastmodified=($(getjsonvar "LastModified"))
++ getjsonvar LastModified
++ json_reformat
++ tr -d '", '
++ grep -Po 'LastModified:.*'
++ awk -F '#' '{print $2}'
++ sed -r s/LastModified:/LastModified#/g
+ (( i=0 ))
+ (( i<1 ))
+ [[ 1422713303 -lt 1401215749 ]]
+ (( i++ ))
+ (( i<1 ))
+ errdeps=($(tr ' ' '\n' <<< ${errdeps[@]} | sort -u))
++ tr ' ' '\n'
++ sort -u
+ [[ -n '' ]]
+ FindDepsRepo
+ [[ -z '' ]]
+ return
+ IgnoreDepsChecks
+ [[ -z '' ]]
+ return
+ ProviderChecks
+ [[ -z '' ]]
+ return
+ ConflictChecks
+ note i 'looking for inter-conflicts...'
+ case "$1" in
+ echo -e ':: looking for inter-conflicts...'
:: looking for inter-conflicts...
+ allQprovides=($(expac -Q '%n'))
++ expac -Q %n
+ allQprovides+=($(expac -Q '%S'))
++ expac -Q %S
+ allQconflicts=($(expac -Q '%C'))
++ expac -Q %C
+ Aprovides=(${depsAname[@]})
+ Aprovides+=($(getjsonarray "Provides"))
++ getjsonarray Provides
++ json_reformat
++ tr -d ', '
++ tr -d '\n'
++ sed 's/] /]\n/g'
++ awk -F : '{print $2}'
++ tr -d '[]"'
++ sed -e '/^"Provides"/,/]/!d'
++ tr -d '\"'
++ tr '\n' ' '
+ Aconflicts=($(getjsonarray "Conflicts"))
++ getjsonarray Conflicts
++ json_reformat
++ tr '\n' ' '
++ tr -d '\"'
++ sed -e '/^"Conflicts"/,/]/!d'
++ sed 's/] /]\n/g'
++ tr -d '[]"'
++ awk -F : '{print $2}'
++ tr -d '\n'
++ tr -d ', '
+ (( i=0 ))
+ (( i<1 ))
++ awk -F '>|<|=' '{print $1}'
+ Aprovides[$i]=copy-agent
+ (( i++ ))
+ (( i<1 ))
+ (( i=0 ))
+ (( i<0 ))
+ aurconflicts+=($(LC_COLLATE=C comm -12 <(tr ' ' '\n' <<< ${Aprovides[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${allQconflicts[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -12 /dev/fd/63 /dev/fd/62
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+ aurconflicts+=($(LC_COLLATE=C comm -12 <(tr ' ' '\n' <<< ${Aconflicts[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\n' <<< ${allQprovides[@]} | LC_COLLATE=C sort -u)))
++ LC_COLLATE=C
++ comm -12 /dev/fd/63 /dev/fd/62
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+++ tr ' ' '\n'
+++ LC_COLLATE=C
+++ sort -u
+ aurconflicts=($(tr ' ' '\n' <<< ${aurconflicts[@]} | LC_COLLATE=C sort -u))
++ tr ' ' '\n'
++ LC_COLLATE=C
++ sort -u
+ nothingtodo copy-agent
+ [[ -z copy-agent ]]
+ return 0
+ [[ -n '' ]]
+ ReinstallChecks
+ depsAtmp=(${depsAname[@]})
+ (( i=0 ))
+ (( i<1 ))
+ [[ ! copy-agent =~ copy-agent ]]
+ [[ =~ copy-agent ]]
+ [[ -z 1.48.0456-1 ]]
+ [[ 1.48.0456-1 = \# ]]
++ vercmp 1.48.0456-2 1.48.0456-1
+ [[ 1 -gt 0 ]]
+ continue
+ (( i++ ))
+ (( i<1 ))
+ [[ -n '' ]]
+ nothingtodo copy-agent
+ [[ -z copy-agent ]]
+ return 0
+ OutofdateChecks
+ (( i=0 ))
+ (( i<1 ))
+ [[ 0 -gt 0 ]]
+ (( i++ ))
+ (( i<1 ))
+ Prompt
+ [[ -n '' ]]
+ (( i=0 ))
+ (( i<1 ))
+ [[ ! -n '' ]]
+ break
++ grep '^VerbosePkgLists' /etc/pacman.conf
+ [[ -n '' ]]
+ (( i=0 ))
+ (( i<1 ))
+ depsver='copy-agent-1.48.0456-2 '
+ (( i++ ))
+ (( i<1 ))
+ (( i=0 ))
+ (( i<0 ))
+ printf '\n%-17s %s\n' 'AUR Packages (1):' 'copy-agent-1.48.0456-2 '
AUR Packages (1): copy-agent-1.48.0456-2
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo
+ [[ ! -n '' ]]
+ [[ -n true ]]
+ action=installation
+ proceed y 'Proceed with installation?'
++ gettext pacman Y
+ Y=T
++ tr '[:upper:]' '[:lower:]'
+ y=t
++ gettext pacman N
+ N=N
++ tr '[:upper:]' '[:lower:]'
+ n=n
+ case "$1" in
+ printf '%s %s' :: 'Proceed with installation? [Y/n] '
:: Proceed with installation? [Y/n] + read -n 1 answer
t+ echo
+ case $answer in
+ return 0
+ DownloadPkgs
+ note i 'Retrieving package(s)...'
+ case "$1" in
+ echo -e ':: Retrieving package(s)...'
:: Retrieving package(s)...
+ coweropts+=("-d")
+ DownloadAur copy-agent
+ [[ '' != \n\e\v\e\r ]]
+ coweropts=(${coweropts[@]/auto/always})
+ read -r flag pkg info
++ cower -f -f -d -b copy-agent -t /tmp/pacaurtmp-smaster
+ case $flag in
+ [[ sync = download ]]
+ read -r flag pkg info
+ wait
+ getpackagebase copy-agent
+ for i in '"$@"'
+ pkgsbase+=("$(getjsonvarvar "PackageBase" "$i")")
++ getjsonvarvar PackageBase copy-agent
++ json_reformat
++ awk -F '#' '{print $2}'
++ sed -e '/"Name":"copy-agent"/,/}/!d'
++ tr -d '"'
++ grep -Po 'PackageBase:.*'
++ sed -r s/PackageBase:/PackageBase#/g
++ tr -d ', '
+ for i in '"${pkgsbase[@]}"'
+ [[ =~ copy-agent ]]
+ basepkgs+=("$i")
+ EditPkgs copy-agent
+ [[ -n '' ]]
+ for i in '"$@"'
+ [[ =~ copy-agent ]]
+ getinstallscripts copy-agent
+ [[ ! -d /tmp/pacaurtmp-smaster/copy-agent ]]
+ unset installscriptspath installscripts
+ installscriptspath=($(find "$builddir/$1/" -maxdepth 1 -name "*.install"))
++ find /tmp/pacaurtmp-smaster/copy-agent/ -maxdepth 1 -name '*.install'
+ [[ -n /tmp/pacaurtmp-smaster/copy-agent/copy-agent.install ]]
+ installscripts=($(basename -a ${installscriptspath[@]}))
++ basename -a /tmp/pacaurtmp-smaster/copy-agent/copy-agent.install
+ [[ ! -n '' ]]
+ [[ ! true = false ]]
+ proceed y 'View copy-agent PKGBUILD?'
++ gettext pacman Y
+ Y=T
++ tr '[:upper:]' '[:lower:]'
+ y=t
++ gettext pacman N
+ N=N
++ tr '[:upper:]' '[:lower:]'
+ n=n
+ case "$1" in
+ printf '%s %s' :: 'View copy-agent PKGBUILD? [Y/n] '
:: View copy-agent PKGBUILD? [Y/n] + read -n 1 answer
n+ echo
+ case $answer in
+ return 1
+ [[ ! true = false ]]
+ [[ -n copy-agent.install ]]
+ for j in '"${installscripts[@]}"'
+ proceed y 'View copy-agent.install script?'
++ gettext pacman Y
+ Y=T
++ tr '[:upper:]' '[:lower:]'
+ y=t
++ gettext pacman N
+ N=N
++ tr '[:upper:]' '[:lower:]'
+ n=n
+ case "$1" in
+ printf '%s %s' :: 'View copy-agent.install script? [Y/n] '
:: View copy-agent.install script? [Y/n] + read -n 1 answer
n+ echo
+ case $answer in
+ return 1
+ MakePkgs
+ oldorphanpkgs=($($pacmanbin -Qdtq))
++ pacman -Qdtq
+ sudo -v
+ (( i=0 ))
+ (( i<1 ))
+ [[ false = true ]]
+ (( j=0 ))
+ (( j<1 ))
+ [[ copy-agent = \c\o\p\y\-\a\g\e\n\t ]]
+ [[ ! =~ copy-agent ]]
+ pkgsdeps+=("${deps[$j]}")
+ (( j++ ))
+ (( j<1 ))
+ pkgsdeps+=("#")
+ (( i++ ))
+ (( i<1 ))
+ pkgsdeps=($(sed 's/ # /\n/g' <<< ${pkgsdeps[@]} | tr -d '#' | sed '/^ $/d' | tr ' ' ',' | sed 's/^,//g' | sed 's/,$//g'))
++ sed 's/ # /\n/g'
++ tr -d '#'
++ sed 's/,$//g'
++ sed 's/^,//g'
++ tr ' ' ,
++ sed '/^ $/d'
+ basepkgs=($(awk -F " " '{for (i=NF;i>=1;i--) print $i}' <<< ${basepkgs[@]} | awk -F "\n" '{print}'))
++ awk -F ' ' '{for (i=NF;i>=1;i--) print $i}'
++ awk -F '\n' '{print}'
+ pkgsdeps=($(awk -F " " '{for (i=NF;i>=1;i--) print $i}' <<< ${pkgsdeps[@]} | awk -F "\n" '{print}'))
++ awk -F '\n' '{print}'
++ awk -F ' ' '{for (i=NF;i>=1;i--) print $i}'
+ (( i=0 ))
+ (( i<1 ))
+ pkgsdepslist=($(awk -F "," '{for (k=1;k<=NF;k++) print $k}' <<< ${pkgsdeps[$i]}))
++ awk -F , '{for (k=1;k<=NF;k++) print $k}'
+ unset cachedpkg
+ for j in '"${pkgsdepslist[@]}"'
++ getjsonvarvar Version copy-agent
++ json_reformat
++ grep -Po 'Version:.*'
++ sed -r s/Version:/Version#/g
++ sed -e '/"Name":"copy-agent"/,/}/!d'
++ tr -d '"'
++ tr -d ', '
++ awk -F '#' '{print $2}'
+ depsAver=1.48.0456-2
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ cd /tmp/pacaurtmp-smaster/copy-agent
+ note i 'Checking copy-agent integrity...'
+ case "$1" in
+ echo -e ':: Checking copy-agent integrity...'
:: Checking copy-agent integrity...
+ makepkg -o -d
I'll hope it will be usfull.
You should put the contents into a pastebin and link to it here.
I'd recommend sprunge, as you can just pipe text into a curl command to create a paste.
@djmattyg007 Thx for suggestion.
@xinulsw > Thx for the output. I've a clearer view of what's happening with -Su now (and to my surprise it works in most cases where -S fails), but this doesn't help with the underlying issue.
Too bad Polish translators decided to change pacman error strings, but in any case the weak code is in pacaur, not pacman.
The part of the code relevant to the issue has been reworked in e48600f068fe91954105e0ac7d282817b9bcc4e1 in order to add support for the 'usage level' option of pacman.conf. The previous error catch fix has been removed.
If someone can reproduce either the error)
or dependencies)
issue, please let me know what package make it happening - I need a real user case in order to debug it.
FYI: user grimi made a small patch that should solve the issue for Polish language. It is now in master (36b79fafa6d5f0afc53b0b2bcfb692bd7e4c24b4) and pacaur-git can be installed to test it out.
OK, thank you, i'll check it.
Unfortunately, grimi's patch probably doesn't work. Updating goes fine, but installing sth from aur raises error. Here is log of bash -x pacaur -S xfce-theme-greybird-git
: http://sprunge.us/dSaV
Just for reference, string:
błąd: pakiet xfce-theme-greybird-git nie został znaleziony
is literally word-for-word
error: package xfce-theme-greybird-git not was found
and then obvious error is:
Nie znaleziono znaleziony w repozytoriach; szukam w AUR...
which means word for word:
Not found found in repositories; searching in AUR...
then ofc it is wrong downhill:
Core znaleziony
is
Core found
and finally
FindDepsAur znaleziony
is
FindDepsAur found
... which probably makes no sense because wrong word ("znaleziony" = "found") is taken for package name
@xinulsw, @kiicia: Thanks. This is weird. The very same code is used in upgrading and installing a new package. I clearly don't have a clue why it fails in a case and not in the other.
My nose tells me something is going on here, it tries to install good package, first error is ok "package xfce-something not found" but then final localized text tells "not found found in repositories" and from this point on "znaleziony" ("found") sticks as an actual package name:
+ sudo pacman -S xfce-theme-greybird-git
błąd: pakiet xfce-theme-greybird-git nie został znaleziony
+ [[ -n znaleziony ]]
+ [[ -n '' ]]
+ [[ true = true ]]
+ [[ ! -n '' ]]
+ note w 'Nie znaleziono znaleziony w repozytoriach; szukam w AUR...'
Oh, one more thing - why is this line matching word "znaleziony" ("found") and not package name ("xfce-theme-greybird-git")? Is it the purpose of this line (it would be "found" in english locale here)?
+ [[ ! xfce-theme-greybird-git =~ [a-zA-Z0-9.+-]+/znaleziony[^a-zA-Z0-9.+-] ]]
It shouldn't. The error occurs right above with LANG=C $pacmanbin -Sp ${noaurpkgs[@]}
(line 68) which is LANG=C pacman -Sp xfce-theme-greybird-git
and from there everything goes nuts.
But when upgrading, it succeeds...
wouldn't it mean there is some issue with pacman itself? like different outputs on install and update? which then messes up further parsing of one of outputs...
... oh, it is, for:
$ pacman -Sp arduino
you get:
error: target not found: arduino
and:
błąd: pakier arduino nie został znaleziony
which in turn is (word-for-word):
error: package arduino not is found
... which messes up whole parsing
[update] nope, actually it is the same for -Sp and -Su and -S
[update2] LANG=C doesn't work so it gets Polish message so it takes last word "znaleziony" ("found") for package name assuming it would be written in this order/pattern?
@kiicia : Are you sure it isn't the C locale that doesn't work on your system?
Some other users confirmed that the patch is indeed working for them:
1. test of searching not-existing package
$ pacaur -S foobar200
:: Nie znaleziono foobar200 w repozytoriach; szukam w AUR...
:: rozwiązywanie zależności...
:: no results found for foobar200
2. test of searching 'foobar2000':
$ pacaur -S foobar2000
:: Nie znaleziono foobar2000 w repozytoriach; szukam w AUR...
:: rozwiązywanie zależności...
:: poszukiwanie konfliktów między pakietami...
Pakiety z AUR (2):
Nazwa Poprzednia wersja Nowa wersja
aur/foobar2000 1.3.7-2
aur/unarchiver 1:1.8.1-1
Pakiety z repozytoriów (10):
Nazwa Poprzednia wersja Nowa wersja Wielkość pobrania
core/gcc-objc 4.9.2-4 10.69 MiB
community/gnustep-base 1.24.6-2 1.83 MiB
community/gnustep-make 2.6.6-1 0.16 MiB
multilib/lib32-acl 2.2.52-2 0.01 MiB
multilib/lib32-gettext 0.19.4-1 0.60 MiB
multilib/lib32-glu 9.0.0-2 0.17 MiB
multilib/lib32-libnl 3.2.25-1 0.21 MiB
multilib/lib32-libpcap 1.6.2-1 0.10 MiB
multilib/lib32-libusb 1.0.19-1 0.04 MiB
multilib/wine 1.7.39-2 39.50 MiB
Wielkość pobrania z repozytoriów: 53.31 MiB
Wielkość instalacji z repozytoriów: 354.81 MiB
:: Przejść do instalacja? [T/n]
Note that all string aren't translated to Polish, but that will be fixed in the next translation update.
LANG=C is working for me
but that error looks like LANG=C is not working on that particular machine
... and you can see that yourself :)
$ export LANG=pl_PL.UTF-8
$ man
Jakiej strony podręcznika potrzebujesz?
$ LANG=C man
What manual page do you want?
$ export LC_ALL=pl_PL.UTF-8
$ LANG=C man
Jakiej strony podręcznika potrzebujesz?
... which is obviously wrong :)
Note: The variable LANGUAGE is ignored if the locale is set to ‘C’
... but LC_ALL is not it seems :)
and to wrap up
$ export LC_ALL=pl_PL.UTF-8
$ pacaur -S foobar2000
błąd: pakiet foobar2000 nie został znaleziony
:: Package(s) znaleziony not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for znaleziony
which means that LANG=C does not work when someone set their non-english language by LC_ALL instead of LANG
Then the patch is working as it should. LC_ALL is used to override the other Locale variables, and is normally only used for debugging purpose.
If i've get the point, in my case pacaur dont work because i've set LC_ALL to pl_PL.UTF-8. That's not true. There is LANG=pl_PL.utf8
in my /etc/locale.conf
. And the locale
outputs:
LANG=pl_PL.utf8
LC_CTYPE="pl_PL.utf8"
LC_NUMERIC=pl_PL.UTF-8
LC_TIME=pl_PL.UTF-8
LC_COLLATE="pl_PL.utf8"
LC_MONETARY=pl_PL.UTF-8
LC_MESSAGES=pl_PL.utf8
LC_PAPER=pl_PL.UTF-8
LC_NAME="pl_PL.utf8"
LC_ADDRESS="pl_PL.utf8"
LC_TELEPHONE="pl_PL.utf8"
LC_MEASUREMENT=pl_PL.UTF-8
LC_IDENTIFICATION="pl_PL.utf8"
LC_ALL=
That means i am still getting: no results found for znaleziony
:-(
Ok, i've just updated to latest pacaur-git and maked some test. When i switched to virtual console (tty2) pacaur -S foobar2000
worked! But the same command in any terminal emulator produces: :: brak wyników dla znaleziony
... Command locale
in both cases outputs the same what i've put in prevoius comment. Output of localectl status
is also the same:
System Locale: LANG=pl_PL.utf8
LC_NUMERIC=pl_PL.UTF-8
LC_TIME=pl_PL.UTF-8
LC_MONETARY=pl_PL.UTF-8
LC_PAPER=pl_PL.UTF-8
LC_MEASUREMENT=pl_PL.UTF-8
VC Keymap: pl
X11 Layout: pl
Well, it seems the issue is on your end, and I'm afraid you're on your own from here. Keep in mind this is only a workaround for Polish translation, the underlaying issue (which this ticket is about) still has to be fixed.
I've figured out what's the problem. LC_MESSAGES=pl_PL.utf8
varaiable is responsible for whole mess. I have second installation of arch where pacaur works. I've checked env
output on both machines and on working machine LC_MESSAGES is not set. When i unset this var on first machine everything is ok.
So now i'll have to find out what is the cause of precence this var on my first machine. Config files (locale.conf, .bashrc, .bash_profile) are the same...
$ LANG=C pacaur -S nvidia-ck-ivybridge resolving dependencies... warning: cannot resolve "nvidia-utils=361.28", a dependency of "nvidia-ck-ivybridge" :: The following package cannot be upgraded due to unresolvable dependencies: nvidia-ck-ivybridge
:: Do you want to skip the above package for this upgrade? [y/N] error: failed to prepare transaction (could not satisfy dependencies) :: nvidia-ck-ivybridge: requires nvidia-utils=361.28 :: Package(s) dependencies) not found in repositories, trying AUR... :: resolving dependencies... :: no results found for dependencies)
This message i have seems relevant to this issue. I do really have the dependency conflict, but that's not the point.
Yup, seems to be the very same issue.
Hi, when asking pacaur to skip a problematic package "upgrade" (it was a fresh installation actually) it ended up on this error:
Answering No probaby gives a better idea of where the problem stems from:
Doing the same in French and English. Maybe an incorrect handling of space in a certain string? Here is the full debug log: