Bug#746434: apt: new apt breaks a shell script by reading from standard input when it shouldn't

2014-04-30 Thread Michael Vogt
On Tue, Apr 29, 2014 at 10:40:52PM +, Gianluca Borello wrote: Package: apt Version: 1.0.2 Severity: normal Thanks for your bugeport. I have an automated installation script that doesn't work anymore on Sid. This is a snippet of code: #!/bin/bash apt-get -qq -y install iftop

Bug#746434: apt: new apt breaks a shell script by reading from standard input when it shouldn't

2014-04-30 Thread Gianluca Borello
On Wed, Apr 30, 2014 at 1:49 AM, Michael Vogt m...@ubuntu.com wrote: I can reproduce this and bisected it to commit 872816. The attached diff fixes it for me, would be great if you could confirm. I can confirm it's fixed, thanks. Two notes: 1) Despite the right behavior, I now get an error

Bug#746434: apt: new apt breaks a shell script by reading from standard input when it shouldn't

2014-04-29 Thread Gianluca Borello
Package: apt Version: 1.0.2 Severity: normal Hello, I have an automated installation script that doesn't work anymore on Sid. This is a snippet of code: #!/bin/bash apt-get -qq -y install iftop neverexecuted If executed by piping it to bash, the very first time (when the package is not