-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathchangelog
More file actions
2785 lines (2117 loc) · 105 KB
/
changelog
File metadata and controls
2785 lines (2117 loc) · 105 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
unattended-upgrades (2.12+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* Remove unnecessary `global` statement, fixing flake8 test (closes:
#1125393).
-- Colin Watson <cjwatson@debian.org> Thu, 22 Jan 2026 11:03:52 +0000
unattended-upgrades (2.12) unstable; urgency=medium
[ middlingphys ]
* update japanese translation
[ Chris Hofstaedtler ]
* Install systemd-sleep part into /usr/lib (Closes: #1073745)
[ Adam Chovanec ]
* document missing option in the readme
[ Michael Vogt ]
* u-u: supress "DeprecationWarning" about fork() and multithreading
* test: create fake etc/apt/preferences.d to silence test warnings
* u-u: import "email.genators" package early as workaround
* data/50unattended-upgrades.md5sum: Update for config file changes
[ Kenyon Ralph ]
* unattended-upgrade-shutdown: fix typo in documentation
[ Wesley Schwengle ]
* Correct examples for Debian backports (Closes: #940151)
[ Marekjdj ]
* Fixed small typo in '50unattended-upgrades' config files.
[ Remus-Gabriel Chelu ]
* [INTL:ro] Romanian debconf templates translation of unattended-upgrades
(Closes: #1033760)
[ Atila KOÇ ]
* [INTL:tr] turkish debconf translation update (Closes: #1031852)
[ Camaleón ]
* [INTL:es] Spanish translation of the debconf template (Closes: #1029026)
-- Michael Vogt <mvo@debian.org> Wed, 01 Jan 2025 18:22:25 +0100
unattended-upgrades (2.11+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* Install systemd-sleep part into /usr/lib. (Closes: #1073745)
-- Michael Biebl <biebl@debian.org> Tue, 03 Sep 2024 14:46:13 +0200
unattended-upgrades (2.11) unstable; urgency=medium
[ Alexandre Detiste ]
* python2 cleaup
* flake8
[ Michael Vogt ]
* u-u: implement plugin system with `postrun()` functionality
* debian: switch to pytest in `debian/rules` and `test/Makefile`
* debian/tests: pass `-Zgzip` to dpkg-deb to avoid errors in tests
* unattended-upgrades: add debug output after run(), conffile prompt
* tests: workaround conffile prompt in "ubuntu-advanage-tools"
-- Michael Vogt <mvo@debian.org> Sun, 26 May 2024 22:17:35 +0200
unattended-upgrades (2.10) unstable; urgency=medium
* setup: add `packages=[]` to fix setuptools being confused
* test: rework and modernize to run with pytest
* mypy: fix/update type annotations
* po/ru.po: update plural forms
-- Michael Vogt <mvo@debian.org> Mon, 12 Feb 2024 12:05:10 +0100
unattended-upgrades (2.9.1+nmu4) unstable; urgency=medium
* Non-maintainer upload.
* Don't run pyflakes, it dropped support for type comments.
(Closes: #1058172)
-- Stefano Rivera <stefanor@debian.org> Mon, 22 Jan 2024 16:11:59 -0400
unattended-upgrades (2.9.1+nmu3) unstable; urgency=medium
* test: don't confuse -dbg and -unsigned with current running kernel
(Closes: #983363, #1012226)
-- Paul Gevers <elbrus@debian.org> Sat, 31 Dec 2022 21:59:00 +0100
unattended-upgrades (2.9.1+nmu2) unstable; urgency=high
* Non-maintainer upload.
* setup.py: Disable automatic package discovery by setting py_modules
to empty. (Closes: #1020150)
-- Boyuan Yang <byang@debian.org> Sat, 22 Oct 2022 21:28:14 -0400
unattended-upgrades (2.9.1+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* No source change upload to rebuild with debhelper 13.10.
-- Michael Biebl <biebl@debian.org> Sat, 15 Oct 2022 12:54:44 +0200
unattended-upgrades (2.9.1) unstable; urgency=medium
[ Jean-Pierre Giraud ]
* French translation updates (Closes: #989635)
[ Balint Reczey ]
* debian/tests/common-functions: Skip test if debootstrapping fails
* debian/control: Remove myself from Uploaders
[Michael Vogt]
* github: fix action to use current lts as base for autopkgtest
* github: move to latest lxd instead of hardcoding it
* github: move action to use stable (impish) for tests
-- Balint Reczey <balint@balintreczey.hu> Thu, 21 Jul 2022 14:25:14 +0200
unattended-upgrades (2.8) unstable; urgency=medium
[ Lucas Moura ]
* Add xenial 50unattended-upgrades version to md5sum.
On Xenial, we have a 50unattended-upgrades file that
is not covered on the md5sum history file. We are now adding
the md5sum of that Xenial file into it
[ Balint Reczey ]
* debian/tests/control: Add apt to test dependencies to get triggered
* test/test_remove_unused.py: Expect APT to protect two latest kernels.
This is a behaviour change in recent APT versions. (Closes: #980638)
-- Balint Reczey <rbalint@ubuntu.com> Fri, 19 Feb 2021 13:11:42 +0100
unattended-upgrades (2.7) unstable; urgency=medium
* Fix test_rewind on Debian Sid fixing FTBFS.
-- Balint Reczey <rbalint@ubuntu.com> Wed, 05 Aug 2020 14:03:32 +0200
unattended-upgrades (2.6) unstable; urgency=medium
* debian/tests/common-functions: Drop support for Ubuntu 19.10
* Make APT marking fallback configurable and disable it on Sid
(Closes: #960966)
* Drop handling pre-oldstable versions in maintainer scripts
* data/50unattended-upgrades.md5sum: Update for config file changes
-- Balint Reczey <rbalint@ubuntu.com> Tue, 04 Aug 2020 17:04:29 +0200
unattended-upgrades (2.5) unstable; urgency=medium
[ Jose Manuel Santamaria Lema ]
* Fix crash occuring when strict whitelist is in use (LP: #1883082)
[ Balint Reczey ]
* Fix indentation and type error
* Fix ambiguous variable name (Closes: #963314)
* Run GitHub Action's autopkgtest on Groovy
-- Balint Reczey <rbalint@ubuntu.com> Tue, 21 Jul 2020 15:42:17 +0200
unattended-upgrades (2.4) unstable; urgency=medium
* Fix checking if an upgrade/install marking succeeded.
The false negative result caused unattended-upgrades trying to apply
workarounds to upgrade/install the package using excessive amount of CPU
time. (Closes: #958883) (LP: #1877769)
* Treat "-" and ":" as valid parts of both Python and POSIX regular
expressions
-- Balint Reczey <rbalint@ubuntu.com> Sat, 09 May 2020 16:14:14 +0200
unattended-upgrades (2.3) unstable; urgency=medium
* Fix checking if Python regexp is also a POSIX regexp
* Prepend implied '^' when converting Python regex to a POSIX one
* Blacklist not trusted packages and ones with conffile prompts
instead of just pinning them once with NEVER_PIN which is can be cleared
later. (LP: #1871615) (Closes: #956339)
-- Balint Reczey <rbalint@ubuntu.com> Tue, 14 Apr 2020 00:37:21 +0200
unattended-upgrades (2.2) unstable; urgency=medium
* ci: Use apt-get instead of apt to avoid warnings
* Don't raise NoAllowedOriginError from call_adjusted() (LP: #1871633)
* Clear cache changes in do_install() instead of raising error when a
package is marked for removal. (LP: #1871639)
-- Balint Reczey <rbalint@ubuntu.com> Thu, 09 Apr 2020 15:29:33 +0200
unattended-upgrades (2.1) unstable; urgency=medium
* Don't try adjusting candidate if none of the versions is a candidate
(Closes: #955135)
* Try marking package for installation or upgrade only when it is allowed
i.e. honor whitelist and blacklist, too.
* debian/tests/upgrade-between-snapshots: Restore running test
-- Balint Reczey <rbalint@ubuntu.com> Mon, 30 Mar 2020 20:59:29 +0200
unattended-upgrades (2.0) unstable; urgency=medium
* Revert relying fully on pinning. APT's resolver can't be fully relied
on because sometimes it does not find the solution.
* Treat locally installed package versions as coming from a whitelisted origin
* Don't list kept packages in dry-run mode.
Since the kept packages are calculated based on the final system state
all packages that would be upgraded would be listed as kept in dry-run mode.
* Try installing/upgrading packages without any adjustment first.
The applied pinning should be enough for APT's resolver to find the right
candidate most of the time. The candidate version adjustments are still done
in cases where APT's resolver fails
* Report only higher available allowed versions with higher priority as kept
(Closes: #952569)
* Drop very long debug message about checking package list file
* Honor pinning when listing origin of kept back packages
-- Balint Reczey <rbalint@ubuntu.com> Thu, 12 Mar 2020 22:52:58 +0100
unattended-upgrades (1.18) experimental; urgency=medium
[ louib ]
* Update blacklist translations
* Fix syntax in template conf files
[ Balint Reczey ]
* Keep mypy 0.761 happy
* test: Create empty dirs to save kept packages list to them
* Log explanation about kept back packages (LP: #1850964)
(Closes: #945837, #903875)
* Use GitHub Actions for CI instead of Travis.
Run tests in Ubuntu Focal release because older releases don't have the
needed python-apt version.
* debian/tests/common-functions: Use backported python-apt from a PPA on Eoan
* debian/tests: Skip upgrade-between-snapshots test.
Python-apt's version is sid is too low for unattended-upgrades to work.
* Use apt_pkg.Hashes instead of deprecated apt_pkg.md5sum()
* autopkgtest: Skip upgrate-all-security in sid because buster can't be tested
* Make allowed_origins, blacklist and whitelist attributes of
UnattendedUpgradesCache
* Make strict_whitelist attribute of UnattendedUpgradesCache
* Apply pinning to disable not allowed origins and honor blacklist/whitelist.
This makes candidate adjustments obsolete, since apt's resolver would pick
candidates only from allowed origins by itself unless local pinning
configuration overrides that.
* Rely fully on pinning to disable allowed origins and stop adjusting
candidates.
* Drop Unattended-Upgrade::Allow-downgrade since now pinning is honored and
downgrades are allowed for package versions with priority >= 1000.
(Closes: #905877, #919046, #768087, #946491) (LP: #1251228, #1434115)
* Don't ignore allowed origin when the package's priority is < 100.
This used to be the way of honoring the priority, but now this special case
prevents the package from showing up as a package kept back.
* Assume frontend locking to be supported.
Python3-apt (>= 1.9.6~) is required which supports the frontend locking API
-- Balint Reczey <rbalint@ubuntu.com> Tue, 25 Feb 2020 19:28:13 +0100
unattended-upgrades (1.17) unstable; urgency=medium
[ Amit Gurdasani ]
* Check that a candidate is available before checking the version has changed.
* Add test case to check upgrade calculation behavior for a package with no
candidate.
[ Balint Reczey ]
* Fix help about --no-minimal-upgrade-steps (Closes: #946379)
* data/50unattended-upgrades.Ubuntu: add new ESM repositories (LP: #1857051)
-- Balint Reczey <rbalint@ubuntu.com> Thu, 23 Jan 2020 16:20:04 +0100
unattended-upgrades (1.16) unstable; urgency=medium
[ Kaupo Arulo ]
* Allow package downgrade if Pin-Priority exceeds 1000
[ Debian Janitor ]
* Trim trailing whitespace.
* Use secure copyright file specification URI.
* Use set -e rather than passing -e on the shebang-line.
* Add missing colon in closes line.
* Fix day-of-week for changelog entries 0.38.
[ Balint Reczey ]
* Save a Cache.clear() in download-only mode
* debian/unattended-upgrades.service: Add /run to RequiresMountsFor
to work around long-standing systemd issue of not resolving symlinks to
mounts: https://github.com/systemd/systemd/issues/8907 (Closes: #946823)
* Keep mypy 0.750 happy.
* pep8: fix line breaks
-- Balint Reczey <rbalint@ubuntu.com> Mon, 16 Dec 2019 19:58:50 +0100
unattended-upgrades (1.15) unstable; urgency=medium
[ Tobias Bannert ]
* update german translation.
Improved some formulations and punctuation.
[ Maarten ]
* Update Dutch translation (Closes: #941672)
[ Balint Reczey ]
* autopkgtest: Retry failing downloads a few times
* test/autopkgtest_kernel_patterns.py: Add debug statements
* test/autopkgtest_kernel_patterns.py: Use stricter pattern for
packages to check
* debian/tests/control: Mark upgrade-between-snapshots as flaky
(Closes: #941752)
* Fix whitespace (LP: #1848036)
* Explain sanity check failures better
* Adjust only direct dependencies when falling back to adjusting more
packages.
Adjusting all transitive dependencies is found to slow down upgrades too
much when many packages were upgradable but not with adjustments taking
place. If a package upgrade to be installed by unattended-upgrades requires
adjusting a transitive but not direct dependency, please add this
dependency as a direct dependency of the package to unlock the upgrade.
(Closes: #935653) (LP: #1848357)
* debian/tests/common-functions: Don't sleep after successful u-u run
-- Balint Reczey <rbalint@ubuntu.com> Tue, 22 Oct 2019 18:48:33 +0200
unattended-upgrades (1.14) unstable; urgency=medium
[ Balint Reczey ]
* Check if md5sums of configuration files are shipped in releases
* debian/rules: Check duplicate lines in data/50unattended-upgrades.md5sum
* Use Debian's security updates from $distro-security starting with Bullseye
* Allow both ${distro_codename} or ${distro_codename}-security on Debian
as security update codenames. The latter will be used starting with
Bullseye, but to help backporting and testing the configuration file keeps
working on Buster and older releases. (Closes: #933138)
* Default to "/" as rootdir to fix saving list of kept packages.
Thanks to Paul Wise (Closes: #932160)
* data/50unattended-upgrades.md5sum: Update for change in Debian's config
* unattended-upgrade-shutdown: Fix FTBFS due to latest pyflakes' check
[ Tobias Bannert ]
* updated german translation
-- Balint Reczey <rbalint@ubuntu.com> Wed, 07 Aug 2019 17:04:10 +0200
unattended-upgrades (1.13) unstable; urgency=medium
[ Alban VIDAL ]
* Update french translation.
Signed-off-by: Alban VIDAL <alban.vidal@zordhak.fr>
[ Balint Reczey ]
* Don't crash collecting transitive dependencies when package has no
candidate (LP: #1825886)
* Use mark_install_adjusted() in rewind_cache()
The original cache had packages marked with adjustments thus rewinding
should also do adjustments to reach the same state. Not using
mark_install_adjusted() also crashes when apt raises error on held
packages. (LP: #1826157)
* test_rewind: Update test to check if adjustend rewinding took place
* Only allow removals in valid autoremoval sets
* Fix one more log location in the man page (Closes: #928601)
* Factor out kernel regexp generation to functions
* Packages including kernel version without flavor in their name may be
kernel packages. Also add autopkgtest for checking if the generated
patterns cover the currently running kernel. (LP: #1828200)
* Skip upgrade-all-security test when there are no updates to test with.
Shortly after a release there may not be security updates against the
packages used in the chroot used for the test.
* Test with latest stable in upgrade-all-security on testing
* Fix testing Debian's updates in upgrade-all-security
* Store list of kept packages and report the number of them in motd
(LP: #1823070)
* Mention APT's apt-daily-upgrade.service in the man page
* 50unattended-upgrades.md5sum add MD5 of current files
* PEP8: Fix breaking line after binary operator
* debian/tests/control: Fix Depends: of upgrade-between-snapshots
* debian/tests/control: Allow stderr in kernel-patterns
[ Gordon Lack ]
* Replace boolean Unattended-Upgrade::MailOnlyOnError2 mail reporting setting
with multi-valued (string) Unattended-Upgrade::MailReport.
[ Jaime Hablutzel ]
* Error message improved on very improbable condition
[ Clint Armstrong ]
* Fix showing multi-line strings on Plymouth.
When unattended-upgrades sends it's status to plymouth it sends a
multi-line string which causes plymouth to display overlapping text,
because plymouth only scrolls one line when the message is sent.
(LP: 1826406)
-- Balint Reczey <rbalint@ubuntu.com> Mon, 08 Jul 2019 11:08:30 +0200
unattended-upgrades (1.12) experimental; urgency=medium
[ Brannon Dorsey ]
* Remove double "format" in 50unattended-upgrades configuration files
[ Daniel Herzig ]
* man: improve unattended-upgrade.8 man-page (Closes: #905289)
[ Jonatan Nyberg ]
* Swedish debconf strings update (Closes: #925488)
[ Balint Reczey ]
* Compare apt.package.Version objects and not the versions' string
representation. This prevented adjusting candidates when the strings sorted
differently (LP: #1820888)
* Enable test_clean and test_patch_days tests
* Fall back to adjusting more packages' candidates when a package from an
allowed origin can't be marked to install/upgrade. (LP: #1821101)
* Skip sending email when no package had to be installed, upgraded or removed
(LP: #1821103) (Closes: #924554)
* Add a few debug logging points
* Report packages kept back by origin (LP: #1821376)
* Fix trailing newlines in wrapped email lines
* Describe candidate adjustment fallback better in the debug message
* Fix missing space. Thanks to Alban VIDAL
* Update POT file
* Test upgrades to -updates and to -proposed in upgrade-all-security
autopkgtest. Also enable -updates, too, while testing in Debian.
* Add ${distro_id}ESM:${distro_codename}-security to allowed origins
(LP: #1823376)
* Detect changes to moved conffiles (LP: #1823872)
* Add tests for checking conffile moves.
Build depend on and use equivs to generate new test packages
* Make sure autoremovals don't start with a dirty cache and remove other
packages (LP: #1824341)
* Stop raising NoAllowedOriginError when marking packages to upgrade/install
fails (LP: #1824876)
* Continue applying minimal sets when one set can't be marked for upgrade.
Thanks to Anderson Luiz Alves for the patch, it needed minor modifications
(LP: #1824341)
* Skip trying to upgrade held packages in call_adjusted() (LP: #1824804)
* Adjust only transitive dependencies in the fallback when a package from an
allowed origin can't be marked to install/upgrade.
This is a much lighter approach than marking every upgradable package
because the full fallback was triggered on packages held back as well,
using an excessive amount of CPU time. (LP: #1824804, #1824949)
* Follow all kinds of transitive dependencies when adjusting dependencies
* Split() conffile data to set of names only once
* Don't parse dpkg conffile db when there are no conffiles in the package
* Detect unchanged moved conffiles.
When a package moves a conffile properly without any change no conffile
prompt needs to be shown thus the package can be upgraded unattended even
when the conffile is changed locally. (LP: #1823872)
-- Balint Reczey <rbalint@ubuntu.com> Thu, 18 Apr 2019 16:38:31 +0200
unattended-upgrades (1.11.1) unstable; urgency=medium
* Skip sending email when no package had to be installed, upgraded or removed
(LP: #1821103) (Closes: #924554)
-- Balint Reczey <rbalint@ubuntu.com> Tue, 21 May 2019 09:37:03 +0200
unattended-upgrades (1.11) unstable; urgency=medium
* Use defaults in unattended-upgrades.service when the APT configuration is
broken. (LP: #1815189)
* test/test_blacklisted_wrong_origin.py: Fix and enable test
* Clear cache when autoremoval fails (LP: #1779157)
* Find autoremovable kernel packages using the patterns in APT's way
(LP: #1815494)
* debian/rules: clean frontend locks left by tests before building source
-- Balint Reczey <rbalint@ubuntu.com> Mon, 18 Feb 2019 17:26:05 +0100
unattended-upgrades (1.10) unstable; urgency=medium
* autopkgtest: Check if upgrading in minimal steps is the default
* Comment out example blacklist item that slipped in to the default config
* Don't print error on empty /var/run/reboot-required.pkgs
* Fix filtering out dpkg progress indicator (LP: #1599646) (Closes: #919407)
* Clear cache after checking upgrades against the blacklist again.
This fixes the issue when the dirty cache caused all packages to be
upgraded in the first "minimal" step.
Thanks to Paul Wise
* Populate cache for the fetcher after calculate_upgradable_pkgs() left it
clean. Otherwise the packages are downloaded later skipping the conffile
tests and possibly failing in a package installation step due to changed
config files. (Closes: #918323)
* Fix non-minimal upgrades
-- Balint Reczey <rbalint@ubuntu.com> Mon, 28 Jan 2019 21:35:26 +0700
unattended-upgrades (1.9) unstable; urgency=medium
[ Julian Andres Klode ]
* test_dev_release: Fix and enable test.
* Depend on python3-distro-info.
This is needed to make sure DEVEL_UNTIL_RELEASE actually works. We need
to fix up travis in addition to control, as it only knows about trusty
build dependencies.
* Import distro_info globally, and fix calculation of days.
The check was off by one: If you were 21 days away from the release,
it would not switch on, but tell you that it would not upgrade before
today.
* test_dev_release: Test Unattended-Upgrade::DevRelease=auto.
[ David Lang and Balint Reczey]
* Allow installing untrusted packages when APT::Get::AllowUnauthenticated
is set (Closes: #775469) (LP: #1167053)
[ Hans van Kranenburg and Balint Reczey]
* Clarify highly misleading Package-Blacklist option documentation
(Closes: #753892)
[ Balint Reczey ]
* test/test_dev_release.py: Fix missing mock attributes
* Leave the cache clean when returning from calculate_upgradable_pkgs()
When collecting upgradable packages the upgradable ones stayed in the
cache and they were upgraded together even when unattended-upgrades
was configured to perform upgrades in minimal steps.
Thanks to Paul Wise
* debian/tests/upgrade-all-security: Check if all security-updates are
applied and if old-autoremovable packages are kept
* Clear cache only when needed when checking black- and whitelists
* Add --no-minimal-upgrade-steps option
* Stop using untrusted package names as blacklists (LP: #1805447)
* Update copyright info
* Load modules lazily loaded by datetime.datetime.strptime() when u-u starts
When Python is upgraded to a new major version the version running
unattended-upgrades can be removed as being newly unused causing a crash.
* Start service after systemd-logind.service to be able to take inhibition
lock and handle gracefully when logind is down (LP: #1806487)
* List packages making reboot required in /var/run/reboot-required.pkgs
-- Balint Reczey <rbalint@ubuntu.com> Wed, 12 Dec 2018 13:41:49 +0100
unattended-upgrades (1.8) unstable; urgency=medium
* Add note about increasing InhibitDelayMaxSec for InstallOnShutdown to
50unattended-upgrades.
* Ship historical md5sums of /etc/apt/apt.conf.d/50unattended-upgrades for ucf
* Remove .ucf-* configuration file copies on purge
* Add NEWS entry about increasing InhibitDelayMaxSec and InstallOnShutdown
changes
* Revert to WantedBy=multi-user.target from 1.5ubuntu3 and 1.7, too, on
Ubuntu. 1.5ubuntu4 is the first fixed version on and 1.7 did not upgrade
properly from 1.5ubuntu3.
* List commented-out default values in 50unattended-upgrades config file.
Always list the default value commented out unless the explanation clearly
states the default value.
* Transition obsolete 50unattended-upgrades conffile to ucf prior upgrades did
not do that (Closes: #808336)
* Speed up ordering of packages in which minimal upgrade steps are performed.
* Stop using ActionGroups, they interfere with apt.Cache.clear() causing all
autoremovable packages to be handled as newly autoremovable ones and be
removed by default. Dropping ActionGroup usage does not slow down the
most frequent case of not having anything to upgrade and when ther are
packages to upgrade the gain is small compared to the actual package
installation.
Also collect autoremovable packages before adjusting candidates because that
also changed .is_auto_removable attribute of some of them. (LP: #1803749)
(Closes: #910874)
* Fix pyflakes
-- Balint Reczey <rbalint@ubuntu.com> Wed, 21 Nov 2018 17:02:49 +0100
unattended-upgrades (1.7) unstable; urgency=medium
[ Nils Toedtmann ]
* Clarify 'A reboot is required' warning, that the requirement might stem
from a previous run
[ Balint Reczey ]
* Build depend on and run pycodestyle, the replacement of pep8
* autopkgtest: Clean up after failed debootstrap to retry cleanly
* Handle when unattended-upgrades stopped without
unattended-upgrade-shutdown sending SIGTERM (LP: #1795657)
* Don't crash on missing dpkg log file (LP: #1795692)
* do_auto_remove() is successful unless a commit() operation fails
(LP: #1795696)
* Check only dowloaded .deb files for conffile prompts (LP: #1796100)
* Recommend systemd-sysv as the first alternative of cron.
Unattended-upgrades is started via systemd timers or by the .service file
on the default Debian and Ubuntu installations without cron's involvement.
Systems without systemd-sysv can still install unattended-upgrades and run
it via cron.
* Only suggest python3-gi and skip check for metered connection when it is
missing (Closes: #909543)
* Only suggest powermgmt-base amd skip checking power status when it is not
present
* Show message about missing optional dependencies only once
* Add configuration file option to enable verbose and debug logging.
Thanks to Paul Wise
* Revert to running unattended-upgrades.service in multi-user.target
* Trigger unattended-upgrade-shutdown actions with PrepareForShutdown()
Performing upgrades in service's ExecStop did not work when the upgrades
involved restarting services because systemd blocked other stop/start
actions making maintainer scripts time out and be killed leaving a broken
system behind.
Running unattended-upgrades.service before shutdown.target as a oneshot
service made it run after unmounting filesystems and scheduling services
properly on shutdown is a complex problem and adding more services to the
mix make it even more fragile.
The solution of monitoring PrepareForShutdown() signal from DBus
allows Unattended Upgrade to run _before_ the jobs related to shutdown are
queued thus package upgrades can safely restart services without
risking causing deadlocks or breaking part of the shutdown actions.
Also ask running unattended-upgrades to stop when shutdown starts even in
InstallOnShutdown mode and refactor most of unattended-upgrade-shutdown to
UnattendedUpgradesShutdown class. (LP: #1778219)
* Handle reverting to WantedBy=multi-user.target when upgrading from 1.5 or
1.6
* debian/postinst: Redirect stdout from systemctl and deb-systemd-invoke to
stderr and skip running systemctl start unattended-upgrades.service when
unattended-upgrades is already running to avoid deadlock.
* Increase logind's InhibitDelayMaxSec to 30s.
This allows more time for unattended-upgrades to shut down gracefully
or even install a few packages in InstallOnShutdown mode, but is still a
big step back from the 30 minutes allowed for InstallOnShutdown previously.
Users enabling InstallOnShutdown node are advised to increase
InhibitDelayMaxSec even further, possibly to 30 minutes.
[ Brian Murray ]
* unattended-upgrades: Do not automatically upgrade the development release
of Ubuntu unless Unattended-Upgrade::DevRelease is true. (LP: #1649709)
[ Julian Andres Klode ]
* Do not run on development releases until 21 days before release.
This works for Ubuntu, and is only enabled there. Also explicitly
log those messages to syslog, so a user can easily find them and
then dig for more information in the u-u log.
-- Balint Reczey <rbalint@ubuntu.com> Thu, 18 Oct 2018 00:58:48 +0200
unattended-upgrades (1.6) unstable; urgency=medium
[ Dravon5X ]
* Commented options should reflect default values
[ Alexandros Afentoulis ]
* Add logging for scheduled host reboot.
[ Michael Vogt ]
* unattended-uprades: use subprocess.check_output() to gather reboot data
[ Maarten ]
* Dutch translation update
[ Balint Reczey ]
* Reopen Cache after commit() even when frontend locking is supported.
This fixes build and operation with latest python-apt. (LP: #1789637)
(Closes: #909327)
* Use cast to silence mypy 6.30
* Fix assertion error formatting
* Skip already adjusted packages from being checked for readjusting.
This makes it clearer that the recursion ends and can also be a bit quicker.
* Skip printing 'Packages that were upgraded:' when no package was upgraded
* Filter out progress indicator from dpkg log
* Retry debootstrap in autopkgtest to decrease flakyness (Closes: #898216)
* Test apt-listchanges interaction in upgrade-all-security
* Include fewer newlines in the report
* Fix PEP 8 warnings.
Also ignore "W503 line break before binary operator" because it will
become the best practice.
* debian/tests/test-systemd.py: Fix test after changing config file defaults
-- Balint Reczey <rbalint@ubuntu.com> Mon, 01 Oct 2018 19:00:44 +0200
unattended-upgrades (1.5) unstable; urgency=medium
* Redirect stderr output in upgrade-all-security and upgrade-between-snapshots
otherwise it breaks the test (LP: #1781446)
* Skip rebuilding python-apt in upgrade autopkgtests.
Python-apt has a new build dependency making the rebuilding as is failing
and the reference handling issue is worked around in unattended-upgrades
already. (LP: #1781586)
* Install release's latest python-apt in upgrade-all-security
* Don't check blacklist too early and report updates from not allowed origins as kept back.
This fixes #116 again that was fixed but regressed with 18d23402aae24febb6bda539ac7c410fd86ae80d
(LP: #1781176)
* Run unattended-upgrades.service before shutdown.target as a oneshot service.
Performing upgrades in service's ExecStop did not work when the upgrades
involved restarting services because systemd blocked other stop/start actions
making maintainer scripts time out and be killed leaving a broken system
behind. (LP: #1778219)
* Use os.environ[] to set debconf to NON_INTERACTIVE instead of os.putenv()
os.putenv() does not change os.environ but os.environ can be used in python-apt
to set environment for subprocesses in which case os.putenv()'s effect is
ignored.
* Use valgrind in upgrade autopkgtest when it is installed in the autopkgtest environment
* Stop trying when no adjustment could be made and adjust package candidates only to lower versions
(LP: #1785093)
* List Unattended-Upgrade::Remove-New-Unused-Dependencies option the config file.
Also fix description of Unattended-Upgrade::Remove-Unused-Dependencies.
-- Balint Reczey <rbalint@ubuntu.com> Thu, 23 Aug 2018 09:40:13 +0200
unattended-upgrades (1.4) unstable; urgency=medium
* Skip starting init.d script in debhelper-generated postinst part
(LP: #1778800)
* Use "deb-systemd-invoke start" instead of "systemctl start" in postinst.
It is used only in a workaround applied for a Debian bug and for upgrading
from pre-bionic versions.
* Clear cache when autoremoval is invalid for a package set marked for
removal (LP: #1779157)
* Clear cache after failed commits to return from a possibly invalid state
* Unlock for dpkg operations with apt_pkg.pkgsystem_unlock_inner() when it
is available, also stop running when reacquiring the lock fails.
Thanks to to Julian Andres Klode for original partial patch
* Use fully qualified domain name in email subject.
* Send email about all failures and crashes (Closes: #898607)
* Add short textual summary of the results in the summary email
* Recommend overriding configuration in a separate file.
This can be better than changing /etc/apt/apt.conf.d/50unattended-upgrades
because package updates don't conflict with local changes this way.
* Adjust candidates only for packages to be possibly installed
(Closes: #892028, #899366) (LP: #1396787)
* Add Unattended-Upgrade::OnlyOnACPower config file example for all
distributions
* debian/control: Drop redundant Testsuite: autopkgtest field to keep Lintian
happy
* Bump Standards-Version to 4.1.4
* Add debian/tests/upgrade-all-security to install all current security
updates. On development releases this tests latest stable, on stable
releases it tests the release itself.
* Skip updates on metered connections (Closes: #855570)
* Quote shell variables in autopkgtest
* Stop u-u early when it should stop later anyway
* Measure time for --dry-run and after all updates are installed in
autopkgtests
* Filter out packages cheaper when they are not from allowed origins
* Collect autoremovable packages, too, when looking for upgradable ones
-- Balint Reczey <rbalint@ubuntu.com> Thu, 05 Jul 2018 23:36:00 +0200
unattended-upgrades (1.3) unstable; urgency=medium
[ Balint Reczey ]
* Fix crashing while adjusting candidates and save candidates to adjust only
in first sweep run, not emptying the set later
(LP: #1775307) (Closes: #901258)
* Don't start or gracefully stop upgrade on battery (LP: #1773033)
* Add test for skipping upgrade on battery
[ Ivan Kurnosov ]
* Fixed is_pkgname_in_blacklist() to be side-effect free.
Otherwise is_pkgname_in_blacklist() mutates the pkgs_kept_back list and
unattended-upgrades treats the package as a blacklisted candidate
[ Frans Spiesschaert ]
* Dutch translation update (Closes: #896123)
-- Balint Reczey <rbalint@ubuntu.com> Tue, 19 Jun 2018 13:10:12 +0200
unattended-upgrades (1.2) unstable; urgency=medium
[ Michael Vogt ]
* unattended-upgrades: fix Unlocked context manager.
The Unlocked context manager did correctly unlock but did not
reacquire the lock which means that in minimal-upgrade step
mode it is possible to run apt code without a lock. If something
else (like landscape, apt, synaptic, packagekit) locks the cache
in the meantime this will work and u-u will get dpkg errors
because dpkg will not be able to perform its operations. It is
less of an issue in non-minimal mode, but even then the auto-remove
step may fail in this way.
[ Balint Reczey ]
* Run mypy with --no-strict-optional to keep mypy 0.600 happy.
Older versions does not support Optional[] typing, thus adding it to the
comments would break the build with all old releases.
* End Python 2 support.
* Fix adjusting candidates
* Minor speed optimizations
* Relock apt lock before reopening the cache
-- Balint Reczey <rbalint@ubuntu.com> Wed, 23 May 2018 12:58:31 +0200
unattended-upgrades (1.1) unstable; urgency=medium
[ cgail914 ]
* Update 50unattended-upgrades.Raspbian
added a semi-column sign on line 86 to facilitate uncommenting the line
for users and not end up with an error message when running
unattended-upgrades. And make the whole file consistent.
[ Tobias Bannert ]
* completed german translation
[ Simon McVittie ]
* d/rules: Exclude mypy cache from source package.
[ Julian Andres Klode ]
* Do not reuse old apt.Version objects after reopening cache (LP: #1737441)
[ Balint Reczey ]
* Rename d/NEWS.Debian to d/NEWS to have it shipped
* Fix typo in NEWS file
* Add missing semicolon to commented-out Remove-Unused-Kernel-Packages option
* Set UnattendedUpgradesCache.allowed_origins before calling
apt.Cache.__init__()
* Find package candidates to adjust sweeping through all packages only once.
Later reuse the list candidates and filter out packages installed in the
meantime. Thanks to Julian Andres Klode for the original patch
* Use updated python-apt in upgrade-between-snapshots test
* upgrade-between-snapshots: Mount /proc, too, in the chroot.
Also clean up chroot properly on exit.
* upgrade-between-snapshots: Use http_proxy environment variable in chroot,
too
* upgrade-between-snapshots: Remove packages installed as the side-effect of
updating apt and python-apt
* Ignore errors from compiling backported packages
* Make is_autoremove_valid() nondestructive.
Also fix autoremoval of packages when one package can't be removed and
keeps back other package removals due to missing cache.clear()
* Fix tracking removed packages
* Suggest default-mta | mail-transport-agent to keep Lintian happy
[ Michael Vogt ]
* unattanded-upgrades: refactor get_candidates_to_adjust() to
adjust_candidates()
-- Balint Reczey <rbalint@ubuntu.com> Mon, 16 Apr 2018 20:01:08 +0200
unattended-upgrades (1.0) unstable; urgency=medium
[ Simon Arlott ]
* Revert sending mails on WARNINGS when in MailOnlyOnError mode"
* Consider conffile prompts to be errors (Closes: #852465)
Flag packages that have to be upgraded manually because of a conffile
prompt and consider this to be an error when sending email or exiting.
[ Simon McVittie ]
* Add python, python3, setuptools, DistutilsExtra to Build-Depends.
They are needed for `clean`, so Build-Depends-Indep is not enough.
* Add .gitignore and debian/.gitignore
* Remove bzr configuration.
This is unnecessary now that u-u is in git.
[ Michael Vogt ]
* unattended-upgrades: tweak mail-on-warnings PR
* unattended-upgrade: extract is_autoremove_valid helper
[ Balint Reczey ]
* Run upgrade-between-snapshots only on amd64.
The test exercises only unattented-upgrade's Python code and uses
dependencies from the frozen Debian snapshot archive thus running
it on all architectures would provide little benefit.
* Clean up processes started for getting md5 sums
* Don't keep /var/lib/dpkg/status open multiple times
* Adjust candidates in UnattendedUpgradesCache.open()
* Perform autoremovals in minimal steps, too.
Also add check to remove only the set of packages selected for autoremoval.
Without that check unattended-upgrades when (by default) configured to
remove newly unused packages could also remove auto removable packages
which were unused before starting starting the upgrade step.
* Remove unused automatically installed kernel packages
(LP: #1357093, #1624644, #1675079, #1698159)
* Stop including Python syntax in the report (Closes: #876796)
* Do not auto remove packages related to the running kernel (LP: #1615381)
* Check packages to be autoremoved against blacklists, whitelists.
Also check if the packages are held.
* Report package removals in the summary email (Closes: #876797)
* Run upgrade-between-snapshots test with debugging enabled
* Don't create new UnattendedUpgradesCache for checking for autoremovals
.open() refreshes the state in each cache_commit(), this is enough
* Update .pot and .po files
* Update .travis.yml to actually build and test u-u from the repo
* Run only a simple installation test on Travis, the system upgrade
test was always failing
-- Balint Reczey <rbalint@ubuntu.com> Thu, 01 Mar 2018 15:54:10 +0700
unattended-upgrades (0.99) unstable; urgency=medium
[ Peter Nowee ]
* Fix Raspbian default config codename matching.
Using `archive=${distro_codename}` does not match, at least not in
Raspbian Stretch anymore. Changing it to `codename=${distro_codename}`.
I tested that it now works and did not notice any regressions.
Same change was made to the Debian-specific configuration 3 years ago,
see commit 9a2afa5.
* Enable RPi-specific upgrades on Raspbian.
In addition to the Raspbian repository, Raspbian images distributed by
the Raspberry Pi Foundation (RPF) depend on the RPF repository for
kernel and firmware updates.
This commit adds a pattern matching line for packages from the RPF
repository to the Raspbian config file for unattended-upgrades.
[ Alexandre Detiste ]
* Drop unused dependency on apt-utils (Closes: #876425)
[ Frans Spiesschaert ]
* Dutch translation update
[ Chris Leick ]
* German translation update
[ Ben Wong ]
* Fix configuration file examples (Closes: #877395)
[ Balint Reczey ]
* Test for running systemd on Debian, too, when applying workaround for it
* Fix calling dh_installinit during build
* Tidy up d/control using cme fix
* Fix log file location in man page.
Thanks to Jaakov for the bug report (Closes: #817974)
* Build-depend on debhelper (>= 9.20160709) instead of dh-systemd
* Link unattended-upgrades.8 to unattended-upgrade.8 man page
* Add Auto-Submitted header to email report (LP: #1230246)
* Exit with error when package installation failed or u-u is signalled to
stop (Closes: #838368)
* Process packages needing smaller upgrade sets earlier in generating
minimal upgrade sets.
Inspired by Michael Vogt's partition pre-calculation code
* Exit with printing error when apt errors prevent initialization
(LP: #1737442)
* Mark invalid UTF-8 characters in dpkg's log, but don't crash
(LP: #1737635)
* Try upgrading packages replacing configuration dir with configuration file
(LP: #1737637)
* Make unattended-upgrade-shutdown exit with error when apt config is
invalid (LP: #1737717)
* Exit when an apt error prevents checking a package for conffile prompt
* Install upgrades from ${distro_codename}, label=Debian by default.
This enables updates from stable point releases but also lets testing
and sid being updated with the package updates.
Fixes #33. (Closes: #787945, #597061)
* Fix debian/NEWS.Debian's format
* Add NEWS item about unattended-uprades installing stable/all updates
* Stop asking debconf question about Origins-Pattern.
50unattended-upgrades now contains multiple origins by default and setting
them from debconf can't be made really easy. Users should change the
configuration file itself instead. (LP: #1577215)
* Update PO files about debconf templates
* Don't log exceptions which did not happen
* Add autopkgtest for upgrading unstable between two snapshots from
snapshot.d.o
* Remove tabs from Debian's configuration file
* Catch SystemError instead of apt_pkg.Error for backwards compatibility
* Check in autopkgtest if unattended-upgrades mark additional packages as
manually installed
* Test upgrading a full system with desktop packages in autopkgtest.
Also pick different shapshots with which does not contain
broken packages.
* Test sending email after upgrading a full system
* Show "please don't turn off the computer" while installing updates on
shutdown.
This is more informational for users than the original "sleeping for 5s".
Thanks to Mario Loderer for the suggestion (LP: #1741579)
* Use eatmydata for system upgrade autopkgtest
* Run upgrade-between-snapshots autopkgtest even on other distros
* Apt install built u-u in snapshot upgrade test
* Update .pot file
* Fix version of test package in test_remove_unused_dependencies
(Closes: #886803)
* Refresh cache after committing changes to avoid reinstalling packages
(Closes: #875383)
* Relax calculating truly minimal sets to sets expected to be minimal.
This speeds up calculation by making it from ~O(n^2) to ~O(n) at the
expense of creating slightly bigger sets in rare cases.
[ Evilham ]
* Add Devuan support.
[ Brian Murray ]
* unattended-upgrades: Do not reboot during a dry-run (LP: #1269177)
[ Michael Vogt ]
* enable pep484 test
* mypy fixes
* add two missing return values
* tests: cleanup test_mail.py to use proper tmpdirs
[ Julian Andres Klode ]
* Do not touch reboot-required on linux-image-extra removal (LP: #1458204)
[ Sjoerd Job Postmus ]
* Adjust candidate version of packages to be newly installed (LP: #1446552)
-- Balint Reczey <rbalint@ubuntu.com> Fri, 09 Feb 2018 02:52:19 +0700
unattended-upgrades (0.98) unstable; urgency=medium
* Rename test to test_non_minimal_steps_upgrade to reflect content
* Catch SystemError while keeping apt lock unlocked (LP: #1632361)
* Add --stop-only option to unattended-upgrade-shutdown and use it on
hibernation. This prevents starting unattended-upgrades right before
hibernating when Unattended-Upgrade::InstallOnShutdown is true.
(Closes: #610333)
* Stop already running unattended-upgrades before hibernation even with
systemd (LP: #1455097)
* Use lsb_release instead of dpkg-vendor in postinst (LP: #1719630)
* Update README.md with the fact that unattended=upgrades is enabled
by default (Closes: #865519)
-- Balint Reczey <rbalint@ubuntu.com> Tue, 26 Sep 2017 11:38:21 -0400
unattended-upgrades (0.97) unstable; urgency=medium