[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#63991: apt: overzealously reading standard input



On Fri, 12 May 2000, Madarasz Gergely wrote:

> first package didn't install like this, I changed the echo "something" to
> yes "something" so it really gets it... now I found out that it takes a
> really long time to install such a package... stracing apt reveals that apt

APT flushes stdin before running dpkg as a precaution against errent
typing during the long download phase. I could add an option to turn it
off, but what you are doing is fundamentally unsafe and is probably a
really, really bad idea. You would be better off with APT not in the
picture because you can then call dpkg with a pre-deterimed order so your
reponses actually match the packages they are intended for!

Jason



Reply to: