You are not logged in.

#1 2026-01-25 04:26:57

TiniBobini
Member
Registered: 2025-10-16
Posts: 5

[SOLVED] Error While Updating Packages

After an update about a week ago I have not been able to use Pacman or Yay due to an error. I get this error with both regardless of what packages I try and install.

Pacman Version:

Pacman v7.1.0 - libalpm v16.0.1

I could not get the version of yay, I get the same error when I try use --version as when I use -Syu.

This is the output of Pacman when I try to run:

sudo pacman -Syu
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (65) {Packages hidden for privacy}

Total Installed Size:  1341.89 MiB
Net Upgrade Size:        -0.22 MiB

:: Proceed with installation? [Y/n] checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Running pre-transaction hooks...
(1/2) Checking Arch News with Informant...
Traceback (most recent call last):
  File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 407, in from_name
    return next(iter(cls.discover(name=name)))
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/informant", line 33, in <module>
    sys.exit(load_entry_point('informant==0.6.0', 'console_scripts', 'informant')())
             ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/informant", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
                       ~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 960, in distribution
    return Distribution.from_name(distribution_name)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 409, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for informant
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded

The output of Yay when I try to run:

yay -Syu
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory

I tried following the guide this post (and other similar post I've found) provides. But the all the guides like this that I have found require Pacman to update Yay which doesn't work due to Pacman not working. So I tried updating Pacman using the pacman-static section of the Pacman Page (3.7.1) but I got the same error that I get when I run Pacman normally.

I have tried finding others with this issue but I couldn't find anything. What can I do to get Pacman and Yay working normally again? Any advice would be appreciated. Thank you!

[EDIT]
After following the suggestions given by the users Lone_Wolf and killertofus (thank you both!) I have gotten everything to work correctly. I had to rebuilt yay and yay-bin but in the end everything seems to have worked!

Last edited by TiniBobini (2026-01-25 20:24:07)


“I wish it need not have happened in my time," said Frodo.
"So do I," said Gandalf, "and so do all who live to see such times. But that is not for them to decide. All we have to decide is what to do with the time that is given us.”
― J.R.R. Tolkien

Offline

#2 2026-01-25 05:35:01

killertofus
Member
Registered: 2025-02-10
Posts: 152

Re: [SOLVED] Error While Updating Packages

remove informant, update, reinstall informant


please enter your credit card number and expiration date to continue this conversation

Offline

#3 2026-01-25 11:52:38

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,723

Re: [SOLVED] Error While Updating Packages

Informant is an aur package that uses python. You have to rebuild it against the new python 4.14 .

Moderator Note
Not a pacman issue, moving to AUR Issues, Discussion & PKGBUILD Requests


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB