Remote Peer Disconnected and seg fault in pamac-manager?

The past few days (since the last larger update) when attemptiing to open the GUI for Add/Remove Software, I get the same error message as this poster from September 2024. I also read the two posts rom Nov and Dec 2024. I do not have AUR enabled or Flat Pack (or whatever it is called).

I tried pamac-manager this morning and it opened the GUI and then executed sudo pacman-mirrors --continent && sudo pacman -Syu.

Since then I had to reboot and now when I try pamac-manager, this message is returned.

pamac-manager
zsh: segmentation fault (core dumped) pamac-manager

I tried pamac install pamac-gtk3 and the GUI now opens again. But it also opened this morning after using pamac-manager.

Not complaining, just thought this error may be useful since I didn’t see it mentioned in the earlier posts.

Thank you. Kernel 6.12; KDE.

1 Like

The message ‘remote peer disconnected’ has been seen many times.

The usual cure is to restart the application.

I do not know why it happens, as I have not been deepdiving the code, but I can think of two possibe reasons.

First thought is internal dbus communication - pamac uses a dbus service (pamac-daemon) and it may be that service disconnected or did not respond.

Second thought could be if pamac is fetching aur metadata from a CDN bucket at aur.manjaro.org and that service disconnects.

No matter the cause - restarting the application usually work.

Kernel 6.12; KDE. Same exact issue, although I’m unsure which two posts from November and December 2024 the OP is referring to.

Sorry about that . They were Nov 2024 split to Dec 2024.

When trying to find them again, I came across another Dec 2024 which already made mention of seg fault error.

Thus, perhaps my post should be deleted since it didn’t add anything new at all.