Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Xubuntu 12.04 and am trying to use gdrive. During its work, I'm getting this: gnutls_handshake: A TLS packet with unexpected length was received.

Research online, including on this website (http://askubuntu.com/questions/136082/ubuntu-12-4-and-gnus-and-maybe-gnutls , Mutt not working due to "gnutls_handshake: A TLS packet with unexpected length was received." error ) shows there's a bug with gnutls in the 12.04 release.

I posted this information to the gdrive development forum but doubt they will start using openssl because of this. So instead, I'd like to look into upgrading gnutls to fix this bug.

Problem is - I have no clue how to do that in a way that wouldn't break the entire OS.

Any directions would be appreciated!

share|improve this question
    
This problem still appears to be present in 13.10. My guess is that the only way to fix this is to compile grive with OpenSSL support instead of GNUTLS. –  joelittlejohn Mar 24 at 0:38
add comment

1 Answer

Backports

It sounds like you need a backport. A backport makes a more recent version of an upstream project in an older Ubuntu release.

See:

However, this isn't necessarily a complete answer for you. Backporting a library successfully and without unintended consequences is considerably more involved, because as you say it can break things.

Stable Release Updates

If it is a simple bug that you need fixed, rather than new functionality, then it is also possible to cherry-pick the fix into a stable release update. See:

However, bugs fixed this way generally need to be simple enough that they obviously won't break anything. Again, this is difficult in this particular case.

Personal Package Archives

Finally, you can make changes to packages and put them into your own personal package archive. This way you don't have to worry about adversely affecting others who aren't expecting it (as they have to explicitly enable your own specific archive), and so you don't have to follow the stricter rules required for SRUs and backports.

See:

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.