#1006257 python3-apt: Sigwinch window resizes have no effect on debconf prompts

Package:
python3-apt
Source:
python-apt
Description:
Python 3 interface to libapt-pkg
Submitter:
Blake Lee
Date:
2022-03-14 01:24:03 UTC
Severity:
important
#1006257#5
Date:
2022-02-22 03:43:55 UTC
From:
To:
Dear Maintainer,

After running cache.commit() sigwinch signals don't seem to be respected.

If I resize the terminal after calling comit, and hit a debconf prompt it will be formatted weird.

additionally if you can get a prompt that allows executing a shell, such as a conf prompt,

the shell will not get sigwinch updates either.

#1006257#10
Date:
2022-03-14 01:05:16 UTC
From:
To:
I'm not sure if it's totally the correct fix or not, but setting the
option below seems to resolve the issue.

apt_pkg.config.set('Dpkg::Use-Pty', "0")

Thanks,
Blake