{"action":"created","issue":{"url":"https://api.github.com/repos/rmarquis/pacaur/issues/267","labels_url":"https://api.github.com/repos/rmarquis/pacaur/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/rmarquis/pacaur/issues/267/comments","events_url":"https://api.github.com/repos/rmarquis/pacaur/issues/267/events","html_url":"https://github.com/rmarquis/pacaur/issues/267","id":41586534,"number":267,"title":"Breakage on skipping a package upgrade: \"no results found for error)\"","user":{"login":"neitsab","id":2963014,"avatar_url":"https://avatars.githubusercontent.com/u/2963014?v=3","gravatar_id":"","url":"https://api.github.com/users/neitsab","html_url":"https://github.com/neitsab","followers_url":"https://api.github.com/users/neitsab/followers","following_url":"https://api.github.com/users/neitsab/following{/other_user}","gists_url":"https://api.github.com/users/neitsab/gists{/gist_id}","starred_url":"https://api.github.com/users/neitsab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neitsab/subscriptions","organizations_url":"https://api.github.com/users/neitsab/orgs","repos_url":"https://api.github.com/users/neitsab/repos","events_url":"https://api.github.com/users/neitsab/events{/privacy}","received_events_url":"https://api.github.com/users/neitsab/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rmarquis/pacaur/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rmarquis/pacaur/milestones/16","labels_url":"https://api.github.com/repos/rmarquis/pacaur/milestones/16/labels","id":319436,"number":16,"title":"4.3.x - new features","description":"Pool of features requests. They might be or might not be implemented later.","creator":{"login":"rmarquis","id":162442,"avatar_url":"https://avatars.githubusercontent.com/u/162442?v=3","gravatar_id":"","url":"https://api.github.com/users/rmarquis","html_url":"https://github.com/rmarquis","followers_url":"https://api.github.com/users/rmarquis/followers","following_url":"https://api.github.com/users/rmarquis/following{/other_user}","gists_url":"https://api.github.com/users/rmarquis/gists{/gist_id}","starred_url":"https://api.github.com/users/rmarquis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmarquis/subscriptions","organizations_url":"https://api.github.com/users/rmarquis/orgs","repos_url":"https://api.github.com/users/rmarquis/repos","events_url":"https://api.github.com/users/rmarquis/events{/privacy}","received_events_url":"https://api.github.com/users/rmarquis/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":1,"state":"open","created_at":"2013-04-23T22:03:31Z","updated_at":"2015-01-13T21:57:36Z","due_on":null,"closed_at":null},"comments":29,"created_at":"2014-08-31T13:39:39Z","updated_at":"2015-02-09T20:25:45Z","closed_at":null,"body":"Hi, when asking pacaur to skip a problematic package \"upgrade\" (it was a fresh installation actually) it ended up on this error:\r\n\r\n```\r\n:: The following package cannot be upgraded due to unresolvable dependencies:\r\n      haskell-gitit\r\n\r\n:: Do you want to skip the above package for this upgrade? [y/N] y\r\nlooking for inter-conflicts...\r\n there is nothing to do\r\n:: Package(s) error) not found in repositories, trying AUR...\r\n:: resolving dependencies...\r\n:: no results found for error)\r\n```\r\n\r\nAnswering No probaby gives a better idea of where the problem stems from:\r\n\r\n```\r\n:: The following package cannot be upgraded due to unresolvable dependencies:\r\n      haskell-gitit\r\n\r\n:: Do you want to skip the above package for this upgrade? [y/N] n\r\nerror: failed to prepare transaction (unexpected error)\r\n:: Package(s) error) not found in repositories, trying AUR...\r\n:: resolving dependencies...\r\n:: no results found for error)\r\n```\r\nDoing the same in French and English. Maybe an incorrect handling of space in a certain string?\r\nHere is the full debug log:\r\n\r\n```\r\n$ LANG=C bash -x pacaur -S haskell-gitit\r\n+ version=4.2.10\r\n+ LC_COLLATE=C\r\n+ TEXTDOMAIN=pacaur\r\n+ TEXTDOMAINDIR=/usr/share/locale\r\n+ source /etc/makepkg.conf\r\n++ 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')\r\n++ CARCH=i686\r\n++ CHOST=i686-pc-linux-gnu\r\n++ CPPFLAGS=-D_FORTIFY_SOURCE=2\r\n++ CFLAGS='-march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'\r\n++ CXXFLAGS='-march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'\r\n++ LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro\r\n++ MAKEFLAGS=-j2\r\n++ DEBUG_CFLAGS='-g -fvar-tracking-assignments'\r\n++ DEBUG_CXXFLAGS='-g -fvar-tracking-assignments'\r\n++ BUILDENV=(fakeroot !distcc color !ccache check !sign)\r\n++ BUILDDIR=/tmp/build\r\n++ OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)\r\n++ INTEGRITY_CHECK=(md5)\r\n++ STRIP_BINARIES=--strip-all\r\n++ STRIP_SHARED=--strip-unneeded\r\n++ STRIP_STATIC=--strip-debug\r\n++ MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})\r\n++ DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})\r\n++ PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)\r\n++ COMPRESSGZ=(gzip -c -f -n)\r\n++ COMPRESSBZ2=(bzip2 -c -f)\r\n++ COMPRESSXZ=(xz -c -z -)\r\n++ COMPRESSLRZ=(lrzip -q)\r\n++ COMPRESSLZO=(lzop -q)\r\n++ COMPRESSZ=(compress -c -f)\r\n++ PKGEXT=.pkg.tar.xz\r\n++ SRCEXT=.src.tar.gz\r\n+ [[ -r /home/neitsab/.makepkg.conf ]]\r\n+ tmpdir=/tmp/pacaurtmp-neitsab\r\n+ builddir=/tmp/build\r\n+ editor=vi\r\n+ editpkgbuild=true\r\n+ editinstall=true\r\n+ fallback=true\r\n+ clean=true\r\n+ cleandevel=true\r\n+ sudoloop=false\r\n+ sortbyvotes=true\r\n+ hybridsolver=false\r\n+ pacmanbin=pacman\r\n+ [[ -n '' ]]\r\n+ configdir=/etc/xdg/pacaur\r\n+ userconfigdir=/home/neitsab/.config/pacaur\r\n+ source /etc/xdg/pacaur/config\r\n+ [[ -r /home/neitsab/.config/pacaur/config ]]\r\n+ source /home/neitsab/.config/pacaur/config\r\n++ editor=nano\r\n+ [[ -d /tmp/pacaurtmp-neitsab ]]\r\n+ [[ ! -w /tmp/pacaurtmp-neitsab ]]\r\n+ [[ ! -d /tmp/pacaurtmp-neitsab ]]\r\n+ [[ ! -d /tmp/build ]]\r\n+ trap ctrlc INT\r\n+ args=(\"$@\")\r\n+ for i in '\"${args[@]}\"'\r\n+ [[ -S =~ ^-[a-zA-Z0-9] ]]\r\n+ opts+=(\"$i\")\r\n+ for i in '\"${args[@]}\"'\r\n+ [[ haskell-gitit =~ ^-[a-zA-Z0-9] ]]\r\n+ count=0\r\n+ [[ -n -S ]]\r\n+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT\r\n+ pacmanarg+=(\"-$OPT\")\r\n+ case \"$OPT\" in\r\n+ pacS=1\r\n+ operation=sync\r\n+ coweropts+=(\"-f\")\r\n+ [[ -S =~ w ]]\r\n+ installpkg=true\r\n+ [[ -S =~ g ]]\r\n+ [[ -S =~ l ]]\r\n+ [[ -S =~ p ]]\r\n+ getopts sidmykufecqrahvVDQRSTUbglnoptw-: OPT\r\n+ [[ -z haskell-gitit ]]\r\n+ pkgs+=(\"${!OPTIND}\")\r\n+ shift 2\r\n+ OPTIND=1\r\n+ [[ -n '' ]]\r\n++ grep '^Color' /etc/pacman.conf\r\n+ [[ -n Color ]]\r\n+ [[ '' != \\n\\e\\v\\e\\r ]]\r\n+ [[ '' = \\a\\l\\w\\a\\y\\s ]]\r\n+ coweropts+=(\"--color=auto\")\r\n+ reset='\\e[0m'\r\n+ colorR='\\e[1;31m'\r\n+ colorG='\\e[1;32m'\r\n+ colorY='\\e[1;33m'\r\n+ colorB='\\e[1;34m'\r\n+ colorM='\\e[1;35m'\r\n+ colorC='\\e[1;36m'\r\n+ colorW='\\e[1;39m'\r\n+ pacmanarg=(${pacmanarg[@]/--/})\r\n+ pacmanarg=(${pacmanarg[@]/-r/})\r\n+ pacmanarg=(${pacmanarg[@]/-a/})\r\n+ [[ -n 1 ]]\r\n+ pacmanarg=(${pacmanarg[@]/-e/})\r\n+ [[ -n 1 ]]\r\n+ [[ -n '' ]]\r\n+ [[ -n 1 ]]\r\n+ [[ -n '' ]]\r\n+ [[ ! -n nano ]]\r\n+ [[ ! -w /tmp/build ]]\r\n+ [[ -z haskell-gitit ]]\r\n+ [[ -n '' ]]\r\n+ [[ -n '' ]]\r\n+ case $operation in\r\n+ [[ -n '' ]]\r\n+ [[ -n '' ]]\r\n+ [[ -n '' ]]\r\n+ [[ -n '' ]]\r\n+ [[ -z haskell-gitit ]]\r\n+ ClassifyPkgs haskell-gitit\r\n+ [[ true = true ]]\r\n+ [[ -n '' ]]\r\n+ [[ -n '' ]]\r\n+ [[ ! -n '' ]]\r\n+ [[ ! -n '' ]]\r\n+ for i in '\"${pkgs[@]}\"'\r\n+ [[ haskell-gitit == aur/* ]]\r\n+ aurpkgs+=($($pacmanbin -Sp \"$i\" 2>&1 >/dev/null | awk -F \" \" '{print $NF}'))\r\n++ pacman -Sp haskell-gitit\r\n++ awk -F ' ' '{print $NF}'\r\n+ pkgs=(${pkgs[@]/aur\\//})\r\n+ repopkgs=($(LC_COLLATE=C comm -23 <(tr ' ' '\\n' <<< ${pkgs[@]} | LC_COLLATE=C sort -u) <(tr ' ' '\\n' <<< ${aurpkgs[@]} | LC_COLLATE=C sort -u)))\r\n++ LC_COLLATE=C\r\n++ comm -23 /dev/fd/63 /dev/fd/62\r\n+++ LC_COLLATE=C\r\n+++ sort -u\r\n+++ tr ' ' '\\n'\r\n+++ tr ' ' '\\n'\r\n+++ LC_COLLATE=C\r\n+++ sort -u\r\n+ [[ -n haskell-gitit ]]\r\n+ sudo pacman -S haskell-gitit\r\nresolving dependencies...\r\nwarning: cannot resolve \"haskell-random=1.0.1.1-56\", a dependency of \"haskell-missingh\"\r\nwarning: cannot resolve \"haskell-missingh=1.2.1.0-2\", a dependency of \"haskell-configfile\"\r\nwarning: cannot resolve \"haskell-configfile=1.1.2-2\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-http=4000.2.17-2\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-monad-control=0.3.3.0-2\", a dependency of \"haskell-happstack-server\"\r\nwarning: cannot resolve \"haskell-transformers-base=0.4.2-2\", a dependency of \"haskell-happstack-server\"\r\nwarning: cannot resolve \"haskell-happstack-server=7.3.7-2\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-pandoc=1.12.4.2-14\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-pandoc-types=1.12.4.1-2\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-random=1.0.1.1-56\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-http=4000.2.17-2\", a dependency of \"haskell-recaptcha\"\r\nwarning: cannot resolve \"haskell-recaptcha=0.1.0.2-10\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-safe=0.3.7-1\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-tagsoup=0.13.1-62\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-safe=0.3.7-1\", a dependency of \"haskell-uri\"\r\nwarning: cannot resolve \"haskell-uri=0.1.6.2-4\", a dependency of \"haskell-gitit\"\r\nwarning: cannot resolve \"haskell-attoparsec=0.11.3.4-5\", a dependency of \"haskell-xss-sanitize\"\r\nwarning: cannot resolve \"haskell-attoparsec=0.11.3.4-5\", a dependency of \"haskell-css-text\"\r\nwarning: cannot resolve \"haskell-css-text=0.1.2.1-10\", a dependency of \"haskell-xss-sanitize\"\r\nwarning: cannot resolve \"haskell-tagsoup=0.13.1-62\", a dependency of \"haskell-xss-sanitize\"\r\nwarning: cannot resolve \"haskell-xss-sanitize=0.3.5.2-11\", a dependency of \"haskell-gitit\"\r\n:: The following package cannot be upgraded due to unresolvable dependencies:\r\n      haskell-gitit\r\n\r\n:: Do you want to skip the above package for this upgrade? [y/N] \r\nerror: failed to prepare transaction (unexpected error)\r\n+ [[ -n error) ]]\r\n+ [[ -n '' ]]\r\n+ [[ true = true ]]\r\n+ [[ ! -n '' ]]\r\n+ note w 'Package(s) \\e[1;39merror)\\e[0m not found in repositories, trying \\e[1;35mAUR\\e[0m...'\r\n+ case \"$1\" in\r\n+ echo -e '\\e[1;33m::\\e[0m Package(s) \\e[1;39merror)\\e[0m not found in repositories, trying \\e[1;35mAUR\\e[0m...'\r\n:: Package(s) error) not found in repositories, trying AUR...\r\n+ Core 'error)'\r\n+ getignoredpkgs\r\n+ ignoredpkgs+=($(grep '^IgnorePkg' '/etc/pacman.conf' | cut -d '=' -f 2- | tr -d \"'\\\"\"))\r\n++ grep '^IgnorePkg' /etc/pacman.conf\r\n++ cut -d = -f 2-\r\n++ tr -d ''\\''\"'\r\n+ [[ -e /home/neitsab/.config/cower/config ]]\r\n+ ignoredpkgs=(${ignoredpkgs[@]//,/ })\r\n+ [[ -n '' ]]\r\n+ IgnoreChecks\r\n+ [[ -z '' ]]\r\n+ return\r\n+ DepsSolver\r\n+ note i 'resolving dependencies...'\r\n+ case \"$1\" in\r\n+ echo -e '\\e[1;34m::\\e[0m resolving dependencies...'\r\n:: resolving dependencies...\r\n+ (( i=0 ))\r\n+ (( i<1 ))\r\n++ awk -F '>|<|=' '{print $1}'\r\n+ aurpkgs[$i]='error)'\r\n+ (( i++ ))\r\n+ (( i<1 ))\r\n+ deps+=(\"${aurpkgs[@]}\")\r\n+ FindDepsAur 'error)'\r\n+ [[ -n '' ]]\r\n+ [[ -z '' ]]\r\n+ depspkgsaur=(\"${aurpkgs[@]}\")\r\n+ downloadjson 'error)'\r\n+ aururl='https://aur.archlinux.org/rpc.php?type=multiinfo&v=3'\r\n+ urlencodedpkgs=($(sed 's/+/%2b/g' <<< $@ | sed 's/@/%40/g'))\r\n++ sed s/+/%2b/g\r\n++ sed s/@/%40/g\r\n++ printf '&arg[]=%s' 'error)'\r\n+ urlargs='&arg[]=error)'\r\n+ [[ 13 -lt 8125 ]]\r\n+ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=3&arg[]=error)' -o /tmp/pacaurtmp-neitsab/rpc.json\r\n+ errdeps+=($(LC_COLLATE=C comm -3 <(tr ' ' '\\n' <<< $(getjsonvar \"Name\") | sort -u) <(tr ' ' '\\n' <<< ${depspkgsaur[@]} | sort -u)))\r\n++ LC_COLLATE=C\r\n++ comm -3 /dev/fd/63 /dev/fd/62\r\n+++ sort -u\r\n+++ sort -u\r\n+++ tr ' ' '\\n'\r\n++++ getjsonvar Name\r\n+++ tr ' ' '\\n'\r\n++++ awk -F '#' '{print $2}'\r\n++++ sed -r s/Name:/Name#/g\r\n++++ grep -Po 'Name:.*'\r\n++++ json_reformat\r\n++++ tr -d '\", '\r\n+ depspkgs=($(getjsonarray \"Depends\"))\r\n++ getjsonarray Depends\r\n++ json_reformat\r\n++ tr -d ', '\r\n++ sed -e '/^\"Depends\"/,/]/!d'\r\n++ tr -d '\\n'\r\n++ tr -d '\\\"'\r\n++ tr '\\n' ' '\r\n++ tr -d '[]\"'\r\n++ awk -F : '{print $2}'\r\n++ sed 's/] /]\\n/g'\r\n+ depspkgs+=($(getjsonarray \"MakeDepends\"))\r\n++ getjsonarray MakeDepends\r\n++ json_reformat\r\n++ tr -d ', '\r\n++ tr -d '\\n'\r\n++ sed -e '/^\"MakeDepends\"/,/]/!d'\r\n++ sed 's/] /]\\n/g'\r\n++ awk -F : '{print $2}'\r\n++ tr -d '[]\"'\r\n+ [[ false = true ]]\r\n+ depspkgs=($($pacmanbin -T \"${depspkgs[@]}\" | sort -u))\r\n++ pacman -T\r\n++ sort -u\r\n+ unset depspkgsaur\r\n+ [[ -n '' ]]\r\n+ unset depspkgs\r\n+ [[ -n '' ]]\r\n+ [[ -n '' ]]\r\n+ downloadjson 'error)'\r\n+ aururl='https://aur.archlinux.org/rpc.php?type=multiinfo&v=3'\r\n+ urlencodedpkgs=($(sed 's/+/%2b/g' <<< $@ | sed 's/@/%40/g'))\r\n++ sed s/+/%2b/g\r\n++ sed s/@/%40/g\r\n++ printf '&arg[]=%s' 'error)'\r\n+ urlargs='&arg[]=error)'\r\n+ [[ 13 -lt 8125 ]]\r\n+ curl -sfg --compressed -C 0 'https://aur.archlinux.org/rpc.php?type=multiinfo&v=3&arg[]=error)' -o /tmp/pacaurtmp-neitsab/rpc.json\r\n+ depsAname=($(getjsonvar \"Name\"))\r\n++ getjsonvar Name\r\n++ json_reformat\r\n++ tr -d '\", '\r\n++ awk -F '#' '{print $2}'\r\n++ sed -r s/Name:/Name#/g\r\n++ grep -Po 'Name:.*'\r\n+ depsAver=($(getjsonvar \"Version\"))\r\n++ getjsonvar Version\r\n++ json_reformat\r\n++ tr -d '\", '\r\n++ sed -r s/Version:/Version#/g\r\n++ awk -F '#' '{print $2}'\r\n++ grep -Po 'Version:.*'\r\n+ depsAood=($(getjsonvar \"OutOfDate\"))\r\n++ getjsonvar OutOfDate\r\n++ json_reformat\r\n++ tr -d '\", '\r\n++ grep -Po 'OutOfDate:.*'\r\n++ sed -r s/OutOfDate:/OutOfDate#/g\r\n++ awk -F '#' '{print $2}'\r\n+ (( i=0 ))\r\n+ (( i<0 ))\r\n+ [[ false = false ]]\r\n+ depsAlastmodified=($(getjsonvar \"LastModified\"))\r\n++ getjsonvar LastModified\r\n++ json_reformat\r\n++ awk -F '#' '{print $2}'\r\n++ grep -Po 'LastModified:.*'\r\n++ sed -r s/LastModified:/LastModified#/g\r\n++ tr -d '\", '\r\n+ (( i=0 ))\r\n+ (( i<0 ))\r\n+ for i in '\"${errdeps[@]}\"'\r\n+ note f 'no results found for error)'\r\n+ case \"$1\" in\r\n+ echo -e '\\e[1;31m::\\e[0m no results found for error)'\r\n:: no results found for error)\r\n+ [[ -n error) ]]\r\n+ exit 1\r\n```"},"comment":{"url":"https://api.github.com/repos/rmarquis/pacaur/issues/comments/73583224","html_url":"https://github.com/rmarquis/pacaur/issues/267#issuecomment-73583224","issue_url":"https://api.github.com/repos/rmarquis/pacaur/issues/267","id":73583224,"user":{"login":"xinulsw","id":8876897,"avatar_url":"https://avatars.githubusercontent.com/u/8876897?v=3","gravatar_id":"","url":"https://api.github.com/users/xinulsw","html_url":"https://github.com/xinulsw","followers_url":"https://api.github.com/users/xinulsw/followers","following_url":"https://api.github.com/users/xinulsw/following{/other_user}","gists_url":"https://api.github.com/users/xinulsw/gists{/gist_id}","starred_url":"https://api.github.com/users/xinulsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinulsw/subscriptions","organizations_url":"https://api.github.com/users/xinulsw/orgs","repos_url":"https://api.github.com/users/xinulsw/repos","events_url":"https://api.github.com/users/xinulsw/events{/privacy}","received_events_url":"https://api.github.com/users/xinulsw/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T20:25:45Z","updated_at":"2015-02-09T20:25:45Z","body":"Thx for suggestion."}}