Pamac doesn't start anymore

After todays update of libpamac-aur (11.7.0-1) pamac gui doesn’t start anymore.
If I start from terminal I get:

❯ pamac update

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:35.567: cannot register existing type 'PamacAURPlugin'

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:35.567: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(pamac:5537): GLib-CRITICAL **: 17:21:35.567: g_once_init_leave: assertion 'result != 0' failed

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:35.567: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:35.570: cannot register existing type 'PamacAppstreamPlugin'

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:35.570: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(pamac:5537): GLib-CRITICAL **: 17:21:35.570: g_once_init_leave: assertion 'result != 0' failed

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:35.570: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:35.576: cannot register existing type 'PamacFlatpakPlugin'

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:35.576: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(pamac:5537): GLib-CRITICAL **: 17:21:35.576: g_once_init_leave: assertion 'result != 0' failed

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:35.576: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:36.057: cannot register existing type 'AlpmConfig'

(pamac:5537): GLib-GObject-CRITICAL **: 17:21:36.057: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(pamac:5537): GLib-CRITICAL **: 17:21:36.057: g_once_init_leave: assertion 'result != 0' failed

(pamac:5537): GLib-GObject-ERROR **: 17:21:36.057: cannot create new instance of invalid (non-instantiatable) type '<invalid>'
fish: Job 1, 'pamac update' terminated by signal SIGTRAP (Verfolgungs- oder Haltepunkt erreicht)

Fix is available in repo now, update your system

Still not working with 11.7.0-2

❯ pamac update

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.198: cannot register existing type 'PamacAURPlugin'

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.198: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(pamac:3065): GLib-CRITICAL **: 17:48:30.198: g_once_init_leave: assertion 'result != 0' failed

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.198: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.200: cannot register existing type 'PamacAppstreamPlugin'

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.200: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(pamac:3065): GLib-CRITICAL **: 17:48:30.200: g_once_init_leave: assertion 'result != 0' failed

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.200: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.204: cannot register existing type 'PamacFlatpakPlugin'

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.204: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(pamac:3065): GLib-CRITICAL **: 17:48:30.204: g_once_init_leave: assertion 'result != 0' failed

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.204: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.673: cannot register existing type 'AlpmConfig'

(pamac:3065): GLib-GObject-CRITICAL **: 17:48:30.673: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(pamac:3065): GLib-CRITICAL **: 17:48:30.673: g_once_init_leave: assertion 'result != 0' failed

(pamac:3065): GLib-GObject-ERROR **: 17:48:30.673: cannot create new instance of invalid (non-instantiatable) type '<invalid>'
fish: Job 1, 'pamac update' terminated by signal SIGTRAP (Verfolgungs- oder Haltepunkt erreicht)

Can not reproduce

I see, the repo build one is not working, but the local built one. Need to wait for manjaro guys then

I have the same issue and just updated to pamac-aur-11.7.1-5. What do you mean by the “local built one”? I tried downloading the package with “yay -G pamac-aur” so I could build it locally but I get an error "fatal: could not read Username for ‘https://gitlab.archlinux.org’: terminal prompts disabled context: exit status 128.

I understand CachyOS has pamac-aur in its own repository but usually “yay -G” will download distro repository packages as well as AUR packages. Am I missing something?

You might want to try with:

yay -S aur/pamac-aur aur/libpamac-aur

or use paru with the same command, and you should be able to get it from the AUR instead of the CachyOS repos

Thank you for your response @soulharsh007. However I’m looking to download the CachyOS pamac-aur and libpamac-aur packages with their PKGBUILD, as I know when I installed CachyOS the point was made that their pamac was modified in some way. Do you know how I can do that?

From what I understand if I could and then built the packages locally they would work. Though I’m still not certain, it would at least be worth trying.

Issue persists with 11.7.2-2

I think it’s libpamac-aur causing this issue.
Started with 11.7.0-1
Still the same with 11.7.0-5

The problem is, that if I build the pkg in chroot then it results into that issue. if its build on my pc, without clean chroot then it does not happen. Its fully broken average manjaro pkg

1 Like

Hi, I have the same problem. The package from the aur “pamac-flatpak” works if it helps anyone

I updated to the latest packages in the repository, pamac-aur 11.7.2-3 and libpamac-aur 11.7.0-5, just now and have the same issue. Should I wait longer? It seems like libpamac-aur should be 11.7.2. By the way I ran reflector to make sure my repositories were up to date, and rebooted a few times as well. Here’s the output when I run pamac-manager from the terminal:

(process:6708): GLib-GObject-CRITICAL **: 10:47:44.652: cannot register existing type ‘PamacAURPlugin’

(process:6708): GLib-GObject-CRITICAL **: 10:47:44.652: g_type_interface_add_prerequisite: assertion ‘G_TYPE_IS_INTERFACE (interface_type)’ failed

(process:6708): GLib-CRITICAL **: 10:47:44.652: g_once_init_leave: assertion ‘result != 0’ failed

(process:6708): GLib-GObject-CRITICAL **: 10:47:44.652: g_type_add_interface_static: assertion ‘g_type_parent (interface_type) == G_TYPE_INTERFACE’ failed

(process:6708): GLib-GObject-CRITICAL **: 10:47:44.652: cannot register existing type ‘PamacAppstreamPlugin’

(process:6708): GLib-GObject-CRITICAL **: 10:47:44.652: g_type_interface_add_prerequisite: assertion ‘G_TYPE_IS_INTERFACE (interface_type)’ failed

(process:6708): GLib-CRITICAL **: 10:47:44.652: g_once_init_leave: assertion ‘result != 0’ failed

(process:6708): GLib-GObject-CRITICAL **: 10:47:44.652: g_type_add_interface_static: assertion ‘g_type_parent (interface_type) == G_TYPE_INTERFACE’ failed

(process:6708): GLib-GObject-CRITICAL **: 10:47:44.859: cannot register existing type ‘AlpmConfig’

(process:6708): GLib-GObject-CRITICAL **: 10:47:44.859: cannot add private field to invalid (non-instantiatable) type ‘’

(process:6708): GLib-CRITICAL **: 10:47:44.859: g_once_init_leave: assertion ‘result != 0’ failed

(process:6708): GLib-GObject-ERROR **: 10:47:44.859: cannot create new instance of invalid (non-instantiatable) type ‘’
Trace/breakpoint trap (core dumped)

Remove pamac-aur and install pamac-flatpak. It works.

How can I download your code with the PKGBUILD files @ptr1337? Could you please reply with links? I can only find final packages, not the PKGBUILD and other files so I can build the packages locally.

I believe it’s here, someone smarter correct me if i’m wrong, please!

The PKGBUILD is in this directory for libpamac-aur.

Aha! Thank you @Redmage913!. I downloaded the package and built it locally and it works perfectly.

Note that you need to open the PKGBUILD and change “pkgrel=4” to “pkgrel=5” because the current repo package is 11.7.0-5.

thank you!!

Hi all, I noticed Chaotic-AUR has a working binary of pamac. I’m pretty sure until the last day or so they had either pamac-aur or pamac-flatpak in the repo, can’t remember which one, but now they just have one called pamac which seems to work fine

install with the command yay -S aur/pamac-aur aur/libpamac-aur , it worked but when I update the system it asks to update pamac but it will be updated with the packages from the cachyos repository which we were not even able to open. pamac, then to ignore the update of these pamac packages you have to edit pacman.conf.

To ignore updates for the libpamac-aur and pamac-aur packages, you can configure them in the ignored packages list in the Pacman configuration file. Follow the steps below:

Open the Pacman configuration file:

sudo nano /etc/pacman.conf

Locate the [options] section in the file and add the IgnorePkg line with the packages you want to ignore. In this case, add libpamac-aur and pamac-aur, separated by a space:

[options]
IgnorePkg = libpamac-aur pamac-aur

Save the file and close the editor (Ctrl + X, then Y and Enter in nano to confirm).

Run the update command again to verify that the packages were ignored:

sudo pacman -Syu

This will prevent pacman from updating these packages automatically. When you want to update them manually, you can remove these packages from the IgnorePkg list or use yay or paru with a specific command for the package.

image links:

1 Like