Solution to fix:
“fatal: protocol error: bad line length character: Fail”
The error:
# git pull fatal: protocol error: bad line length character: Fail
Solution:
Change the login shell of user git from /bin/sh to /bin/bash
[email protected]:~# chsh -s /bin/bash git
Now retrying:
# git pull remote: Counting objects: 20, done. remote: Compressing objects: 100% (20/20), done. remote: Total 20 (delta 11), reused 0 (delta 0) Unpacking objects: 100% (20/20), done. From gitmaster.droidzone.in:droidzone/bash-advanced-scripts 84fa4aa..cccfa41 master -> origin/master Updating 84fa4aa..cccfa41 Fast-forward batchtorrent.pl | 237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gitlabrestart | 4 +++ loadtorrents.pl | 134 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ readfile.pl | 140 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ rotten2torrent.pl | 269 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 784 insertions(+) create mode 100755 batchtorrent.pl create mode 100755 gitlabrestart create mode 100755 loadtorrents.pl create mode 100755 readfile.pl create mode 100755 rotten2torrent.pl
Edit: This is not the proper fix.
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
He is a full stack developer, whose favorite languages are currently Python and Vue.js. He is also fluent in Javascript, Flutter/Dart, Perl, PHP, SQL, C and bash shell scripting. He loves Linux, and can often be found tinkering with linux kernel code, and source code for GNU applications. He used to be an active developer on XDA forums, and his tinkered ROMS used to be very popular in the early 2000s.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.