From 94fa2654f99556f17b0c98712b29d1bec3a8f91b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 23 Jul 2018 11:00:09 +0100 Subject: 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 --- dgit | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'dgit') diff --git a/dgit b/dgit index 357adc9..9c58fdf 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 <