Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?












0















What exactly does the error message beginning with E: mean? I assume it has to do with the file structure on Ubuntu-on-Windows, but what exactly?



The following package was automatically installed and is no longer required:
os-prober
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
libxslt1.1
The following NEW packages will be installed:
libxslt1.1 xmlstarlet
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 435 kB of archives.
After this operation, 1023 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libxslt1.1 amd64 1.1.28-2build1 [145 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe xmlstarlet amd64 1.5.0-1 [290 kB]
Fetched 435 kB in 3s (134 kB/s)
**E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)**
Selecting previously unselected package libxslt1.1:amd64.
(Reading database ... 28723 files and directories currently installed.)
Preparing to unpack .../libxslt1.1_1.1.28-2build1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2build1) ...
Selecting previously unselected package xmlstarlet.
Preparing to unpack .../xmlstarlet_1.5.0-1_amd64.deb .









share|improve this question





























    0















    What exactly does the error message beginning with E: mean? I assume it has to do with the file structure on Ubuntu-on-Windows, but what exactly?



    The following package was automatically installed and is no longer required:
    os-prober
    Use 'apt-get autoremove' to remove it.
    The following extra packages will be installed:
    libxslt1.1
    The following NEW packages will be installed:
    libxslt1.1 xmlstarlet
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 435 kB of archives.
    After this operation, 1023 kB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libxslt1.1 amd64 1.1.28-2build1 [145 kB]
    Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe xmlstarlet amd64 1.5.0-1 [290 kB]
    Fetched 435 kB in 3s (134 kB/s)
    **E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)**
    Selecting previously unselected package libxslt1.1:amd64.
    (Reading database ... 28723 files and directories currently installed.)
    Preparing to unpack .../libxslt1.1_1.1.28-2build1_amd64.deb ...
    Unpacking libxslt1.1:amd64 (1.1.28-2build1) ...
    Selecting previously unselected package xmlstarlet.
    Preparing to unpack .../xmlstarlet_1.5.0-1_amd64.deb .









    share|improve this question



























      0












      0








      0


      1






      What exactly does the error message beginning with E: mean? I assume it has to do with the file structure on Ubuntu-on-Windows, but what exactly?



      The following package was automatically installed and is no longer required:
      os-prober
      Use 'apt-get autoremove' to remove it.
      The following extra packages will be installed:
      libxslt1.1
      The following NEW packages will be installed:
      libxslt1.1 xmlstarlet
      0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      Need to get 435 kB of archives.
      After this operation, 1023 kB of additional disk space will be used.
      Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libxslt1.1 amd64 1.1.28-2build1 [145 kB]
      Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe xmlstarlet amd64 1.5.0-1 [290 kB]
      Fetched 435 kB in 3s (134 kB/s)
      **E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)**
      Selecting previously unselected package libxslt1.1:amd64.
      (Reading database ... 28723 files and directories currently installed.)
      Preparing to unpack .../libxslt1.1_1.1.28-2build1_amd64.deb ...
      Unpacking libxslt1.1:amd64 (1.1.28-2build1) ...
      Selecting previously unselected package xmlstarlet.
      Preparing to unpack .../xmlstarlet_1.5.0-1_amd64.deb .









      share|improve this question
















      What exactly does the error message beginning with E: mean? I assume it has to do with the file structure on Ubuntu-on-Windows, but what exactly?



      The following package was automatically installed and is no longer required:
      os-prober
      Use 'apt-get autoremove' to remove it.
      The following extra packages will be installed:
      libxslt1.1
      The following NEW packages will be installed:
      libxslt1.1 xmlstarlet
      0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      Need to get 435 kB of archives.
      After this operation, 1023 kB of additional disk space will be used.
      Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libxslt1.1 amd64 1.1.28-2build1 [145 kB]
      Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe xmlstarlet amd64 1.5.0-1 [290 kB]
      Fetched 435 kB in 3s (134 kB/s)
      **E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)**
      Selecting previously unselected package libxslt1.1:amd64.
      (Reading database ... 28723 files and directories currently installed.)
      Preparing to unpack .../libxslt1.1_1.1.28-2build1_amd64.deb ...
      Unpacking libxslt1.1:amd64 (1.1.28-2build1) ...
      Selecting previously unselected package xmlstarlet.
      Preparing to unpack .../xmlstarlet_1.5.0-1_amd64.deb .






      windows-subsystem-for-linux






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 28 '16 at 2:04









      muru

      1




      1










      asked May 1 '16 at 15:28









      Fred ZimmermanFred Zimmerman

      105




      105






















          1 Answer
          1






          active

          oldest

          votes


















          1














          It means that the Windows NT Linux Subsystem does not provide pseudo-terminals. People get this same error in vanilla Ubuntu/Debian when installing packages in changed root environments where /dev hasn't been populated with the various pseudo-terminal devices. In the Windows NT Linux Subsystem's case, they aren't there simply because the operating system kernel isn't supplying them.



          The message actually comes from the apt-get command, which is invoking the dpkg command with its standard I/O attached to a pseudo-terminal. Here is the source code for where it happens. (The message has changed slightly in Ubuntu 16. The Windows NT Linux Subsystem uses an earlier version of Ubuntu by default, though.)



          Further reading





          • LTSP error: Can not write log, openpty() failed (/dev/pts not mounted?). Ubuntu bug #294403. Canonical.

          • Anatoly Zaretsky (2016-03-31). Pseudoterminals. Windows Developer Feedback. Microsoft corporation.


          • termios implementation is incomplete. BashOnWindows bug #169. 2016-04-13. Microsoft corporation.


          • docker installation fails E: Can not write log(Is /dev/pts mounted?). BashOnWindows bug #85. 2016-04-08. Microsoft corporation.


          • apt-get cannot write log, reports openpty error. BashOnWindows bug #80. 2016-04-08. Microsoft corporation.

          • Jonathan de Boyne Pollard (2000). Capturing console I/O in Win32. Frequently Given Answers.

          • https://news.ycombinator.com/item?id=11581935

          • How do I make apt-get install less noisy?






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f765946%2fcan-not-write-log-is-dev-pts-mounted-openpty-in-ubuntu-on-windows%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            It means that the Windows NT Linux Subsystem does not provide pseudo-terminals. People get this same error in vanilla Ubuntu/Debian when installing packages in changed root environments where /dev hasn't been populated with the various pseudo-terminal devices. In the Windows NT Linux Subsystem's case, they aren't there simply because the operating system kernel isn't supplying them.



            The message actually comes from the apt-get command, which is invoking the dpkg command with its standard I/O attached to a pseudo-terminal. Here is the source code for where it happens. (The message has changed slightly in Ubuntu 16. The Windows NT Linux Subsystem uses an earlier version of Ubuntu by default, though.)



            Further reading





            • LTSP error: Can not write log, openpty() failed (/dev/pts not mounted?). Ubuntu bug #294403. Canonical.

            • Anatoly Zaretsky (2016-03-31). Pseudoterminals. Windows Developer Feedback. Microsoft corporation.


            • termios implementation is incomplete. BashOnWindows bug #169. 2016-04-13. Microsoft corporation.


            • docker installation fails E: Can not write log(Is /dev/pts mounted?). BashOnWindows bug #85. 2016-04-08. Microsoft corporation.


            • apt-get cannot write log, reports openpty error. BashOnWindows bug #80. 2016-04-08. Microsoft corporation.

            • Jonathan de Boyne Pollard (2000). Capturing console I/O in Win32. Frequently Given Answers.

            • https://news.ycombinator.com/item?id=11581935

            • How do I make apt-get install less noisy?






            share|improve this answer






























              1














              It means that the Windows NT Linux Subsystem does not provide pseudo-terminals. People get this same error in vanilla Ubuntu/Debian when installing packages in changed root environments where /dev hasn't been populated with the various pseudo-terminal devices. In the Windows NT Linux Subsystem's case, they aren't there simply because the operating system kernel isn't supplying them.



              The message actually comes from the apt-get command, which is invoking the dpkg command with its standard I/O attached to a pseudo-terminal. Here is the source code for where it happens. (The message has changed slightly in Ubuntu 16. The Windows NT Linux Subsystem uses an earlier version of Ubuntu by default, though.)



              Further reading





              • LTSP error: Can not write log, openpty() failed (/dev/pts not mounted?). Ubuntu bug #294403. Canonical.

              • Anatoly Zaretsky (2016-03-31). Pseudoterminals. Windows Developer Feedback. Microsoft corporation.


              • termios implementation is incomplete. BashOnWindows bug #169. 2016-04-13. Microsoft corporation.


              • docker installation fails E: Can not write log(Is /dev/pts mounted?). BashOnWindows bug #85. 2016-04-08. Microsoft corporation.


              • apt-get cannot write log, reports openpty error. BashOnWindows bug #80. 2016-04-08. Microsoft corporation.

              • Jonathan de Boyne Pollard (2000). Capturing console I/O in Win32. Frequently Given Answers.

              • https://news.ycombinator.com/item?id=11581935

              • How do I make apt-get install less noisy?






              share|improve this answer




























                1












                1








                1







                It means that the Windows NT Linux Subsystem does not provide pseudo-terminals. People get this same error in vanilla Ubuntu/Debian when installing packages in changed root environments where /dev hasn't been populated with the various pseudo-terminal devices. In the Windows NT Linux Subsystem's case, they aren't there simply because the operating system kernel isn't supplying them.



                The message actually comes from the apt-get command, which is invoking the dpkg command with its standard I/O attached to a pseudo-terminal. Here is the source code for where it happens. (The message has changed slightly in Ubuntu 16. The Windows NT Linux Subsystem uses an earlier version of Ubuntu by default, though.)



                Further reading





                • LTSP error: Can not write log, openpty() failed (/dev/pts not mounted?). Ubuntu bug #294403. Canonical.

                • Anatoly Zaretsky (2016-03-31). Pseudoterminals. Windows Developer Feedback. Microsoft corporation.


                • termios implementation is incomplete. BashOnWindows bug #169. 2016-04-13. Microsoft corporation.


                • docker installation fails E: Can not write log(Is /dev/pts mounted?). BashOnWindows bug #85. 2016-04-08. Microsoft corporation.


                • apt-get cannot write log, reports openpty error. BashOnWindows bug #80. 2016-04-08. Microsoft corporation.

                • Jonathan de Boyne Pollard (2000). Capturing console I/O in Win32. Frequently Given Answers.

                • https://news.ycombinator.com/item?id=11581935

                • How do I make apt-get install less noisy?






                share|improve this answer















                It means that the Windows NT Linux Subsystem does not provide pseudo-terminals. People get this same error in vanilla Ubuntu/Debian when installing packages in changed root environments where /dev hasn't been populated with the various pseudo-terminal devices. In the Windows NT Linux Subsystem's case, they aren't there simply because the operating system kernel isn't supplying them.



                The message actually comes from the apt-get command, which is invoking the dpkg command with its standard I/O attached to a pseudo-terminal. Here is the source code for where it happens. (The message has changed slightly in Ubuntu 16. The Windows NT Linux Subsystem uses an earlier version of Ubuntu by default, though.)



                Further reading





                • LTSP error: Can not write log, openpty() failed (/dev/pts not mounted?). Ubuntu bug #294403. Canonical.

                • Anatoly Zaretsky (2016-03-31). Pseudoterminals. Windows Developer Feedback. Microsoft corporation.


                • termios implementation is incomplete. BashOnWindows bug #169. 2016-04-13. Microsoft corporation.


                • docker installation fails E: Can not write log(Is /dev/pts mounted?). BashOnWindows bug #85. 2016-04-08. Microsoft corporation.


                • apt-get cannot write log, reports openpty error. BashOnWindows bug #80. 2016-04-08. Microsoft corporation.

                • Jonathan de Boyne Pollard (2000). Capturing console I/O in Win32. Frequently Given Answers.

                • https://news.ycombinator.com/item?id=11581935

                • How do I make apt-get install less noisy?







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 13 '17 at 12:25









                Community

                1




                1










                answered May 3 '16 at 19:37









                JdeBPJdeBP

                3,2141431




                3,2141431






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f765946%2fcan-not-write-log-is-dev-pts-mounted-openpty-in-ubuntu-on-windows%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Human spaceflight

                    張江高科駅