diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-31 16:44:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-31 16:44:38 +0000 |
commit | 050177b830d2cfae672757615cc18c48055e00d0 (patch) | |
tree | 1adbdfd3bc8a9399e5d7526ce5916cd143356fda | |
parent | c04350c65278067d5f88c30fd88fd2e1ea61438c (diff) | |
download | urpmi-050177b830d2cfae672757615cc18c48055e00d0.tar urpmi-050177b830d2cfae672757615cc18c48055e00d0.tar.gz urpmi-050177b830d2cfae672757615cc18c48055e00d0.tar.bz2 urpmi-050177b830d2cfae672757615cc18c48055e00d0.tar.xz urpmi-050177b830d2cfae672757615cc18c48055e00d0.zip |
(_check) only warn about missing signature for local packages
(aka those _not_ coming from any medium)
rationale:
we downgrade the missing signature check for local packages from a
question (defaulting to "n") to a warning, thus fixing a testsuite
regression introduced in 7.4
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/signature.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,8 @@ - security: o downgrade missing medium key check question to a warning for virtual media without keys when using urpmi --use-distrib + o downgrade missing signature check for local packages from a question to a + warning o honor per medium "verify-rpm" option for missing signature check o media have keys, not signatures - unrequested package list management (for orphans) (mga#7167): diff --git a/urpm/signature.pm b/urpm/signature.pm index 94a2118f..1f003e5b 100644 --- a/urpm/signature.pm +++ b/urpm/signature.pm @@ -45,7 +45,7 @@ sub _check { if (!$medium) { if ($verif =~ /OK \(\(none\)\)/) { $verif =~ s/\n//g; - $invalid_sources{$filepath} = N("Missing signature (%s)", $verif); + $urpm->{info}(N("The following package has no signature (%s): %s\n", $verif, $filepath)); } next; } |