Public bug reported:

On Noble with live-build 3.0~a57-1ubuntu49.1, the lb_chroot_dpkg script
will cause a failure when removing the diversion /sbin/start-stop-
daemon:

    # begin-remove-after: released:forky
    Chroot chroot dpkg-divert --rename --quiet --remove /sbin/start-stop-daemon
    # end-remove-after
    Chroot chroot dpkg-divert --rename --quiet --remove 
/usr/sbin/start-stop-daemon

I think this is because /sbin -> /usr/sbin and so the script is
diverting the same file twice.

My workaround is:

    sed -i '/# begin-remove-after: released:forky/,/# end-remove-after/d' \
        /usr/lib/live/build/lb_chroot_dpkg

** Affects: live-build (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122623

Title:
  lb_chroot_dpkg breaks from two diversions for start-stop-daemon

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/2122623/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to