Jguer / yay

Yet another Yogurt - An AUR Helper written in Go
GNU General Public License v3.0
11.16k stars 363 forks source link

Cant update yay from version 9.4.4-1 to 9.4.6-2 #1201

Closed goldcoders closed 3 years ago

goldcoders commented 4 years ago

when i update yay

type yay

i get this

  yay 
[sudo] password for uriah: 
:: Synchronizing package databases... 
 core is up to date 
 extra is up to date 
 community is up to date 
 multilib is up to date 
:: Starting full system upgrade... 
 there is nothing to do 
:: Searching databases for updates... 
:: Searching AUR for updates... 
 -> Missing AUR Packages:  ioport 
 -> Orphaned AUR Packages:  lynda-dl  nozbe 
 -> Flagged Out Of Date AUR Packages:  android-sdk  bombardier  bootstrap-studio  firebase-tools  nerd-fonts-complete  postman-bin  spotify 
:: 1 Packages to upgrade. 
1  aur/yay  9.4.4-1 -> 9.4.6-2 
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==> 
:: Checking for conflicts... 
:: Checking for inner conflicts... 
[Aur: 1]  yay-9.4.6-2 
  1 yay                              (Installed) (Build Files Exist) 
==> Packages to cleanBuild? 
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) 
==> 
:: PKGBUILD up to date, Skipping (1/1): yay 
  1 yay                              (Installed) (Build Files Exist) 
==> Diffs to show? 
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) 
==> 
:: Parsing SRCINFO (1/1): yay 
==> Making package: yay 9.4.6-2 (Sun 01 Mar 2020 10:52:33 AM PST) 
596 aur/gplaycli 3.28-1 (+14 0.69%) 
    command line tool to search/install/update Android applications Google PlayStore able to run with cronjob, in order to automatically update an F-Droid server instance 
595 aur/orfeo-toolbox 7.0.0-4 (+14 0.00%) 
    ORFEO Toolbox (OTB) is an open source library of image processing algorithms 
594 aur/gtk4-git 3.94.0.r400.g0edec9bcae-1 (+14 0.00%) 
    GObject-based multi-platform GUI toolkit (GIT Version) 
593 aur/android-google-apis 24_r1-1 (+14 0.03%) 
    Android Google APIs, latest API 
592 aur/goldendict-qt5-git 1.5.0.RC2.369.gade20fc1-1 (+14 0.07%)    Feature-rich dictionary lookup program 
591 aur/govendor 1.0.9-1 (+14 0.00%) (Orphaned) 
    Go vendor tool that works with the standard vendor file. 
590 aur/cpuminer-multi-git 1.3.5.r20.gc207355-4 (+14 0.00%) 
    Multi-algo CPUMiner & Reference Cryptonote Miner (JSON-RPC 2.0) - git version 
589 aur/datovka 4.14.1-2 (+14 0.06%) 
    GUI application for a 'Databox' - an electronic communication interface endorsed by the Czech government 
588 aur/supercollider-git 3.10.4.r724.g1b0e7a0092-1 (+14 0.00%) 
    Environment and programming language for real time audio synthesis and algorithmic composition 
587 aur/trezord-git 2.0.28.r0.gcabc7c7-1 (+14 0.40%) 
    Trezor Communication Daemon aka Trezor Bridge (written in Go) 
586 aur/sogo2 2.3.23-1 (+15 0.00%) 
    groupware server built around OpenGroupware.org (OGo) and the SOPE application server 
585 aur/libzopflipng-git 1.0.1.r19.g16e0741-1 (+15 0.00%) 
    PNG optimisation library using Google's zopfli library, git version. 
584 aur/v8 8.0.426.18-1 (+15 0.00%) 
    Fast and modern Javascript engine used in Google Chrome. 
583 aur/openstego 0.7.3-1 (+15 0.00%) 
    Plugin based tool for steganography, with encrytion support.
582 aur/libzopfli-git 1.0.1.r19.g16e0741-1 (+15 0.00%) 
    Compression library by Google, git version. 
581 aur/zopflipng-git 1.0.1.r19.g16e0741-1 (+15 0.00%) 
    PNG optimisation tool using Google's zopfli library, git version. 
580 aur/studio-3t 2020.2.1-1 (+15 0.14%) 
    The professional workspace for MongoDB (formerly known as MongoChef) 
579 aur/mikogo 4.5.120116-3 (+15 0.00%) (Orphaned) 
    Mikogo screen-sharing server 
578 aur/android-google-play-services r42-1 (+15 0.00%) (Out-of-date 2018-11-11) 
    Google Play Services client library and sample code 
577 aur/zopfli-git 1.0.1.r19.g16e0741-1 (+15 0.00%) 
    Compression utility by Google, git version. 
576 aur/soundfont-sgm 2.01-1 (+16 0.01%) 
    A balanced, good quality GM soundbank 
575 aur/unzip-iconv 6.0-6 (+16 0.00%) 
    Unpacks .zip archives such as those made by PKZIP. With iconv patch for -O / -I goodness. 
574 aur/argouml 0.35.1-1 (+16 0.03%) 
    UML 1.4 modeller 
573 aur/sope2 2.3.23-1 (+16 0.00%) 
    application server used by SOGo 
572 aur/robocode 1.9.3.6-1 (+16 0.00%) (Out-of-date 2020-02-12) 
    Programming game, where the goal is to develop a robot battle tank to battle against other tanks in Java or .NET. The robot battles are running in real-time and on-screen. 
571 aur/sirikali 1.4.2-1 (+16 0.25%) 
    A Qt/C++ GUI front end to cryfs, gocryptfs, securefs and encfs 
570 aur/argon 2.0.4-3 (+16 0.00%) 
    the noble lightweight GUI package manager + update notifier (with full AUR support) 
569 aur/gotop 3.3.2-1 (+16 1.56%) 
    A terminal based graphical activity monitor inspired by gtop and vtop 
568 aur/goffice0.8 0.8.17-4 (+17 0.00%) 
    A library of document-centric objects and utilities built on top of GLib and Gtk+ 
567 aur/gigolo-git 1:0.4.2.r77.g1a32294-1 (+17 0.00%) 
    Frontend to manage connections to remote filesystems using GIO/GVFS 
566 aur/cloudprint-git 1:110.d55435a-2 (+17 0.00%) (Orphaned) 
    Google cloudprint proxy for CUPS - development version 
565 aur/python2-gpsoauth 0.4.1-1 (+17 0.10%) 
    A python client library for Google Play Services OAuth. 
564 aur/ttf-go-sans-git r192.b7f8df6-1 (+17 0.18%) 
    Sans-serif fonts from the Go font family 
563 aur/gobi-firmware 1-7 (+17 0.00%) 
    Firmware for gobi 2000 wwan chipset 
562 aur/gimp-brushbox 2.1-2 (+17 0.00%) 
    Set of brushes, presets, dynamics made by GrindGod 
561 aur/dma 0.12-1 (+17 0.11%) 
    DragonFly BSD mail transport agent 
560 aur/pencil-material-icons-git 2.0.0.r0.g35dd733-1 (+17 0.00%) 
    All 700+ of Google's Material Design Icons as a Pencil stencil collection. 
559 aur/ttf-go-mono-git r192.b7f8df6-1 (+17 0.18%) 
    Monospace fonts from the Go font family 
558 aur/python-pychromecast-git 360.0a3ba3f-1 (+17 0.51%) 
    Library for Python 3 to communicate with the Google Chromecast. 
557 aur/go-for-it-git 627.f21b255-1 (+18 0.00%) (Out-of-date 2019-03-10) 
    A stylish to-do list with built-in productivity timer. 
556 aur/ttf-migu 20150712-2 (+18 0.00%) 
    Good looking Japanese TrueType font by mixing M+ and IPA. 
555 aur/vim-go 1.21-1 (+18 0.16%) 
    Go development plugin for Vim 
554 aur/ruby-fast-stemmer 1.0.2-1 (+18 0.00%) (Orphaned) 
    Fast Porter stemmer based on a C version of algorithm 
553 aur/nootka 1.4.6-1 (+18 0.00%) 
    A crossplatform tool for learning classical score notation. Mostly for guitarists but also very good for ear training. 
552 aur/x2godesktopsharing 3.1.1.3-1 (+18 0.00%) (Out-of-date 2018-12-31) 
    X2Go add-on tool that allows a user to grant other X2go users access to the current session (shadow session support). 
551 aur/colobot-gold 0.1.12_alpha-1 (+18 0.00%) 
    Colobot GOLD is a real-time strategy game with programmable bots. 
550 aur/gonvert 0.2.39-1 (+18 0.00%) 
    unit conversion utility with 51 categories and 972 units 
549 aur/levmar 2.6-3 (+18 0.00%) 
    Levenberg-Marquardt nonlinear least squares algorithms in C/C++ 
548 aur/ddgr 1.7-1 (+18 0.67%) 
    DuckDuckGo from the terminal 
547 aur/python-gmusicapi 12.1.1-2 (+18 0.03%) 
    An unofficial client library for Google Music 
546 aur/python2-polygon 2.0.8-1 (+18 0.00%) 
    Python package that handles polygonal shapes in 2D 
545 aur/jcryptool 0.9.9-3 (+19 0.00%) (Out-of-date 2019-04-07) 
    e-learning application for applying and analysing cryptographic algorithms 
544 aur/xenlism-wildfire-icon-theme-git 2018.05beta1.r26.g77c43c2-1 (+19 0.12%) 
    Minimalism And Realism Mix and match, Meego And iOS icon Style 
543 aur/django-registration 2.7-1 (+19 0.00%) 
    A simple, generic user-registration application for Django 
542 aur/yay-git 9.4.6.r0.g352667f-3 (+19 1.15%) 
    Yet another yogurt. Pacman wrapper and AUR helper written in go. (development version) 
541 aur/arangodb 3.6.1-1 (+19 0.01%) 
    A multi-model NoSQL database, combining key-value, document and graph data models. 
540 aur/statusnotifier 1.0.0-1 (+19 0.00%) 
    Library to use KDE's StatusNotifierItem via GObject 
539 aur/linux_logo_archcustom 5.11-2 (+20 1.59%) 
    Text-based logo and system information program 
538 aur/perl-algorithm-permute 0.16-2 (+20 0.00%) 
    Perl package for handy and fast permutations with object oriented interface 
537 aur/s 0.5.14-1 (+20 0.00%) 
    Web search from the terminal. Supports over 50 providers including google, github, and stackoverflow. 
536 aur/ruby-text 1.3.1-3 (+20 0.00%) 
    A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double Metaphone, Porter Stemming 
535 aur/autofirma 1.6.5-2 (+20 2.04%) 
    Spanish Government digital signature client 
534 aur/audacious-vortigo-themes 20080531-1 (+20 0.00%) 
    Vortigo themes for Audacious 
533 aur/svgo 1.3.2-1 (+21 0.03%) 
    Tool for optimizing SVG files 
532 aur/mongodb 4.2.2-1 (+21 0.68%) (Out-of-date 2020-02-02) 
    A high-performance, open source, schema-free document-oriented database 
531 aur/xfractint 20.04p14-3 (+21 0.00%) 
    A fractal generator wellknown from good old DOS days 
530 aur/blender-better-collada-git 111.9a8fae9-1 (+21 0.00%) (Orphaned) 
    Better Collada exporter for Blender, made for the Godot Engine 
529 aur/libgcal-git 20111102-1 (+21 0.00%) (Orphaned) 
    ANSI C library that does allow communication with google calendar and contacts - Git Version 
528 aur/jgoodies-looks 2.8.0-3 (+21 0.00%) 
    A Java Swing look and feel library 
527 aur/gocode-git 637.10c1e59-1 (+21 0.14%) (Orphaned) (Out-of-date 2018-09-04) 
    An autocompletion daemon for the Go programming language 
526 aur/go-ipfs-git 0.4.9.r4.g864bf47a5-1 (+21 0.01%) (Out-of-date 2019-04-19) 
    global versioned p2p merkledag file system 
525 aur/django-docs 3.0-1 (+22 0.44%) 
    Docs for Django's release 
524 aur/gobi-loader 0.7-5 (+22 0.00%) 
    Loader for gobi wwan chipset firmware 
523 aur/gogh 0.1.2.3-5 (+22 0.00%) 
    Bitmap graphics editor for pressure-sensitive input devices 
522 aur/python-pychromecast 4.1.1-1 (+22 0.36%) 
    Library for Python 3 to communicate with the Google Chromecast 
521 aur/translate-shell-git 0.9.6.11.r5.g0115103-1 (+23 0.34%) 
    A command-line interface and interactive shell for Google Translate. 
520 aur/python-gdbgui 0.13.2.0-3 (+23 1.25%) 
    Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser. https://gdbgui.com 
519 aur/qtwebflix-git 0.1.r173.ga50ef71-1 (+23 0.22%) 
    Standalone HD Netflix Browser using qt5-webengine (also supports Amazon prime, HBO Go, Hulu, Crunchy Roll) 
518 aur/ice-ssb 6.0.8-1 (+23 1.38%) 
    A simple Site Specific Browser for Firefox, Chromium and Google Chrome from "Peppermint OS" Project 
517 aur/oranchelo-icon-theme 0.8.0.1-1 (+23 0.31%) 
    Oranchelo is a flat-design icon theme for XFCE4 based on Super Flat Remix and inspired by "Corny icons" by Patryk Goworowski. 
516 aur/grantlee-qt4 0.5.1-4 (+23 0.01%) (Orphaned) 
    A string template engine based on the Django template system and written in Qt4 
515 aur/ttf-nanumgothic_coding 2.5-1 (+24 0.01%) 
    Nanum series fixed width TrueType fonts 
514 aur/plymouth-theme-dark-arch 20151130-2 (+24 0.16%) 
    A Plymouth theme with a dark background and a big spinner around the ArchLinux logo. 
513 aur/gpmdp-git 4.7.1-1 (+24 0.00%) 
    A beautiful cross platform Desktop Player for Google Play Music. 
512 aur/ldraw-parts-library 20190902-1 (+24 0.00%) 
    A collection of LDraw-format CAD files representing many of LEGO bricks produced 
511 aur/erfa 1.7.0-1 (+24 0.57%) 
    Set of algorithms and procedures used in fundamental astronomy 
510 aur/plymouth-theme-arch-charge 20190914-4 (+25 1.69%) 
    A Plyouth theme based on Fedora's Charge theme, but featuring the ArchLinux logo. 
509 aur/dexter 0.18-4 (+25 0.00%) (Orphaned) 
    Address Book that goes hand in hand with Postler 
508 aur/perl-math-convexhull-monotonechain 0.01-1 (+25 0.14%) 
    Math::ConvexHull::MonotoneChain - Andrew's monotone chain algorithm for finding a convex hull in 2D 
507 aur/erusfont 0.7-1 (+25 0.00%) 
    A bitmap font for programming and terminal/tty use, greatly inspired from montecarlo and gohufont, many thanks to their creator 
506 aur/cargo-git 3:1.25.0.r74258.39abcc0413-1 (+25 0.00%) 
    The Rust package manager 
505 aur/spigot 1.15.2+b108-1 (+25 0.00%) 
    High performance Minecraft server implementation 
504 aur/mytourbook_bin 20.2.0-1 (+25 0.04%) 
    A tool to visualize and analyze tours recorded by a GPS device, ergometer, bike- or exercise computer. 
503 aur/ocrgui 0.2.2-5 (+25 0.00%) 
    GUI for OCR programs (Tesseract, GOCR) 
502 aur/crow-translate 2.3.1-1 (+26 2.19%) 
    A simple and lightweight translator that allows to translate and say selected text using Google, Yandex and Bing translate API 
501 aur/quarry 0.3.0.1-2 (+26 0.00%) 
    A multi-purpose GUI for Go, Amazons, and Othello 
500 aur/kag 0.91A-2 (+26 0.00%) 
    King Arthur's Gold Classic is a game about building castles and destroying your enemies (inspired by Soldat and Minecraft) 
499 aur/mkinitcpio-archlogo 0.3.0-1 (+26 0.00%) 
    Add colored Arch Linux ASCII art logo to early boot process 
498 aur/mongoose 6.17-1 (+27 0.00%) 
    Easy to use, powerful, embeddable web server 
497 aur/gopreload-git r49.ebb83fe-2 (+27 0.00%) 
    Preloads files needed for given programs 
496 aur/typecatcher 0.3-2 (+28 0.00%) 
    Download Google webfonts for off-line use 
495 aur/pycharm-eap 2020.1.201.5259.14-1 (+28 0.54%) 
    Powerful Python and Django IDE, Early Access Program (EAP) build. Professional edition. 
494 aur/perl-math-clipper 1.29-1 (+28 0.14%) 
    Math::Clipper - Polygon clipping in 2D 
493 aur/mattermost 5.20.1-1 (+29 0.17%) 
    Open source Slack-alternative in Golang and React 
492 aur/leocad 19.07.1-1 (+29 0.00%) 
    A CAD program for creating virtual LEGO models 
491 aur/liboobs 3.0.0-3 (+30 0.00%) 
    GObject based interface to system-tools-backends - shared library 
490 aur/zeitgeist-extensions 0.0.13-1 (+31 0.00%) 
    Extensions to the engine such as Teamgeist, Relevancy Providers and Machine Learning Algorithms 
489 aur/pan-git 1:0.145.r15.g476b5a6-1 (+31 0.00%) (Orphaned) 
    Pan is a Usenet newsreader that's good at both text and binaries. Development version. 
488 aur/cloudprint-cups-git 1:20160502.r16.g1f27903-5 (+31 0.00%) 
    Google Cloud Print driver for CUPS, allows printing to printers hosted on GCP - git version 
487 aur/translate-git 0.3.0-1 (+31 0.00%) 
    Google Translator command line interface 
486 aur/plymouth-theme-arch-logo-new 0.1-2 (+31 0.00%) 
    Replace the logo from package plymouth-theme-arch-logo 
485 aur/gopenvpn-git svn.migration.r12.gb4192eb-6 (+31 0.00%) 
    gopenvpn is a simple graphical front-end for OpenVPN, the open source VPN solution. 
484 aur/mongodb-compass 1.20.5-1 (+31 1.39%) 
    The MongoDB GUI 
483 aur/google-appengine-go 1.9.48-1 (+32 0.00%) 
    Google App Engine SDK for Go 
482 aur/plymouth-theme-paw-arch 1-2 (+32 0.00%) 
    Plymouth theme inspired by Mac OS X boot splash, but with Arch Linux logo 
481 aur/google-authenticator-libpam-git r120.c1b3879-1 (+32 0.00%) (Orphaned) 
    PAM module for google authenticator app 
480 aur/godot-git 3.1.dev-2 (+33 0.13%) 
    Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine. 
479 aur/ttf-mgopen 1.1-13 (+33 0.00%) 
    TrueType fonts containing glyphs for the Latin and Greek alp==> Retrieving sources... 
  -> Found yay-9.4.6.tar.gz 
==> Validating source files with sha1sums... 
    yay-9.4.6.tar.gz ... Passed 
==> Making package: yay 9.4.6-2 (Sun 01 Mar 2020 10:52:37 AM PST) 
==> Checking runtime dependencies... 
==> Checking buildtime dependencies... 
==> Retrieving sources... 
  -> Found yay-9.4.6.tar.gz 
==> Validating source files with sha1sums... 
    yay-9.4.6.tar.gz ... Passed 
==> Removing existing $srcdir/ directory... 
==> Extracting sources... 
  -> Extracting yay-9.4.6.tar.gz with bsdtar 
==> Sources are ready. 
==> Making package: yay 9.4.6-2 (Sun 01 Mar 2020 10:52:45 AM PST) 
==> Checking runtime dependencies... 
==> Checking buildtime dependencies... 
==> WARNING: Using existing $srcdir/ tree 
==> Removing existing $pkgdir/ directory... 
==> Starting build()... 
go build -v -mod=mod -ldflags '-s -w -linkmode external -extldflags "-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" -X "main.version=9.4.6"' -modcacherw -gcflags all=-trimpath=/home/uriah/.cache/yay/yay/src/yay-9.4.6 -asmflags all=-trimpath=/home/uriah/.cache/yay/yay/src/yay-9.4.6 -o yay 
flag provided but not defined: -modcacherw 
usage: go build [-o output] [-i] [build flags] [packages] 
Run 'go help build' for details. 
make: *** [Makefile:49: yay] Error 2 
==> ERROR: A failure occurred in build(). 
    Aborting... 
Error making: yay 
   …/Apps/yay/src     master                        1    
piotrek-szczygiel commented 4 years ago

Looks like go package hasn't been updated to 1.14 yet

Morganamilo commented 4 years ago

That's a partial upgrade. Don't do that.

felipemarinho97 commented 4 years ago

The gcc-go package from core repo is currently at 1.12, so this doesn't necessarily means that's a partial upgrade.

felipemarinho97 commented 4 years ago

A workaround is install the go package, update Yay ant then reinstall gcc-go.

depado commented 4 years ago

Workaround: yay --editmenu -S yay Edit the PKGBUILD and replace -modcacherw with -mod=readonly in the EXTRA_GOFLAGS section. Worked for me thanks to menta on the AUR page of yay

webdawg commented 4 years ago

Anyway to avoid this in the future.

Jguer commented 4 years ago

-mod=readonly makes yay unable to clean the repository after installing which is why I don't recommend it outright unless you know the implications

fiskhest commented 4 years ago

I had the same issue even though pacman told me that go 1.14 was installed. Checked PATH and which binary I was actually using, and found out that I was using a go binary installed by linuxbrew.

❯ type go
go is /home/linuxbrew/.linuxbrew/bin/go
❯ go version
go version go1.12 linux/amd64

After removing the go-binary installed in brew, installation started working:

❯ brew remove go
...
❯ yay -Syu
...
==> Finished making: yay-git 9.4.6.r0.g352667f-3 (Thu 05 Mar 2020 11:34:26 AM CET)
==> Cleaning up...
==> Found git repo: github.com/Jguer/yay.git
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) yay-git-9.4.6.r0.g352667f-3

Total Installed Size:   6.26 MiB
Net Upgrade Size:      -0.05 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                             [################################] 100%
(1/1) checking package integrity                           [################################] 100%
(1/1) loading package files                                [################################] 100%
(1/1) checking for file conflicts                          [################################] 100%
(1/1) checking available disk space                        [################################] 100%
:: Processing package changes...
(1/1) upgrading yay-git                                    [################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
goldcoders commented 4 years ago

manage to fix this , by using downgrade but i installed go latest version which is 1.14.1

downgrade go

choose 1.14-1 then do yay again

then after that upgrading yay will be ok

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.