Log for apt-update-upgrade is ugly

Bug #1012613 reported by Martin Packman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Low
Martin Packman

Bug Description

Calls to apt-get within cloud-init use the normal output aimed at interactive use, which bloats the log and makes it harder to read. For instance:

    ^M^M0% [Working]^M ^MIgn http://security.ubuntu.com precise-security InRelease
    ^M ^M12% [Waiting for headers]^M ^MIgn http://archive.ubuntu.com precise InRelease

By the apt-get man page, -q is "Quiet; produces output suitable for logging, omitting progress indicators." so would avoid the junk without losing important details. Testing it out, it does omit some updates ("Reading package lists..." is never marked as done) but generally seems much clearer.

Related branches

Scott Moser (smoser)
Changed in cloud-init:
assignee: nobody → Martin Packman (gz)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Scott Moser (smoser) wrote :

fixed committed in revno 560.
I did change '-q' to '--quiet'. I just prefer the long flag for readability.

Thanks, Martin.

Changed in cloud-init:
status: In Progress → Fix Committed
Scott Moser (smoser)
Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.