Problem updating repository and packages

hi guys, wanted to update the repository and packages by running the command - sudo pacman -Syu, но получаю такую ошибку:

:: Обновление баз данных пакетов…
core is up to date
extra is up to date
multilib is up to date
:: Запускается полное обновление системы…
предупреждение: xf86-video-fbdev: unknown key ‘%URL1Nhttps://github.com/linuxwacom/n’ in sync database
предупреждение: xf86-video-fbdev: unknown key ‘%dh’ in sync database
предупреждение: xf86-video-fbdev: unknown key ‘GV6sg8qCSsFAmYJxPIACgkQlGV6sg8qCSsXHgf/T+jw+VvUwexPHp2695z8Xx1KsUidowlqXrXyli+UIawGIYc1jfProoKcLqiKLygrrkvYL54Be2uK+0MZNI24l/uVxSM9cQwr0STRpbWAG92k2r59i/1qnVVGLXff/hiYqYhtALgzJyhA9lUTtYPXwHkeojeFMofMH3RZ4Zn4yQFNKB6fzqSPvFFB+IlbLXJEXdO2HHlErISz3Zj’ in sync database
ошибка: не удалось разобрать файл описания ‘xf86-video-fbdev-0.5.0-4/desc’ из базы ‘extra’
делать больше нечего

I don’t know how to fix this, I asked the gpt chat how to fix it, it offered the following options:

  1. sudo pacman -Syy

  2. sudo rm -r /var/lib/pacman/sync
    sudo pacman -Syy

  3. sudo pacman -S xf86-video-fbdev

  4. sudo pacman -Dk

  5. sudo pacman -Scc
    sudo pacman -Syyu

  6. sudo pacman -R xf86-video-fbdev

  7. IgnorePkg = xf86-video-fbdev

but nothing helped(((((((

Please prefix any commands whose output you want to share here with “LANG=C”, like so… :point_down:

LANG=C sudo pacman -Syu

Have you tried refreshing your mirrors first? :point_down:

sudo pacman-mirrors -f && sudo pacman -Syu
1 Like

Thank you very much Friend! Updating mirrors helped. I am not a genius and do not understand much about Linux distributions, I did not know that this could be a solution. Can you please tell me how you determined that updating mirrors could help?) I am stupid, forgive me

1 Like

Well, given that I don’t know to what extent you understand the concepts, I will try explaining first what the mirrors are. :wink:

The packages that you install from the Manjaro repositories — i.e. core and extra — are hosted at multiple servers at the same time. These servers are spread out across the whole world, and their local copies of the repositories are periodically synchronized, so that all servers would end up carrying the same packages. So far, so good, but because of various circumstances, not all of the servers are in sync with the main repository all of the time.

Now, when you try installing packages or updating your system by way of pacman, pacman will use a locally saved list of mirrors on your system to attempt to pull the packages from, and while this list of mirrors may have been up to date a while ago, it may happen that they are not in sync anymore today, and then you may indeed run into invalid checksums or signatures, or missing packages.

Updating your mirror list runs a check against which mirrors have synchronized their repositories already and which ones have not, and will save this new list on your system. And then pacman can download the package(s) you want from these updated mirrors.

I hope I’ve explained it adequately. :wink:

2 Likes

you are The Best Man! <3
Thank You! <3

2 Likes

Stick around, and you will find that there are many helpful and knowledgeable volunteers here at the Manjaro forum. :wink:

In addition to that, I would recommend the following… :point_down:

  1. Regularly visit the forum — I would recommend at least once a week, but preferably more often — and subscribe to notifications for the Announcements and Stable Updates categories. Every bundled update always comes with a dedicated announcement thread, of which the first post details the changes, and the second post addresses the potential pitfalls and how to fix them or avoid them.

  2. Take a look around in our very elaborate Tutorials category, where you will find ample excellent advice, tips & tricks, and full-scale tutorials.

  3. Bookmark these two pages in your browser… :point_down:
    ° the Manjaro Wiki
    ° the Arch Wiki

  4. Here are a couple of helpful tutorials…
    a. [HowTo] Post command output and file content as formatted text
    b. [HowTo] Request support
    c. [Tutorial] Understanding and working with UNIX filesystems and permissions
    d. [HowTo] Updating Manjaro as safely as possible
    e. [HowTo] Recovering from an interrupted update/upgrade

:wink:

1 Like

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