I've had an error when upgrading my system with pacman -Syu
installing libbpf (1.3.0-1) breaks dependency 'libbpf=1.2.2-1' required by libbpf-static
I followed advice from here: https://www.reddit.com/r/archlinux/comments/157kw84/update_error_trying_to_understand_what_happened/
that is, I removed orphan packages. This removed libbpf-static. Then I performed the pacman -Syu
normally. Now I can't upgrade Teleport, because I'm getting the following error:
[gabor@ggwork ~]$ yay -Syu --devel --aur
:: Searching AUR for updates...
:: Checking development packages...
-> No AUR package found for libbpf=1.2.2-1
:: 4 dependencies will also be installed for this operation.
extra/gendesk -> 1.0.9-3
(make dependency of dropbox)
extra/go -> 2:1.21.5-1
(make dependency of teleport, teleport-client)
extra/yarn -> 1.22.21-1
(make dependency of teleport, teleport-client)
aur/libbpf-static -> 1.2.2-1
(make dependency of teleport, teleport-client)
:: 5 packages to upgrade/install.
5 aur/dropbox 175.4.5569-1 -> 186.4.6207-1
4 aur/dropbox-cli 2020.03.04-6 -> 2023.09.06-1
3 aur/jetbrains-toolbox 1.25.12569-1 -> 2.1.2.18853-1
2 aur/teleport 14.1.3-1 -> 14.2.2-1
1 aur/teleport-client 14.1.3-1 -> 14.2.2-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
==> 3 4
-> could not find all required packages: libbpf =1.2.2-1
Also, Teleport has stopped working:
[gabor@ggwork ~]$ tsh db connect <redacted>
psql: error: connection to server at "localhost" (::1), port 41807 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
connection to server at "localhost" (127.0.0.1), port 41807 failed: SSL SYSCALL error: Success
free(): invalid pointer
ERROR: signal: aborted (core dumped)
Could you please advise me on how to resolve this situation?
Edit: In the meantime, I managed to upgrade Teleport by locally changing the pkgver of libbpf-static to 1.3.0, and then manually installing first libbpf-static, and then teleport. However, the above free(): invalid pointer
error is still happening.
Pinned Comments