point out the backup if the upgrade fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
From Bruce Korb on the mailing list.
I was trying to follow directions:
$ bzr update
Working tree format 3 is deprecated and a better format is available.
It is recommended that you upgrade by running the command
bzr upgrade file://
Tree is up to date at revision 405.
$ bzr upgrade file://
starting upgrade of file://
making backup of tree history
file://
file://
if conversion fails, you can move this directory back to .bzr
if it succeeds, you can remove this directory if you wish
bzr: ERROR: Could not acquire lock [Errno 37] No locks available
/usr/lib/
on <open file u'/share/
mode 'wb+' at 0xb7c3a0f8> not released
warn("lock on %r not released" % self.f)
=======
At this point, I did a number of things to investigate why I could not
get the lock. It turns out, I did a ``yum install'' as root (because you
have to do that as root) and so the lock files were owned by and
only modifiable by root. Oops. (Not your issue, tho.) Meanwhile,
the ``if conversion fails, you can move this directory back'' comment
was pages and pages back in my scroll history and not quite scrolled
off yet. Good thing because future attempts:
=======
$ bzr upgrade file://
starting upgrade of file://
making backup of tree history
bzr: ERROR: File exists:
u'/share/
exists: '/share/
=======
don't give you that hint. Hint: it would be a good idea to repeat the hint :)
It would have avoided this missive.
Thanks - Bruce
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: simple |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tags upgrade
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkl v36AACgkQPGPKP6 Cz6Itu5wCfcqS5a 8EO156W30pirU8L Na8L USnQFfxsNN+ 6qo5rg/ ka+lf
3rkAnRpx+
=MVlU
-----END PGP SIGNATURE-----