[Bug 494349] [NEW] "pkcon get-updates" noisy on non-terminal

Elan Ruusamäe glen at delfi.ee
Wed Dec 9 08:35:32 CET 2009


Public bug reported:

PackageKit background job, configured in /etc/sysconfig/packagekit-
background as

ENABLED=yes
CHECK_ONLY=yes

invokes in /etc/cron.daily/packagekit-background.cron 
...

# do action
if [ "$CHECK_ONLY" = "yes" ]; then
        pkcon get-updates > $PKTMP
else
        pkcon update > $PKTMP
fi

.... this prints some terminal control chars to email, which it didn't
before and shouldn't do either now:

Getting updates               78[                         ] (0%)  8[                         ] (0%)  8[=========================]         
Querying                      78[                         ] (0%)  8[ ==                      ]         8[  ==                     ]         8[   ==                    ]         8[    ==                   ]         8[     ==                  ]         8[      ==                 ]         8[       ==                ]         8[        ==               ]         8[         ==              ]         8[          ==             ]         8[           ==            ]         8[            ==           ]         8[             ==          ]         8[              ==         ]         8[               ==        ]         8[                ==       ]         8[                 ==      ]         8[                  ==     ]         8[                   ==    ]         8[                    ==   ]         8[                     ==  ]         8[                      == ]         8[                       ==]         8[                       ==]         8[       
                == ]         8[                     ==  ]         8[                    ==   ]         8[                   ==    ]         8[                  ==     ]         8[                 ==      ]         8[                ==       ]         8[               ==        ]         8[              ==         ]         8[             ==          ]         8[            ==           ]         8[           ==            ]         8[          ==             ]         8[         ==              ]         8[        ==               ]         8[       ==                ]         8[      ==                 ]         8[     ==                  ]         8[    ==                   ]         8[   ==                    ]         8[  ==                     ]         8[ ==                      ]         8[==                       ]         8[==                       ]         8[ ==                      ]         8[  ==                     ]         8[   ==   
                  ]         8[    ==                   ]         8[     ==                  ]         8[      ==                 ]         8[       ==                ]         8[        ==               ]         8[         ==              ]         8[          ==             ]         8[           ==            ]         8[            ==           ]         8[             ==          ]         8[              ==         ]         8[               ==        ]         8[                ==       ]         8[                 ==      ]         8[                  ==     ]         8[                   ==    ]         8[                    ==   ]         8[                     ==  ]         8[                      == ]         8[                       ==]         8[                       ==]         8[                      == ]         8[                     ==  ]         8[                    ==   ]         8[                   ==    ]         8[         
          ==     ]         8[                 ==      ]         8[                ==       ]         8[               ==        ]         8[              ==         ]         8[             ==          ]         8[            ==           ]         8[           ==            ]         8[          ==             ]         8[         ==              ]         8[=========================]         
Blocked      java-sun-1.6.0.16-1.x86_64
Blocked      java-sun-jre-1.6.0.16-1.x86_64
Blocked      java-sun-jre-X11-1.6.0.16-1.x86_64
Blocked      java-sun-tools-1.6.0.16-1.x86_64
Blocked      kernel-3:2.6.31.5-1.x86_64
Blocked      kernel-drm-3:2.6.31.5-1.x86_64
Blocked      kernel-sound-alsa-3:2.6.31.5-1.x86_64
Blocked      kernel-sound-oss-3:2.6.31.5-1.x86_64
Blocked      openvpn-2.1-0.rc20.1.x86_64
Normal       xorg-docs-1.5-2.noarch
Blocked      xorg-driver-input-evdev-2.3.0-1.x86_64
Blocked      xorg-driver-video-nv-2.1.15-2.x86_64
Blocked      xorg-xserver-server-1.7.1-1.x86_64

** Affects: pld-linux
     Importance: Low
         Status: New

-- 
"pkcon get-updates" noisy on non-terminal
https://bugs.launchpad.net/bugs/494349
You received this bug notification because you are subscribed to PLD
Linux.

Status in PLD Linux Distribution: New

Bug description:
PackageKit background job, configured in /etc/sysconfig/packagekit-background as

ENABLED=yes
CHECK_ONLY=yes

invokes in /etc/cron.daily/packagekit-background.cron 
...

# do action
if [ "$CHECK_ONLY" = "yes" ]; then
        pkcon get-updates > $PKTMP
else
        pkcon update > $PKTMP
fi

.... this prints some terminal control chars to email, which it didn't before and shouldn't do either now:

Getting updates               78[                         ] (0%)  8[                         ] (0%)  8[=========================]         
Querying                      78[                         ] (0%)  8[ ==                      ]         8[  ==                     ]         8[   ==                    ]         8[    ==                   ]         8[     ==                  ]         8[      ==                 ]         8[       ==                ]         8[        ==               ]         8[         ==              ]         8[          ==             ]         8[           ==            ]         8[            ==           ]         8[             ==          ]         8[              ==         ]         8[               ==        ]         8[                ==       ]         8[                 ==      ]         8[                  ==     ]         8[                   ==    ]         8[                    ==   ]         8[                     ==  ]         8[                      == ]         8[                       ==]         8[                       ==]         8[       
                == ]         8[                     ==  ]         8[                    ==   ]         8[                   ==    ]         8[                  ==     ]         8[                 ==      ]         8[                ==       ]         8[               ==        ]         8[              ==         ]         8[             ==          ]         8[            ==           ]         8[           ==            ]         8[          ==             ]         8[         ==              ]         8[        ==               ]         8[       ==                ]         8[      ==                 ]         8[     ==                  ]         8[    ==                   ]         8[   ==                    ]         8[  ==                     ]         8[ ==                      ]         8[==                       ]         8[==                       ]         8[ ==                      ]         8[  ==                     ]         8[   ==   
                  ]         8[    ==                   ]         8[     ==                  ]         8[      ==                 ]         8[       ==                ]         8[        ==               ]         8[         ==              ]         8[          ==             ]         8[           ==            ]         8[            ==           ]         8[             ==          ]         8[              ==         ]         8[               ==        ]         8[                ==       ]         8[                 ==      ]         8[                  ==     ]         8[                   ==    ]         8[                    ==   ]         8[                     ==  ]         8[                      == ]         8[                       ==]         8[                       ==]         8[                      == ]         8[                     ==  ]         8[                    ==   ]         8[                   ==    ]         8[         
          ==     ]         8[                 ==      ]         8[                ==       ]         8[               ==        ]         8[              ==         ]         8[             ==          ]         8[            ==           ]         8[           ==            ]         8[          ==             ]         8[         ==              ]         8[=========================]         
Blocked      java-sun-1.6.0.16-1.x86_64
Blocked      java-sun-jre-1.6.0.16-1.x86_64
Blocked      java-sun-jre-X11-1.6.0.16-1.x86_64
Blocked      java-sun-tools-1.6.0.16-1.x86_64
Blocked      kernel-3:2.6.31.5-1.x86_64
Blocked      kernel-drm-3:2.6.31.5-1.x86_64
Blocked      kernel-sound-alsa-3:2.6.31.5-1.x86_64
Blocked      kernel-sound-oss-3:2.6.31.5-1.x86_64
Blocked      openvpn-2.1-0.rc20.1.x86_64
Normal       xorg-docs-1.5-2.noarch
Blocked      xorg-driver-input-evdev-2.3.0-1.x86_64
Blocked      xorg-driver-video-nv-2.1.15-2.x86_64
Blocked      xorg-xserver-server-1.7.1-1.x86_64




More information about the pld-bugs mailing list