I think we need to release a new version of coreutils-from-uutils where cp points back to uutils instead of gnu, so after that the problem should be solved for good. In the changelog the cp was pointed to gnucp because it was missing -Z flag, so since it's present, we can point back to coreutils. Here is a test I did about this bug: ubuntu@ubuntu2510:/usr/bin$ sudo rm cp # Remove the original symbolic link pointed to gnucp binary ubuntu@ubuntu2510:/usr/bin$ sudo ln -s coreutils cp # create new symlink ubuntu@ubuntu2510:/usr/bin$ ll /usr/bin/cp # test it lrwxrwxrwx 1 root root 9 Jul 4 19:53 /usr/bin/cp@ -> coreutils ubuntu@ubuntu2510:/usr/bin$ cp --version # test it once more cp (uutils coreutils) 0.1.0 ubuntu@ubuntu2510:/usr/bin$ sudo update-initramfs -k 6.15.0-3-generic -c # Execute the original command that was failing before update-initramfs: Generating /boot/initrd.img-6.15.0-3-generic ubuntu@ubuntu2510:/usr/bin$ # success!!!
What do you think? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110910 Title: rust-coreutils: missing -Z flags To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2110910/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
