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 tried to install Ubuntu TV in Ubuntu 12.04 with this guide: https://wiki.ubuntu.com/UbuntuTV/Contributing.

Everything had been OK until I wrote to the terminal bzr branch lp:~s-team/ubuntutv/trunk ubuntu-tv. It says:

Permission denied (publickey). ConnectionReset reading response for 'BzrDir.open_2.1', retrying Permission denied (publickey). bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.

share|improve this question
add comment

3 Answers 3

Seems like you have problems with your bzr configurations. I used to have these problems because of a network firewall and I just have to do away with my bzr configurations.

You can try these steps and see if it works:

mv .bazaar .bazaar.backup/

Doing that would give you a fresh configuration settings for bzr and you can try branching the ubuntu-tv again.

bzr branch lp:~s-team/ubuntutv/trunk ubuntu-tv
share|improve this answer
    
Thank you! But now, when I run the same command, I get this: Permission denied (publickey). ConnectionReset reading response for 'BzrDir.open_2.1', retrying Permission denied (publickey). bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. –  Aleksi Kinnunen Mar 31 '12 at 16:37
    
@AleksiKinnunen Are you sure you ran the first command? If you did, you wouldn't get any error. If you still do, check if you have network firewall. –  jokerdino Apr 1 '12 at 10:10
    
I downloaded gufw firewall manager, but firewall is disabled. I've run everything needed. –  Aleksi Kinnunen Apr 1 '12 at 13:26
add comment

You seem to have trouble connecting to Launchpad over SSH. Make sure that you have a public SSH key registered on launchpad for which you have the private key available locally and check that Launchpad knows about your username (bzr lp-login <username>).

Alternatively, since you're only trying to access a public branch (which doesn't require authentication) you can also simply force bzr to use http by running bzr config --remove launchpad_username.

share|improve this answer
    
You certainly don't need to register on launchpad to branch projects. Yes Bazaar will give you a warning that you won't be able to write to launchpad, but that doesn't prevent you from branching or checkout. –  janos Aug 10 '12 at 10:05
add comment

It seems Launchpad is unreachable from your PC.

If you have a proxy server in your network, you need to set the https_proxy environment variable in the format http://[user[:pass]@]server[:port]/[path], for example:

https_proxy=http://jack:badpass@our.intranet.com:8080/proxy.js

What is your output to this command:

bzr resolve lp:~s-team/ubuntutv/trunk ubuntu-tv

And to this one:

python -c "import socket; socket.gethostbyname('code.launchpad.net')

And this one:

env | grep https_proxy
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.