Do not fail source retrieval step with apt >=1.1
authorMichael Prokop <mika@grml.org>
Fri, 4 Dec 2015 21:50:34 +0000 (22:50 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 4 Dec 2015 21:50:34 +0000 (22:50 +0100)
commit5cc5ed05cef0ece968315276fca99e83696b1063
tree84cff8dc5208c4a6b33c8d4e6c4c83d8f323a6ff
parent54e14988881e983c401f5b04fd9938d78a7cf90b
Do not fail source retrieval step with apt >=1.1

apt >=1.1 tries to drop privileges which fails in our typical setup with:

| W: Can't drop privileges for downloading as file 'zsh_5.2-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Instead let's check for actual errors (starting with "E:"),
and do not fail the build if there warnings only ("W:").
etc/grml/fai/config/scripts/GRMLBASE/03-get-sources