Results 1 to 9 of 9

Thread: Error: could not write bytes: Broken pipe

  1. #1
    Join Date
    Apr 2007
    Location
    Holland MI USA
    Beans
    29
    Distro
    Ubuntu 12.04 Precise Pangolin

    Angry Error: could not write bytes: Broken pipe

    It happened like this on Ubuntu 12.04 LTS:

    1. Tried to update nVidia on a Dell M6300 following some online instruction.
    2. On reboot got an nVidia API mismatch. Black screen.
    3. Per another instruction, to fix the problem I did this: "sudo apt-get purge nvidia*" followed by "sudo apt-get update"
    4. Rebooted.
    5. Now xserver comes up and I get a purple graphical login.
    6. But on entry of password, screen flashes black, and very briefly says...
    "could not write bytes: Broken pipe"
    ...plus a few more lines that aren't on long enough to read.
    7. Goes back to purple graphical login screen.

    Like that, over and over. Good thing I have two Ubuntu laptops or I'd not be able to post this query. I have no Internet at the house and am mooching WiFi from a laundromat. So, please, be detailed with any help as it will take me plural trips to the laundromat to sort this out. And I am no kind of Linux guru. Hand holding probably needed. Thanks in advance.

  2. #2
    Join Date
    Sep 2012
    Location
    Denver,Colorado
    Beans
    243
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Error: could not write bytes: Broken pipe

    First try and click on the Ubuntu logo on the log in screen and switch it to 2D Unity and see if you can log into that if you can go to Dash then to Jockey and download and install the Current-Post-Release drivers.

    If that doesn't work you could try using the VESA driver reboot your computer and before grub loads hit escape and add vga=391 to the boot parameters then follow above advice
    + Linux Mint 13 Cinnamon 64bit +
    Lubuntu 12.04 PPC 32bit G4 | Ubuntu 12.04 PPC 64bit G5

  3. #3
    Join Date
    Apr 2007
    Location
    Holland MI USA
    Beans
    29
    Distro
    Ubuntu 12.04 Precise Pangolin

    Angry Re: Error: could not write bytes: Broken pipe

    No amount of tapping or holding ESC during attempts to reboot did anything but delay the reboot. However, after a boot, once at the purple login screen, CTRL-ALT-F1 does get me a CLI. I can login there.

    But how do I install Current-Post-Release drivers via "sudo apt-get ..." or the like, please?
    Last edited by aplonis; September 19th, 2012 at 12:32 AM.

  4. #4
    Join Date
    Feb 2010
    Location
    Nr BrandsHatch, S'oaks UK
    Beans
    1,241
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: Error: could not write bytes: Broken pipe

    Hi!, aplonis,

    After logging in on the TTY prompt there are several alternatives: apt-get install; jockey-gtk or synaptic.

    The first: is the only choice if the graphics screen is not accessible, yours is, so it is not essential:
    Code:
    sudo apt-get update 
    sudo apt-get install nvidia-current-updates # the package name of the post-release version 295.49
    Second will give you access to the same GUI as running System Settings>Additional Drivers, and it gives no indication of which version it will load, and maybe not only that but the name may be uninformative; eg: " NVIDIA binary Xorg driver, kernal module and VDPAU library"
    Code:
    gksu lockey-gtk
    Thirdly:
    Code:
    gksu synaptic
    Will run the Synaptic Package Manager and you can choose which version to mark for installation, and select 'Apply'.

    When the Window opens, give it time to renew the index and display " Quick Filter " above the string box, then enter 'nvidia'.

    I would recommend, if it shows, 'nvidia-current' version 304.43-0ubuntu1, rather than the 'nvidia-current-updates' version 295-49-0ubuntu0.2.

    I have had the 'Broken Pipe' error messages, at log-in and shut down, ever since I installed 12.04 on the first day of its release. I have Posted about it but have had no response, nor found any info about its cause or effect. For me, at least, it seems to have no importance.

    Chao!, bogan.
    "Better Solutions may bring Worsened Problems": After Lao Tse, b. circa 405BC. a contemporary of Confucius, who died circa 600BC.
    They did things differently in those days, apparently!!

  5. #5
    Join Date
    Apr 2007
    Location
    Holland MI USA
    Beans
    29
    Distro
    Ubuntu 12.04 Precise Pangolin

    SOLVED: could not write bytes: Broken pipe

    My problem was plural errors which led to non-guru confusion loop inside my brain. I fixed it after consulting several forum help-request posts (mostly answered by bogan).

    Broken pipe went away by re-upgrading nvidia from scratch, like so...

    sudo apt-get update
    sudo apt-get purge nvidia-*
    sudo apt-get install invida-current-updates


    Which repaired the mis-match in drivers. But that still left me stuck in a password entry loop (same as before but without the broken pipe message flashing in between). The reason for the login loop was that root now had ownership of my Xauthority file. Per another how-to, I just removed it, like so...

    sudo rm .Xauthority

    Then I rebooted and all was hunky dory.

    Thanks to all
    Last edited by aplonis; October 10th, 2012 at 05:19 PM.

  6. #6
    Join Date
    Jan 2013
    Beans
    1

    Re: Error: could not write bytes: Broken pipe

    Thanks aplonis. I had the same problem after installing VNC server and rebooting and doing:
    1. CTRL-ALT-F1 (to get a CLI)
    2. then "sudo rm .Xauthority

    ...fixed my login issue as well.

    This is a fresh install of ubuntu and i'm a noob so i may have done something else to shoot myself in the foot. Anyway, relieved to be fixed.

  7. #7
    Join Date
    May 2007
    Beans
    2

    Re: SOLVED: could not write bytes: Broken pipe

    Quote Originally Posted by aplonis View Post
    My problem was plural errors which led to non-guru confusion loop inside my brain. I fixed it after consulting several forum help-request posts (mostly answered by bogan).

    Broken pipe went away by re-upgrading nvidia from scratch, like so...

    sudo apt-get update
    sudo apt-get purge nvidia-*
    sudo apt-get install invida-current-updates


    Which repaired the mis-match in drivers. But that still left me stuck in a password entry loop (same as before but without the broken pipe message flashing in between). The reason for the login loop was that root now had ownership of my Xauthority file. Per another how-to, I just removed it, like so...

    sudo rm .Xauthority

    Then I rebooted and all was hunky dory.

    Thanks to all
    Thanks for this - it worked for me as well. However, I had no Xauthority issues. I also needed to run a repair from recovery mode. I am running a dual-boot (rEFIt) MacBook 5.1, with 12.04 LTS and the newest experimental NVidia drivers obviously broke my Ubuntu install.

    Couldn't figure it out, since I only got the login (CLI) screen once and never stuck around long enough for this error to appear. Ended up leaving the MacBook at boot-up for a few minutes and came back to this error. Thank you very much Steam for requiring the latest (experimental drivers). (Actually, the latest Steam lets me play with those you suggested, but warns me they're out of date).

  8. #8
    Join Date
    Aug 2012
    Beans
    9

    Re: SOLVED: could not write bytes: Broken pipe

    Quote Originally Posted by aplonis View Post
    My problem was plural errors which led to non-guru confusion loop inside my brain. I fixed it after consulting several forum help-request posts (mostly answered by bogan).

    Broken pipe went away by re-upgrading nvidia from scratch, like so...

    sudo apt-get update
    sudo apt-get purge nvidia-*
    sudo apt-get install invida-current-updates


    Which repaired the mis-match in drivers. But that still left me stuck in a password entry loop (same as before but without the broken pipe message flashing in between). The reason for the login loop was that root now had ownership of my Xauthority file. Per another how-to, I just removed it, like so...

    sudo rm .Xauthority

    Then I rebooted and all was hunky dory.

    Thanks to all
    Thanks!! This worked for me. After searching all over and purging the Official nvidia drivers, that i had loaded from their site, which is how i broke it all in the first place. I managed to get the login screen back and that was it. but deleting .Xauthority has solved that problem. Was getting to the point where i was considering a clean install. Anyway, thanks for this.

  9. #9
    Join Date
    Jun 2012
    Beans
    1

    Re: Error: could not write bytes: Broken pipe

    Thanks... Wish I had found you 4 hours earlier...

    My system was wrecked trying to install Ati drivers for V5700 firepro for mining Litecoins

    ... Learned more about X and Ati and working the commandline than I wanted to.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •