Odoo Help


bazaar checkout with --lightweight option ERROR

on 6/16/13, 8:20 AM 5,106 views

Greetings :)

I want to download source from bazaar it may take more than an two hours to download source code using bzr branch command (my network is bit slow)

But fastest way is to use checkout along with --lightweight


bzr checkout --lightweight lp:openobject-server/7.0 server bzr checkout --lightweight lp:openobject-addons/7.0 addons bzr checkout --lightweight lp:openerp-web/7.0 web

I do not want to update my changes into repository as I am not a vivid developer. I tried to use the following command

cd server bzr unbind

I got the following error

bzr: ERROR: To use this feature you must upgrade your branch at bzr+ssh://bazaar.launchpad.net/+branch/openobject-server/7.0/.

What does it mean? how do I upgrade?

Thank you




| 5 6 8
Cornwall, Canada

Analysing, designing, coding and mentoring since 1975. Kilobytes to terabytes. Punch cards to punchy sites. My OpenERP video series: http://www.youtube.com/playlist?list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye My Google Speadsheets --> OpenERP Data Pump project: http://martinhbramwell.github.io/GData_OpenERP_Data_Pump My email (with spaces removed) : mhb . warehouseman @ gmail . com

On 2/22/14, 9:14 AM

There is a launchpad bug report about this, ". . . unbind is for bound branches, a lightweight checkout is not a bound branch, that's the bug, unbind should warn about that, not suggesting upgrade"

unbind shouldn't suggest upgrade

By the way, Keyur's answer above is completely incorrect. " you can upgrade your bazaar branch by giving by command : bzr pull or bzr update". An update and an upgrade are two very different things:

  • update - brings in the latest changes from the repository.
  • upgrade - changes the branch management software.

You can, of course, try the suggested upgrade with :

bzr upgrade --2a

Just bear in mind that it's pointless.

The real solution is to get the entire heavyweight branch. The technique for doing that is described here: Using bzr for installing OpenERP



| 4 4 8
Ahmedabad, India

Odoo Expert

On 6/16/13, 9:21 AM

Hi white, you can upgrade your bazaar branch by giving by command : bzr pull or bzr update

Maybe then it will work.


Thank you for your response. When i tried bzr pull I got the following error, white@Acer-5830TG:~/bzr/temp/server$ bzr pull bzr: ERROR: Cannot lock LockDir(chroot-65376016:///%2Bbranch/openobject-server/7.0/.bzr/branch/lock): Transport operation not possible: readonly transport when I tried bzr update it executed successfully. But when i tried bzr unbind i got the same error i posted.

on 6/16/13, 12:10 PM

You can apply bzr break-lock command. Maybe that will solve your problem. And make sure you have given right permission to your repositories.

on 6/24/13, 9:12 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/16/13, 8:20 AM
Seen: 5106 times
Last updated: 3/16/15, 8:10 AM