With http://launchpad.net/ubuntu/+source/apt/1.0.1ubuntu2.2 , the command finishes with this output.
$ yes "" | sudo apt-get -y install tftpd-hpa Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: tftpd-hpa 0 upgraded, 1 newly installed, 0 to remove and 47 not upgraded. Need to get 0 B/38.2 kB of archives. After this operation, 151 kB of additional disk space will be used. Preconfiguring packages ... E: Can not write log (Is stdout a terminal?) - tcgetattr (25: Inappropriate ioctl for device) Selecting previously unselected package tftpd-hpa. (Reading database ... 238423 files and directories currently installed.) Preparing to unpack .../tftpd-hpa_5.2-7ubuntu3_amd64.deb ... Unpacking tftpd-hpa (5.2-7ubuntu3) ... Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for man-db (2.6.7.1-1) ... Setting up tftpd-hpa (5.2-7ubuntu3) ... tftpd-hpa start/running, process 28508 Processing triggers for ureadahead (0.100.0-16) ... -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1324399 Title: apt-get failing to show progress with yes command Status in “apt” package in Ubuntu: In Progress Status in “apt” source package in Trusty: Fix Committed Bug description: When running this command on Ubuntu 14.04 amd64 release: yes "" | apt-get -y install tftpd-hpa It never finishes... Only shows black screen on the terminal. I know it's weird to use yes "" for this command. However, just to show it does not make any sense the command can not be finished. This issue does not occur on Ubuntu 13.10, nor on Debian Sid. The following is some info about this system: ProblemType: Bug ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 Date: Thu May 29 15:06:52 2014 Dependencies: dpkg 1.17.5ubuntu5.2 gcc-4.8-base 4.8.2-19ubuntu1 gcc-4.9-base 4.9-20140406-0ubuntu1 gnupg 1.4.16-1ubuntu2 gpgv 1.4.16-1ubuntu2 libacl1 2.2.52-1 libapt-pkg4.12 1.0.1ubuntu2 libattr1 1:2.4.47-1ubuntu1 libbz2-1.0 1.0.6-5 libc6 2.19-0ubuntu6 libgcc1 1:4.9-20140406-0ubuntu1 liblzma5 5.1.1alpha+20120614-2ubuntu2 libpcre3 1:8.31-2ubuntu2 libreadline6 6.3-4ubuntu2 libselinux1 2.2.2-1ubuntu0.1 libstdc++6 4.8.2-19ubuntu1 libtinfo5 5.9+20140118-1ubuntu1 libusb-0.1-4 2:0.1.12-23.3ubuntu1 multiarch-support 2.19-0ubuntu6 readline-common 6.3-4ubuntu2 tar 1.27.1-1 ubuntu-keyring 2012.05.19 zlib1g 1:1.2.8.dfsg-1ubuntu1 DistroRelease: Ubuntu 14.04 Package: apt 1.0.1ubuntu2 PackageArchitecture: amd64 ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11 SourcePackage: apt Tags: trusty Uname: Linux 3.13.0-27-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1324399/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp