pacaur
pacaur copied to clipboard
Breakage on skipping a package upgrade: "no results found for error)"
Hi, when asking pacaur to skip a problematic package "upgrade" (it was a fresh installation actually) it ended up on this error:
:: The following package cannot be upgraded due to unresolvable dependencies:
haskell-gitit
:: Do you want to skip the above package for this upgrade? [y/N] y
looking for inter-conflicts...
there is nothing to do
:: Package(s) error) not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for error)
Answering No probaby gives a better idea of where the problem stems from:
:: The following package cannot be upgraded due to unresolvable dependencies:
haskell-gitit
:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (unexpected error)
:: Package(s) error) not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for error)
Doing the same in French and English. Maybe an incorrect handling of space in a certain string? Here is the full debug log:
$ LANG=C bash -x pacaur -S haskell-gitit
+ version=4.2.10
+ 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')
++ CARCH=i686
++ CHOST=i686-pc-linux-gnu
++ CPPFLAGS=-D_FORTIFY_SOURCE=2
++ CFLAGS='-march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'
++ CXXFLAGS='-march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'
++ LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro
++ MAKEFLAGS=-j2
++ DEBUG_CFLAGS='-g -fvar-tracking-assignments'
++ DEBUG_CXXFLAGS='-g -fvar-tracking-assignments'
++ BUILDENV=(fakeroot !distcc color !ccache check !sign)
++ BUILDDIR=/tmp/build
++ 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/neitsab/.makepkg.conf ]]
+ tmpdir=/tmp/pacaurtmp-neitsab
+ builddir=/tmp/build
+ editor=vi
+ editpkgbuild=true
+ editinstall=true
+ fallback=true
+ clean=true
+ cleandevel=true
+ sudoloop=false
+ sortbyvotes=true
+ hybridsolver=false
+ pacmanbin=pacman
+ [[ -n '' ]]
+ configdir=/etc/xdg/pacaur
+ userconfigdir=/home/neitsab/.config/pacaur
+ source /etc/xdg/pacaur/config
+ [[ -r /home/neitsab/.config/pacaur/config ]]
+ source /home/neitsab/.config/pacaur/config
++ editor=nano
+ [[ -d /tmp/pacaurtmp-neitsab ]]
+ [[ ! -w /tmp/pacaurtmp-neitsab ]]
+ [[ ! -d /tmp/pacaurtmp-neitsab ]]
+ [[ ! -d /tmp/build ]]
+ trap ctrlc INT
+ args=("$@")
+ for i in '"${args[@]}"'
+ [[ -S =~ ^-[a-zA-Z0-9] ]]
+ opts+=("$i")
+ for i in '"${args[@]}"'
+ [[ haskell-gitit =~ ^-[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 haskell-gitit ]]
+ pkgs+=("${!OPTIND}")
+ shift 2
+ OPTIND=1
+ [[ -n '' ]]
++ 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'
+ colorC='\e[1;36m'
+ colorW='\e[1;39m'
+ pacmanarg=(${pacmanarg[@]/--/})
+ pacmanarg=(${pacmanarg[@]/-r/})
+ pacmanarg=(${pacmanarg[@]/-a/})
+ [[ -n 1 ]]
+ pacmanarg=(${pacmanarg[@]/-e/})
+ [[ -n 1 ]]
+ [[ -n '' ]]
+ [[ -n 1 ]]
+ [[ -n '' ]]
+ [[ ! -n nano ]]
+ [[ ! -w /tmp/build ]]
+ [[ -z haskell-gitit ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ case $operation in
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -z haskell-gitit ]]
+ ClassifyPkgs haskell-gitit
+ [[ true = true ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ ! -n '' ]]
+ [[ ! -n '' ]]
+ for i in '"${pkgs[@]}"'
+ [[ haskell-gitit == aur/* ]]
+ aurpkgs+=($($pacmanbin -Sp "$i" 2>&1 >/dev/null | awk -F " " '{print $NF}'))
++ pacman -Sp haskell-gitit
++ awk -F ' ' '{print $NF}'
+ 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 haskell-gitit ]]
+ sudo pacman -S haskell-gitit
resolving dependencies...
warning: cannot resolve "haskell-random=1.0.1.1-56", a dependency of "haskell-missingh"
warning: cannot resolve "haskell-missingh=1.2.1.0-2", a dependency of "haskell-configfile"
warning: cannot resolve "haskell-configfile=1.1.2-2", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-http=4000.2.17-2", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-monad-control=0.3.3.0-2", a dependency of "haskell-happstack-server"
warning: cannot resolve "haskell-transformers-base=0.4.2-2", a dependency of "haskell-happstack-server"
warning: cannot resolve "haskell-happstack-server=7.3.7-2", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-pandoc=1.12.4.2-14", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-pandoc-types=1.12.4.1-2", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-random=1.0.1.1-56", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-http=4000.2.17-2", a dependency of "haskell-recaptcha"
warning: cannot resolve "haskell-recaptcha=0.1.0.2-10", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-safe=0.3.7-1", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-tagsoup=0.13.1-62", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-safe=0.3.7-1", a dependency of "haskell-uri"
warning: cannot resolve "haskell-uri=0.1.6.2-4", a dependency of "haskell-gitit"
warning: cannot resolve "haskell-attoparsec=0.11.3.4-5", a dependency of "haskell-xss-sanitize"
warning: cannot resolve "haskell-attoparsec=0.11.3.4-5", a dependency of "haskell-css-text"
warning: cannot resolve "haskell-css-text=0.1.2.1-10", a dependency of "haskell-xss-sanitize"
warning: cannot resolve "haskell-tagsoup=0.13.1-62", a dependency of "haskell-xss-sanitize"
warning: cannot resolve "haskell-xss-sanitize=0.3.5.2-11", a dependency of "haskell-gitit"
:: The following package cannot be upgraded due to unresolvable dependencies:
haskell-gitit
:: Do you want to skip the above package for this upgrade? [y/N]
error: failed to prepare transaction (unexpected error)
+ [[ -n error) ]]
+ [[ -n '' ]]
+ [[ true = true ]]
+ [[ ! -n '' ]]
+ note w 'Package(s) \e[1;39merror)\e[0m not found in repositories, trying \e[1;35mAUR\e[0m...'
+ case "$1" in
+ echo -e '\e[1;33m::\e[0m Package(s) \e[1;39merror)\e[0m not found in repositories, trying \e[1;35mAUR\e[0m...'
:: Package(s) error) not found in repositories, trying AUR...
+ Core 'error)'
+ 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/neitsab/.config/cower/config ]]
+ ignoredpkgs=(${ignoredpkgs[@]//,/ })
+ [[ -n '' ]]
+ IgnoreChecks
+ [[ -z '' ]]
+ return
+ DepsSolver
+ note i 'resolving dependencies...'
+ case "$1" in
+ echo -e '\e[1;34m::\e[0m resolving dependencies...'
:: resolving dependencies...
+ (( i=0 ))
+ (( i<1 ))
++ awk -F '>|<|=' '{print $1}'
+ aurpkgs[$i]='error)'
+ (( i++ ))
+ (( i<1 ))
+ deps+=("${aurpkgs[@]}")
+ FindDepsAur 'error)'
+ [[ -n '' ]]
+ [[ -z '' ]]
+ depspkgsaur=("${aurpkgs[@]}")
+ downloadjson 'error)'
+ 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' 'error)'
+ urlargs='&arg[]=error)'
+ [[ 13 -lt 8125 ]]
+ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=3&arg[]=error)' -o /tmp/pacaurtmp-neitsab/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
+++ sort -u
+++ tr ' ' '\n'
++++ getjsonvar Name
+++ tr ' ' '\n'
++++ awk -F '#' '{print $2}'
++++ sed -r s/Name:/Name#/g
++++ grep -Po 'Name:.*'
++++ json_reformat
++++ tr -d '", '
+ depspkgs=($(getjsonarray "Depends"))
++ getjsonarray Depends
++ json_reformat
++ tr -d ', '
++ sed -e '/^"Depends"/,/]/!d'
++ tr -d '\n'
++ tr -d '\"'
++ tr '\n' ' '
++ tr -d '[]"'
++ awk -F : '{print $2}'
++ sed 's/] /]\n/g'
+ depspkgs+=($(getjsonarray "MakeDepends"))
++ getjsonarray MakeDepends
++ json_reformat
++ tr -d ', '
++ tr -d '\n'
++ sed -e '/^"MakeDepends"/,/]/!d'
++ sed 's/] /]\n/g'
++ awk -F : '{print $2}'
++ tr -d '[]"'
+ [[ false = true ]]
+ depspkgs=($($pacmanbin -T "${depspkgs[@]}" | sort -u))
++ pacman -T
++ sort -u
+ unset depspkgsaur
+ [[ -n '' ]]
+ unset depspkgs
+ [[ -n '' ]]
+ [[ -n '' ]]
+ downloadjson 'error)'
+ 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' 'error)'
+ urlargs='&arg[]=error)'
+ [[ 13 -lt 8125 ]]
+ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=3&arg[]=error)' -o /tmp/pacaurtmp-neitsab/rpc.json
+ depsAname=($(getjsonvar "Name"))
++ getjsonvar Name
++ json_reformat
++ tr -d '", '
++ awk -F '#' '{print $2}'
++ sed -r s/Name:/Name#/g
++ grep -Po 'Name:.*'
+ depsAver=($(getjsonvar "Version"))
++ getjsonvar Version
++ json_reformat
++ tr -d '", '
++ sed -r s/Version:/Version#/g
++ awk -F '#' '{print $2}'
++ grep -Po 'Version:.*'
+ 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 ))
+ [[ false = false ]]
+ depsAlastmodified=($(getjsonvar "LastModified"))
++ getjsonvar LastModified
++ json_reformat
++ awk -F '#' '{print $2}'
++ grep -Po 'LastModified:.*'
++ sed -r s/LastModified:/LastModified#/g
++ tr -d '", '
+ (( i=0 ))
+ (( i<0 ))
+ for i in '"${errdeps[@]}"'
+ note f 'no results found for error)'
+ case "$1" in
+ echo -e '\e[1;31m::\e[0m no results found for error)'
:: no results found for error)
+ [[ -n error) ]]
+ exit 1
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:
- repo-ck
- infinality-bundle
- infinality-bundle-fonts
- multilib
@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:
- check for existing binary packages
- handle providers
- handle versioning
- handle groups
- handle repo/package syntax
I'll need a replacement function that handles all of these, plus handles the errors correctly.
Two possibilities:
- pacman -Sp call could be modified so it doesn't stop at errors (but also displays correct results), and check for binary packages first, instead of non-existing binary packages.
- expac could be expanded to support versioning. This is probably the preferred option.
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.