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 was using commands.getstatusoutput. Changing this with an
os.system call fixed the problem. My guess is still that something
went wrong with the pipe attached to fd 12, but I don't have the
motivation to look into it. The fix is good enough for me.

Once again thanks for your help.

Regards,
Alex

On Jan 18, 2008 2:47 AM, Joey Hess <[EMAIL PROTECTED]> wrote:
> 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 skipped
>
> One reason that this can happen is that debconf allows multiple owners
> for a question, and will not forget the question has been seen until all
> owners go away. Purging the package removes one owner, but the other
> owner keeps the question in the db.
>
> If you've run the package's config script by hand, it probably has
> "unknown" set as the owner too. You could verify this by using
> debconf-get-selections or looking at the database by hand. This extra
> owner can be removed:
>
> echo PURGE | debconf-communicate unknown
>
> > > My guess is that there is a problem with file descriptor 12, how can I
> > > find out what is this descriptor supposed to be?
>
> This file descriptor is opened by debconf to read the result value from
> whiptail and is unlikely to be related to whatever problem you were
> seeing.
>
> --
> see shy jo
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHkBNKd8HHehbQuO8RAkSnAKCPvWXh0j4R4V727Am4eWHTotRqBACfaKe6
> C2yIRoReCppGbqrDBuBUgSE=
> =ks4u
> -----END PGP SIGNATURE-----
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to