>>910
sudo aptならvisudoでこう書くとか(userはあなたのユーザー名に読み替えてください)
user ALL = NOPASSWD: /usr/bin/apt

Synapticならこうですかね(Synaptic使ってないので20.04で通るか知りませんが)
ttps://askubuntu.com/questions/614534/disable-authentication-prompts-in-15-04