group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #29939
[Bug 1599646] Re: E-mail report contains repeated "Reading database ... NN%" lines
This bug has been fixed in 1.1ubuntu1.18.04.9.
** Changed in: unattended-upgrades (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1599646
Title:
E-mail report contains repeated "Reading database ... NN%" lines
Status in unattended-upgrades package in Ubuntu:
Fix Released
Status in unattended-upgrades source package in Xenial:
Fix Released
Status in unattended-upgrades source package in Bionic:
Fix Released
Status in unattended-upgrades source package in Cosmic:
Fix Released
Status in apt package in Debian:
New
Bug description:
[Impact]
* Unattended-upgrades sends the following repeating dpkg progress lines with almost no informational value in the email report:
...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 60486 files and directories currently installed.)
...
* This makes the report email too verbose and makes harder to spot
real problems.
[Test Case]
* Run package autopkgtest and observe no such lines in the echoed
email in upgrade-all-security and upgrade-between-snapshots tests.
[Regression Potential]
* The fix filters dpkg's output only and in the worst case other
lines could be missing or u-u could crash. Since the applied hard-
coded regex pattern is fairly simple and we observed no crashes in the
tests those regressions are unlikey to occur.
[Originial Bug Text]
This concerns unattended-upgrades 0.90 in Xenial.
Here is an excerpt from an e-mail report sent out by u-u after the
upgrade process is completed:
Package installation log:
Log started: 2016-07-06 17:24:21
Preconfiguring packages ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 314949 files and directories currently installed.)
Preparing to unpack .../tzdata_2016f-0ubuntu0.16.04_all.deb ...
Unpacking tzdata (2016f-0ubuntu0.16.04) over (2016d-0ubuntu0.16.04) ...
Preparing to unpack .../libgimp2.0_2.8.16-1ubuntu1.1_i386.deb ...
All but the last "Reading database ..." line should be elided from the
message.
As a matter of fact, those lines do not appear in messages mailed out
from current Trusty systems (u-u version 0.82.1ubuntu2.4), so this
appears to be a regression.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1599646/+subscriptions