Error: target not found after updates

Hello there!

Every now and then after update using yay, some libs broke with the error "target not found".
The list is getting longer and many useful applications are broken, such as everything using electron.

Here is the list:

error: target not found: rust
error: target not found: llvm
error: target not found: tcl
error: target not found: tk
error: target not found: python-iniconfig
error: target not found: python-apipkg
error: target not found: python-py
error: target not found: python-pluggy
error: target not found: python-atomicwrites
error: target not found: python-wcwidth
error: target not found: python-pygments
error: target not found: python-pytest
error: target not found: dep
error: target not found: apache
error: target not found: libmcrypt
error: target not found: tidy
error: target not found: freetds
error: target not found: lynx
error: target not found: xmlto
error: target not found: docbook-xml
error: target not found: docbook-xsl

Does anyone else has this issue or know how to solve it?

This means that your mirror list might not be up-to-date or some of the listed packages are no longer in the repositories (most are, I have not checked all of them). The missing may have been in the official repositories the past, but not right now (probably removed). The existing ones you can simply install by pacman.

If the packages are no longer in the official repositiores check if they can be found in AUR and in this case use yay or any other AUR helper to install them.

First of all, thanks Wollie!

These errors are happening only with yay, though. Some packages I use are not in the official repository, so I usually use yay.
The thing is every time I update with yay, new packages are missed. They are on AUR, but yay doesn't find them apparently.

the list you give are all in official repos..

pacman -Si rust llvm tcl tk python-iniconfig python-apipkg python-py python-pluggy python-atomicwrites python-wcwidth python-pygments python-pytest dep apache libmcrypt tidy freetds lynx xmlto docbook-xml docbook-xsl
Repository      : extra
Name            : rust
Version         : 1:1.45.0-2
Description     : Systems programming language focused on safety, speed and concurrency
Architecture    : x86_64
URL             : https://www.rust-lang.org/
Licenses        : MIT  Apache
Groups          : None
Provides        : cargo  rustfmt
Depends On      : gcc-libs  llvm-libs  curl  libssh2
Optional Deps   : lldb: rust-lldb script
                  gdb: rust-gdb script
Conflicts With  : cargo  rustfmt
Replaces        : cargo  rustfmt  cargo-tree
Download Size   : 66.67 MiB
Installed Size  : 397.24 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : jeu 16 jui 2020 22:22:12
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : llvm
Version         : 10.0.1-1
Description     : Collection of modular and reusable compiler and toolchain technologies
Architecture    : x86_64
URL             : https://llvm.org/
Licenses        : custom:Apache 2.0 with LLVM Exception
Groups          : None
Provides        : None
Depends On      : llvm-libs  perl
Optional Deps   : python-setuptools: for using lit (LLVM Integrated Tester)
Conflicts With  : None
Replaces        : None
Download Size   : 38.56 MiB
Installed Size  : 251.36 MiB
Packager        : Evangelos Foutras <foutrelis@archlinux.org>
Build Date      : mer 22 jui 2020 21:04:34
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : tcl
Version         : 8.6.10-2
Description     : The Tcl scripting language
Architecture    : x86_64
URL             : http://tcl.sourceforge.net/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : zlib
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 2.49 MiB
Installed Size  : 6.64 MiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : sam 16 mai 2020 12:23:45
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : tk
Version         : 8.6.10-2
Description     : A windowing toolkit for use with tcl
Architecture    : x86_64
URL             : http://tcl.sourceforge.net/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : tcl=8.6.10  libxss  libxft
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 1930.12 KiB
Installed Size  : 4864.40 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : sam 16 mai 2020 14:30:50
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : community
Name            : python-iniconfig
Version         : 1.0.0-4
Description     : brain-dead simple config-ini parsing
Architecture    : any
URL             : https://github.com/RonnyPfannschmidt/iniconfig
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : python
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 8.30 KiB
Installed Size  : 19.22 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : ven 01 nov 2019 16:36:29
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : community
Name            : python-apipkg
Version         : 1.5-3
Description     : Namespace control and lazy-import mechanism
Architecture    : any
URL             : https://github.com/pytest-dev/apipkg
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : python
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 10.44 KiB
Installed Size  : 25.27 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : ven 01 nov 2019 13:58:21
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : community
Name            : python-py
Version         : 1.9.0-1
Description     : library with cross-python path, ini-parsing, io, code, log facilities
Architecture    : any
URL             : https://py.readthedocs.io/
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : python-iniconfig  python-apipkg
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 156.25 KiB
Installed Size  : 733.52 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : ven 26 jun 2020 04:23:04
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : community
Name            : python-pluggy
Version         : 0.13.1-1
Description     : Plugin and hook calling mechanisms for python
Architecture    : any
URL             : https://www.pluggypayments.com/docs/python
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : python-importlib-metadata
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 28.72 KiB
Installed Size  : 125.17 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : ven 22 nov 2019 17:36:59
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : community
Name            : python-atomicwrites
Version         : 1.4.0-1
Description     : Atomic file writes on POSIX
Architecture    : any
URL             : https://github.com/untitaker/python-atomicwrites
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : python
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 11.67 KiB
Installed Size  : 31.79 KiB
Packager        : David Runge <dvzrv@archlinux.org>
Build Date      : mer 29 avr 2020 00:02:23
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : community
Name            : python-wcwidth
Version         : 0.2.5-1
Description     : Measures number of Terminal column cells of wide-character codes
Architecture    : any
URL             : https://github.com/jquast/wcwidth
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : python
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 32.16 KiB
Installed Size  : 486.28 KiB
Packager        : Kyle Keen <keenerd@gmail.com>
Build Date      : mer 01 jui 2020 11:33:01
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : community
Name            : python-pygments
Version         : 2.6.1-3
Description     : Python syntax highlighter
Architecture    : any
URL             : https://pygments.org/
Licenses        : BSD
Groups          : None
Provides        : pygmentize
Depends On      : python-setuptools
Optional Deps   : None
Conflicts With  : pygmentize
Replaces        : pygmentize
Download Size   : 1816.04 KiB
Installed Size  : 9954.07 KiB
Packager        : Jonas Witschel <diabonas@archlinux.org>
Build Date      : mer 22 jui 2020 16:20:44
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : community
Name            : python-pytest
Version         : 5.4.3-1
Description     : Simple powerful testing with Python
Architecture    : any
URL             : https://pytest.org/
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : python-py  python-setuptools  python-pluggy  python-attrs  python-more-itertools  python-atomicwrites
                  python-wcwidth  python-importlib-metadata  python-pygments
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 469.61 KiB
Installed Size  : 2768.07 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : mer 03 jun 2020 09:49:34
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : community
Name            : dep
Version         : 0.5.4-5
Description     : Go dependency management tool
Architecture    : x86_64
URL             : https://golang.github.io/dep/
Licenses        : BSD
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : git: fetch git sources
Conflicts With  : None
Replaces        : None
Download Size   : 3.84 MiB
Installed Size  : 12.99 MiB
Packager        : Morten Linderud <foxboron@archlinux.org>
Build Date      : mar 09 jun 2020 23:14:37
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : apache
Version         : 2.4.43-1
Description     : A high performance Unix-based HTTP server
Architecture    : x86_64
URL             : https://www.apache.org/dist/httpd
Licenses        : APACHE
Groups          : None
Provides        : mod_proxy_uwsgi
Depends On      : zlib  apr-util  pcre  libnghttp2  openssl
Optional Deps   : lua: for mod_lua module
                  libxml2: for mod_proxy_html, mod_xml2enc modules
                  curl: for mod_md module
                  jansson: for mod_md module
                  brotli: for mod_brotli module
                  uwsgi: for mod_proxy_uwsgi module
                  lynx: apachectl status
Conflicts With  : mod_proxy_uwsgi
Replaces        : mod_proxy_uwsgi
Download Size   : 1684.80 KiB
Installed Size  : 6427.79 KiB
Packager        : Anatol Pomozov <anatol.pomozov@gmail.com>
Build Date      : mar 31 mar 2020 20:35:23
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : libmcrypt
Version         : 2.5.8-6
Description     : A library which provides a uniform interface to several symmetric encryption algorithms
Architecture    : x86_64
URL             : http://mcrypt.sourceforge.net/
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : glibc
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 79.71 KiB
Installed Size  : 205.95 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : sam 16 mai 2020 12:47:07
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : tidy
Version         : 5.7.16-2
Description     : A tool to tidy down your HTML code to a clean style
Architecture    : x86_64
URL             : https://www.html-tidy.org/
Licenses        : custom
Groups          : None
Provides        : tidyhtml
Depends On      : glibc
Optional Deps   : None
Conflicts With  : tidyhtml
Replaces        : tidyhtml
Download Size   : 467.18 KiB
Installed Size  : 3387.20 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : sam 16 mai 2020 11:33:07
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : freetds
Version         : 1.2.3-1
Description     : Library for accessing Sybase and MS SQL Server databases
Architecture    : x86_64
URL             : https://www.freetds.org
Licenses        : LGPL
Groups          : None
Provides        : None
Depends On      : openssl  unixodbc
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 1407.44 KiB
Installed Size  : 13820.75 KiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : ven 10 jui 2020 08:18:03
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : lynx
Version         : 2.8.9-3
Description     : A text browser for the World Wide Web
Architecture    : x86_64
URL             : https://lynx.browser.org/
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : openssl  libidn
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 1310.78 KiB
Installed Size  : 5115.99 KiB
Packager        : Evangelos Foutras <evangelos@foutrelis.com>
Build Date      : sam 16 mai 2020 11:09:19
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : xmlto
Version         : 0.0.28-4
Description     : Convert xml to many other formats
Architecture    : x86_64
URL             : https://pagure.io/xmlto/
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : libxslt
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 28.10 KiB
Installed Size  : 78.48 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : sam 16 mai 2020 12:09:10
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : docbook-xml
Version         : 4.5-9
Description     : A widely used XML scheme for writing documentation and help
Architecture    : any
URL             : https://www.oasis-open.org/docbook/
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : libxml2
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 89.02 KiB
Installed Size  : 2010.39 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : sam 16 mai 2020 11:34:27
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : extra
Name            : docbook-xsl
Version         : 1.79.2-7
Description     : XML stylesheets for Docbook-xml transformations
Architecture    : any
URL             : https://docbook.org/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : libxml2  libxslt  docbook-xml
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 887.25 KiB
Installed Size  : 26955.10 KiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : mer 10 jun 2020 19:12:04
Validated By    : MD5 Sum  SHA-256 Sum  Signature

the problem is something else, maybe a problem with your yay installation. :thinking:

Then use Pamac or trizen or any other AUR helper which does not show this behaviour I would say... :grin:

Good point, @thefuga did you install yay from normal repos or from AUR?

I've installed yay from the oficial repos with pacman. The oficial repos don't have a lot of packages I use though, so I usually only use yay. I've tried to rebuild yay but it does nothing.

They are, but some packages using these are not. The problem is when these packages are updated and yay tries to update their dependencies. Then this "target not found" errors occur.

yes... that mean your yay has a serious problem.. if when you try to update your system with pacman there is no issue.. then yay is the problem.. but I never had this problem with yay.. and I can't help on this..
if you have a yay config file in your home.. try to delete it.

I've tried to install yay from source, same problem. Then I decided to manually install these not-found packages and it works ¯\_(ツ)_/¯

You dropped this \

To prevent anymore lost limbs throughout the Manjaro forum, correctly escape the arms and shoulders by typing the shrug as ¯\\\_(ツ)_/¯ or ¯\\\_(ツ)\_/¯

3 Likes

Oh, I'm sorry. Should be fixed now.
Thanks everyone for your help!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by