You are not logged in.
Pages: 1
I'm trying to upgrade my system but its coming up with errors.
warning: could not get file information for usr/share/beef/Gemfile.lock
error: hook /etc/pacman.d/hooks/gdm.hook line 9: invalid option /usr/lib/systemd/system/gdm.service to work around bug
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
I've tried multiple different solutions that I've found but nothing is solving it.
Last edited by wmax (2022-06-06 10:50:38)
Offline
Could you share your complete `/etc/pacman.d/hooks/gdm.hook' file?
Fun fact: I actually have no clue what I'm doing
Offline
Where does '/etc/pacman.d/hooks/gdm.hook' come from?
Offline
this is /etc/pacman.d/hooks/gdm.hook
[Trigger]
Operation=Install
Operation=Upgrade
Type=Package
Target=gdm
[Action]
Description=Adds a small delay to
/usr/lib/systemd/system/gdm.service to work around bug
Depends=coreutils
When=PostTransaction
Exec=/usr/bin/sed -i '/^\[service]/a
ExecStartPre=\/bin\/sleep 2'
/usr/lib/systemd/system/gdm.service
i made this when my boot up was coming up as a black screen, im still not sure if this was the fix or not though
Offline
It's actually wrapped like that in the file? Yeah, that obviously isn't good.
Most people will add their display driver to the initramfs to get around those issues.
Online
ok so should i get rid of the hook then?
if i do im still going to have this error:
warning: could not get file information for usr/share/beef/Gemfile.lock
Offline
Or fix it, the error should be obvious. But yeah, early kms is a better solution.
Warnings are not errors. That file (which is not from the repos, no idea what package has it) got deleted for some reason.
Online
alright thanks appreciate the help
Offline
Pages: 1