Skip to content

System becomes unusable after update: libgcc_s.so.1 missing during gcc-libs upgrade #6209

Description

@kaveit

System details

Omarchy 3.8.2

What's wrong?

Environment

  • Omarchy 3.8.2
  • Btrfs + Snapper
  • Limine bootloader
  • Freshly restored snapshot before every `test

log.txt

`

Problem

Every time I update the system (either using omarchy-update or pacman -Syu), the system becomes unusable.

The issue is reproducible.

Steps to reproduce

  1. Boot into a healthy restored snapshot.
  2. Verify everything works normally.
  3. Run:
omarchy-update

(or)

sudo pacman -Syu
  1. During the transaction, post-transaction hooks start failing.

Errors

Examples:

journalctl: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

systemd-hwdb: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

depmod: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

Many subsequent hooks fail because libgcc_s.so.1 can no longer be loaded.

Result

After reboot:

  • Hyprland does not start.
  • TTY is either unavailable or unusable.
  • The system is effectively broken.
  • I have to restore a previous snapshot to recover.

Additional information

Before updating:

pacman -Qkk gcc-libs

reports:

64 total files, 0 altered files

and

ls -l /usr/lib/libgcc_s.so*

shows:

/usr/lib/libgcc_s.so
/usr/lib/libgcc_s.so.1

So the snapshot is healthy before the update.

The failure consistently occurs during the gcc-libs upgrade, after which post-transaction hooks begin reporting that libgcc_s.so.1 is missing.

This has happened multiple times on freshly restored snapshots.

Any guidance or debugging steps would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions