Skip to content

Pamac hangs during post-transaction hooks due to biglinux-improve-compatibility hooks #16

@pigeonskiller

Description

@pigeonskiller

Brief summary.

During updates Pamac hangs at 'Executing post-transaction hooks...' and specifically at the entry 'Compatibility improvements to make it easier to use packages compiled through the AUR'.

biglinux-improve-compatibility blocks the upgrade so much that I have to kill Pamac GUI and any remaining processes, remove the lock file, and then resync and update with pacman.

Draft for GitHub issue:

Title: Pamac hangs during post-transaction hooks due to biglinux-improve-compatibility hooks

Description:
I noticed that when updating packages with Pamac on BigLinux, the process often hangs at the “post-transaction hooks” stage, specifically while executing hooks related to AUR compatibility. After investigation, the root cause appears to be the hooks installed by the biglinux-improve-compatibility package:

Steps to reproduce:

  1. Install biglinux-improve-compatibility on a BigLinux system.
  2. Run a package update in Pamac (GUI or CLI).
  3. Observe that the update may hang at post-transaction hooks.

Suggested improvements for the hook:

  1. Ensure hooks are lightweight and non-blocking; long operations should run asynchronously or after the transaction completes.
  2. Provide a user-configurable option to disable the hook temporarily (e.g., via a config file).
  3. Add detailed logging for hook execution time and resources, to help diagnose issues.
  4. Test hooks thoroughly in standard Pamac update scenarios to ensure they do not block GUI or CLI operations.

Expected behavior:
Pamac should complete updates without hanging, even if biglinux-improve-compatibility is installed.

Actual behavior:
Pamac hangs during post-transaction hooks due to the BigLinux hook implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions