DNF5 misses a newline before printing the final transaction result

Hi, I have updated to f41 a few weeks back, and everything was smooth sailing.

However, I have noticed that when dnf update finishes execution, the output has a typo in it:

“Complet!ng”

2 Likes

It is actually displaying “Complete!” on a non-empty line without erasing the rest of the line.

It seems to print a carriage return \r without a newline \n for all scriptlets.
This leads to overwriting the same line and also affects the resulting message.
You should report the issue here:

2 Likes

I would guess the intention was to replace the entire line containing information about running the last trigger script.

It should not try to erase output. I cannot see why that would be valid.

It does with all the other lines about running various pre, post and trigger scripts. dnf4 didn’t do that and there you will see all those information lines.

Here’s the issue that’s been filed. Please follow the discussion there:

2 Likes