Re: Help with debconf

2008-01-18 Thread Joey Hess
Alex Gonzalez wrote: > For nr 2 I realized that apt-get was being run through a python script > which was using commands.getstatusoutput. Changing this with an > os.system call fixed the problem. Yes, if you redirect whiptail's output, you obviously won't see it on screen. -- see shy jo signat

Re: Help with debconf

2008-01-18 Thread Alex Gonzalez
Hi, Thanks for your help. There were two problems here, 1) debconf didn't seem to reconfigure after a purge - this was fixed with Joey's comments, thanks a lot. 2) whiptail seemed not to display a configuration dialog. For nr 2 I realized that apt-get was being run through a python script which

Re: Help with debconf

2008-01-17 Thread Joey Hess
Alex Gonzalez wrote: > pvalex:~# debconf-show pvrfs > * pvrfs/partition: /dev/hda2 > pvalex:~# apt-get --purge remove pvrfs > pvalex:~# debconf-show pvrfs > pvalex:~# > pvalex:~# apt-get install pvrfs > debconf (developer): <-- INPUT high pvrfs/partition > debconf (developer): --> 30 question skipp

Re: Help with debconf

2008-01-17 Thread Andrew Sackville-West
On Thu, Jan 17, 2008 at 04:21:12PM +, Alex Gonzalez wrote: > Hi Andrew, > > Thanks for your answer. > > I had been playing with the debconf configuration changing priority > values, to no avail. > > The current configuration is: > > debconf-apt-progress/info: > debconf-apt-progress/prep

Re: Help with debconf

2008-01-17 Thread Alex Gonzalez
Hi Andrew, Thanks for your answer. I had been playing with the debconf configuration changing priority values, to no avail. The current configuration is: debconf-apt-progress/info: debconf-apt-progress/preparing: * debconf/frontend: Dialog * debconf/priority: low debconf-apt-progress/medi

Re: Help with debconf

2008-01-17 Thread Andrew Sackville-West
On Thu, Jan 17, 2008 at 03:59:35PM +, Alex Gonzalez wrote: > Back to my first problem, debconf doesn't reconfigure itself after the > purge. Here is the sequence of events, > > > pvalex:~# debconf-show pvrfs > * pvrfs/partition: /dev/hda2 > pvalex:~# apt-get --purge remove pvrfs > Reading pac

Re: Help with debconf

2008-01-17 Thread Alex Gonzalez
Back to my first problem, debconf doesn't reconfigure itself after the purge. Here is the sequence of events, pvalex:~# debconf-show pvrfs * pvrfs/partition: /dev/hda2 pvalex:~# apt-get --purge remove pvrfs Reading package lists... Done Building dependency tree... Done The following packages will

Re: Help with debconf

2008-01-17 Thread Alex Gonzalez
Hi, Thanks for that. I actually forgot to include the postrm file to do the purge, so that should fix it. Another problem I have is that whiptail doesn't seem to display the configuration dialog. I have the follwing processes, 4838 pts/0S+ 0:00 sh -c { apt-get update;apt-get --allow-unau

Re: Help with debconf

2008-01-16 Thread Andrew Sackville-West
On Wed, Jan 16, 2008 at 03:50:42PM +, Alex Gonzalez wrote: > Hi, > > Is it possible to force debconf to forget about a package > configuration on removal, or to always ask the configuration questions > on install? I'm sure there is a way to do the second, and there is a debconf-doc package yo

Help with debconf

2008-01-16 Thread Alex Gonzalez
Hi, Is it possible to force debconf to forget about a package configuration on removal, or to always ask the configuration questions on install? I have this packet that is configured the first time it's installed, but then never asks again if you don't dpkg-reconfigure it. However, if I remove t