Bug#374195: Can't do anything: "terminate called after throwing an instance of 'std::logic_error'"
"ext Michael Vogt" <mvo@debian.org> writes:
> I think dpkg should be patched to strip out the \n from the messages
> that it sends over the status pipe.
Yes, I agree. I originally thought that the format of the "status:"
messages produced by dpkg specifically allows for multi-line output
(by flagging additional lines with a starting space, like in the
status file, etc). That was just a guess, tho.
> I attached a patch for dpkg to strip out the \n when it sends errors
> over the status pipe. Comments welcome.
(I think it should be "stripped_emsg", not "striped_emsg", no?)
Reply to: