Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: mkosi-mainline: Workaround 'dpkg: error: dpkg frontend lock' #284

Merged
merged 1 commit into from
Aug 3, 2023

Commits on Aug 3, 2023

  1. CI: mkosi-mainline: Workaround 'dpkg: error: dpkg frontend lock'

    Mkosi's own dracut hook, which is triggered from `dpkg -i`, calls
    `dpkg-reconfigure` causing dpkg frontend lock conflict. But `initrd.img`
    is generated correctly. Workaround by ignoring `dpkg-reconfigure` errors
    in the hook.
    
      dpkg: error: dpkg frontend lock was locked by another process with pid 5
      Note: removing the lock file is always wrong, can damage the locked area
      and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.
      run-parts: /etc/kernel/postinst.d/zz-systemd-boot exited with return code 2
    
    Link: lkrg-org#283
    Signed-off-by: Vitaly Chikunov <[email protected]>
    vt-alt committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    8dd96da View commit details
    Browse the repository at this point in the history