The first issue is:
"sudo: no tty present and no askpass program specified"
Were you presented the password dialog and if so, did you enter the password? I'm not sure how it got into that state.
The first issue is:
"sudo: no tty present and no askpass program specified"
Were you presented the password dialog and if so, did you enter the password? I'm not sure how it got into that state.