stdout and stderr are not synced on lines

Bug #1522988 reported by Removed by request
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released

Bug Description

I'm using Ubuntu 16.04 dev with apt 1.1.3 and I'm noticing that for example if on executing "apt-get update" error messages are shown they are often broken. They are missing sometimes characters which seem to be splitted across multiple lines. It looks that apt doesn't ensure writing complete lines if stdout and stderr are used.

Revision history for this message
David Kalnischkies (donkult) wrote :

Without an example nobody will ever know what you might mean.

You might be meaning accidentally debug output – I that happened sometime ago, could be 1.1 and should be fixed in newer versions. Or perhaps you mean that you enabled debug output and expect it to be all orderly – not going to happen: Multiple processes are running here which would need to be synced by an additional output layer all so that debug output looks nicer…). Or you mean sometimes else which might or might not be a bug (still). Without additional details it is at least not an actionable bugreport hence set to 'incomplete'.

Changed in apt (Ubuntu):
status: New → Incomplete
Revision history for this message
Removed by request (removed3425744) wrote :

If I remember correctly the broken error messages were the one from this issue ( ) as they appeared around the same time.

Changed in apt (Ubuntu):
status: Incomplete → New
Revision history for this message
David Kalnischkies (donkult) wrote :

And which are the "broken error messages" then, I don't see any… ?

(the messages are on the longer side, which makes it look "funny" if wrapped like it is in launchpad, but I don't see what is broken about it…)

Revision history for this message
Removed by request (removed3425744) wrote :

So you have tried to reproduce this issue on a terminal and haven't seen mixed lines? For example they can look like this one: "Err:4 zesty InReleasedn't create temporary file /tmp/apt.conf.eKCBxI for passing config to apt-key"

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt - 1.4~beta2

apt (1.4~beta2) unstable; urgency=high

  [ John R. Lenton ]
  * bash-completion: Only complete understood file paths for install
    (LP: #1645815)

  [ Julian Andres Klode ]
  * SECURITY UPDATE: gpgv: Check for errors when splitting files (CVE-2016-1252)
    Thanks to Jann Horn, Google Project Zero for reporting the issue
    (LP: #1647467)
  * gpgv: Flush the files before checking for errors

 -- Julian Andres Klode <email address hidden> Thu, 08 Dec 2016 15:21:16 +0100

Changed in apt (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers