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

Bug#63991: apt: overzealously reading standard input



On Thu, 11 May 2000, Jason Gunthorpe wrote:

> 
> 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!

I am calling apt separately for the packages which need input. And I want
to use apt, because this way I don't to tell exactly what to download, 
where to download, how to install, because the package version can change
the next time I install it... 

-- 
Madarasz Gergely           gorgo@sztaki.hu           gorgo@linux.rulez.org
     It's practically impossible to look at a penguin and feel angry.
         Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
                   HuLUG: http://mlf.linux.rulez.org/




Reply to: