When attempting to run wordpress updates, wordpress can ask for ftp credentials. This can be caused by a conflict between the user/group ownership of the wordpress installation’s files and the webserver’s user credentials. The easiest way to fix this is to match the file ownership with the webserver’s user account:
[md] sudo chown -R www-data:www-data wordpress/[/md]