I'm trying to install phpmyadmin preseeding the information via the debconf-set-selection command on my Ubuntu 12.04LTS
That's the bit I'm using
echo phpmyadmin phpmyadmin/dbconfig-install boolean true | debconf-set-selections echo phpmyadmin phpmyadmin/app-password-confirm password pwd | debconf-set-selections echo phpmyadmin phpmyadmin/mysql/admin-pass password pwd| debconf-set-selections echo phpmyadmin phpmyadmin/mysql/app-pass password pwd| debconf-set-selections echo phpmyadmin phpmyadmin/reconfigure-webserver multiselect apache2 | debconf-set-selections echo phpmyadmin phpmyadmin/upgrade-backup boolean true | debconf-set-selections
But I always end up getting the following error message
error: Cannot find a question for phpmyadmin/dbconfig-install error: Cannot find a question for phpmyadmin/app-password-confirm error: Cannot find a question for phpmyadmin/mysql/admin-pass error: Cannot find a question for phpmyadmin/mysql/app-pass error: Cannot find a question for phpmyadmin/upgrade-backup
if I attempt to run the command using sudo from the shell I get the following message
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
However, I was once able to get this installed. So what could be the cause?