Bazaar internal error on autoremove after installing livepatch

Bug #1702391 reported by David Varley on 2017-07-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

After installing livepatch I ran apt autoremove to get some space back on /boot
Towards the end I got the following, including the request to file this bug report...

Setting up linux-image-generic ( ...
Setting up linux-generic ( ...
bzr: ERROR: bzrlib.errors.InvalidEntryName: Invalid entry name: snap-canonical\x2dlivepatch-22.mount

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 673, in run_argv_aliases
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 842, in run
    no_recurse, action=action, save=not dry_run)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 52, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 453, in smart_add
    adder.add(file_list, recurse=recurse)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 764, in add
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 628, in _add_one_and_parent
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 2234, in make_entry
    return factory(file_id, name, parent_id)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 422, in __init__
    super(InventoryFile, self).__init__(file_id, name, parent_id)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 222, in __init__
    raise errors.InvalidEntryName(name=name)
InvalidEntryName: Invalid entry name: snap-canonical\x2dlivepatch-22.mount

bzr 2.7.0 on python 2.7.12 (Linux-4.4.0-84-generic-x86_64-with-
arguments: ['/usr/bin/bzr', 'add', '-q', '.']
plugins: bash_completion[2.7.0], bzrtools[2.6.0], changelog_merge[2.7.0],
    etckeeper[unknown], grep[2.7.0], launchpad[2.7.0],
    netrc_credential_store[2.7.0], news_merge[2.7.0], po_merge[2.7.0],
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
    including this traceback and a description of the problem.
etckeeper warning: bzr add failed
Committing to: /etc/
modified apt/apt.conf.d/01autoremove-kernels
Committed revision 2796.

Jelmer Vernooij (jelmer) on 2017-11-09
tags: added: check-for-breezy
Jelmer Vernooij (jelmer) on 2018-04-03
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers