From e358ec0ce23ae6bcd33625bc79549ef1c963a816 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 21 Apr 2022 17:25:17 +0200 Subject: [PATCH] Silence debconf error I *think* this is printing > debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied On Github Actions? Might need to adjust the test to store the output. --- share/completions/dpkg-reconfigure.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/dpkg-reconfigure.fish b/share/completions/dpkg-reconfigure.fish index a96f287a6..ba88ca38d 100644 --- a/share/completions/dpkg-reconfigure.fish +++ b/share/completions/dpkg-reconfigure.fish @@ -8,7 +8,7 @@ complete -x -f -c dpkg-reconfigure -s h -l help -d 'Display help' # General options complete -f -c dpkg-reconfigure -s f -l frontend -r -a "dialog readline noninteractive gnome kde editor web" -d 'Set configuration frontend' complete -f -c dpkg-reconfigure -s p -l priority -r -a "low medium high critical" -d 'Set priority threshold' -complete -f -c dpkg-reconfigure -l default-priority -d "Use current default ("(echo get debconf/priority | debconf-communicate | string match -r '\w+$')") priority threshold" +complete -f -c dpkg-reconfigure -l default-priority -d "Use current default ("(echo get debconf/priority | debconf-communicate 2>/dev/null | string match -r '\w+$')") priority threshold" complete -f -c dpkg-reconfigure -s u -l unseen-only -d 'Show only unseen question' complete -f -c dpkg-reconfigure -l force -d 'Reconfigure also inconsistent packages' complete -f -c dpkg-reconfigure -l no-reload -d 'Prevent reloading templates'