It appears the problem occurs after fetching the deb-files: root@app:~# cat script.sh apt-get install -yq mysql-server echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff"
root@app:~# cat script.sh | bash Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: *snip* Suggested packages: *snip* The following NEW packages will be installed: l*snip* 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Need to get 9,026 kB of archives. After this operation, 96.5 MB of additional disk space will be used. Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6,364 B] *snip* Get:12 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main mysql-server all 5.5.37-0ubuntu0.14.04.1 [12.5 kB] Fetched 9,026 kB in 0s (26.4 MB/s) Preconfiguring packages ... echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff" echo "more stuff" Selecting previously unselected package libaio1:amd64. (Reading database ... 60805 files and directories currently installed.) Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ... Unpacking libaio1:amd64 (0.3.109-4) ... Selecting previously unselected package mysql-common. Preparing to unpack .../mysql-common_5.5.37-0ubuntu0.14.04.1_all.deb ... *snip* -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1261880 Title: apt-get flushes read buffer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1261880/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
