Updating apt-get password prompt

When updating to the latest passbolt version through apt upgrade I’m asked for a password for the www-data user. When typing in the password the script wont return it to the prompt.

I manged to run the update eventually by rebooting to exit the apt-update process (ctrl +c didn’t work). Then run the healthcheck and from there initiate the migration progress manually.

However when doing other updates on the machine apt still thinks passbolt needs updating and ends up getting stuck on the password prompt.
The issue first started when updating to 3.3.0 and still persists in 3.4.0

Hi @JurreCl :wave: and welcome to passbolt community forum :handshake:

We had this issue on our first OVA image. Which Debian version are you using ?

Can you check on /etc/pam.d/su if you find this line:

auth required pam_wheel.so use_uid

If yes, can you try to replace it with:

auth sufficient pam_rootok.so

Reboot your server and retry an apt upgrade .


Hi _jc,

I’m using Ubuntu 20.04.3 LTS, which is obviously based on Debian, so the pam file is there.

After changing the file, rebooting and running sudo dpkg --configure -a the issue seems to be resolved.


1 Like

Cool, thanks for the feedback :+1: