Rework repo update to avoid early repo destruction.

Do not touch repository unless we could really download it.
Fix forced update.
Update errors are now not fatal.

All utilities that tries to update repos should not fail if it is
impossible. pkg-update, on the contrary should treat update as fatal
failure.
Fix warnings.