From 94fa2654f99556f17b0c98712b29d1bec3a8f91b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 23 Jul 2018 11:00:09 +0100 Subject: [PATCH] apt-get method: when apt does not update release files, print hint Unconditionally print hint about noatime. This problem seems to occur quite rarely (noatime is out of fashion nowadays, and I haven't seen any other causes) so it doesn't seem worth fiddling about writing code to determine the mount options. Instead, print a hint and let the user investigate. Closes:#851873. Signed-off-by: Ian Jackson --- debian/changelog | 2 ++ dgit | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4f359405..265ecb01 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ dgit (5.11~) unstable; urgency=medium * test suite: unset VISUAL, which interferes. Closes:#904308. + * apt-get method: when apt does not update release files, + unconditionally print hint about noatime. Closes:#851873. -- diff --git a/dgit b/dgit index 357adc98..9c58fdf6 100755 --- a/dgit +++ b/dgit @@ -1237,7 +1237,14 @@ END } my @inreleasefiles = grep { m#/InRelease$# } @releasefiles; @releasefiles = @inreleasefiles if @inreleasefiles; - die "apt updated wrong number of Release files (@releasefiles), erk" + if (!@releasefiles) { + fail <