The postinst script uses a pipe to grep, which can fail with SIGPIPE
if echo closes before grep reads. Replaced with shell pattern match
to avoid the pipe entirely.

** Patch added: "0001-Fix-broken-pipe-error-in-ubuntu-pro-client-postinst.patch"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2150286/+attachment/5969255/+files/0001-Fix-broken-pipe-error-in-ubuntu-pro-client-postinst.patch

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

Title:
  package ubuntu-pro-client 37.2ubuntu~24.04 failed to install/upgrade:
  installed ubuntu-pro-client package post-installation script
  subprocess was killed by signal (Broken pipe)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2150286/+subscriptions


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

Reply via email to