I am creating a debian package (.deb)
I wanted to get answer to some questions.
Somehow, installation of newly created .deb file was not asking question after asking once, even if package is purged
Setting question priority critical does not help
How can remove old answers totally?
This is important during package creation page
Purging Debian dpkg-deb config information complately
171 Views Asked by ShaileshKumarMPatel At
2
Another way to remove all of your package's questions from debconf's database is to call
db_purge
in yourpostrm
script, when removing or purging the package.You have to previously load the debconf library:
. /usr/share/debconf/confmodule
For example: