The message you are getting (presumably you are on Windows?) is simply telling you that you don't have privileges to update the packages that come by default with R. Which, generally speaking, isn't an issue for most people because those packages are pretty stable, having been around since like the late 1990's, and more to the point, most people who use Bioconductor probably don't ever use boot or foreign, or KernSmooth, etc.
Anyway, you haven't actually tried to install viper, which is all lower caps (and given that R is case-sensitive, that matters). You need to do
Be careful, though. It seems like viper is on "deprecation watch" since the package is (apparently) not being properly updated/maintained(?)
https://support.bioconductor.org/p/123439/