Bzr failed on apt-get upgrade

Bug #1650441 reported by James Fry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Undecided
Unassigned

Bug Description

james@James-Hive ~ $ apt-get update && apt-get upgrade -y --allow-unauthenticated && apt-get dist-upgrade -y --allow-unauthenticated && apt-get autoclean -y && apt-get autoremove -y
Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Ign:2 http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_16.04 InRelease
Hit:3 http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_16.04 Release
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:7 http://repo.percona.com/apt xenial InRelease [15.9 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [113 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [440 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [433 kB]
Get:12 http://repo.percona.com/apt xenial/main Sources [4,996 B]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [370 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [366 kB]
Get:15 http://repo.percona.com/apt xenial/main amd64 Packages [18.1 kB]
Get:16 http://repo.percona.com/apt xenial/main i386 Packages [14.1 kB]
Ign:17 http://apt.izzysoft.de/ubuntu generic InRelease
Hit:18 http://apt.izzysoft.de/ubuntu generic Release
Get:20 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:21 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [15.3 kB]
Get:22 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [65.6 kB]
Get:23 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [63.4 kB]
Fetched 2,226 kB in 21s (103 kB/s)
Reading package lists... Done
W: http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_16.04/Release.gpg: Signature by key F9EA4996747310AE79474F44977C43A8BA684223 uses weak digest algorithm (SHA1)
W: http://apt.izzysoft.de/ubuntu/dists/generic/Release.gpg: Signature by key F9E2FB41D6EB5EFDABB56315D744E9C2C9B9B62C uses weak digest algorithm (SHA1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Entering ResolveByKeep 50%
Calculating upgrade... Done
The following packages will be upgraded:
   libpam-systemd (229-4ubuntu12 => 229-4ubuntu13)
   libsystemd0 (229-4ubuntu12 => 229-4ubuntu13)
   libudev1 (229-4ubuntu12 => 229-4ubuntu13)
   linux-firmware (1.157.5 => 1.157.6)
   python3-software-properties (0.96.20.4 => 0.96.20.5)
   software-properties-common (0.96.20.4 => 0.96.20.5)
   systemd (229-4ubuntu12 => 229-4ubuntu13)
   systemd-sysv (229-4ubuntu12 => 229-4ubuntu13)
   udev (229-4ubuntu12 => 229-4ubuntu13)
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/42.6 MB of archives.
After this operation, 23.6 kB disk space will be freed.
bzr: ERROR: bzrlib.errors.InvalidEntryName: Invalid entry name: snap-canonical\x2dlivepatch-17.mount

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

bzr 2.7.0 on python 2.7.12 (Linux-4.4.0-53-generic-x86_64-with-
    Ubuntu-16.04-xenial)
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],
    weave_fmt[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
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
etckeeper warning: bzr add failed
Committing to: /etc/
bzr: ERROR: No changes to commit. Please 'bzr add' the files you want to commit, or use --unchanged to force an empty commit.
warning: etckeeper failed to commit changes in /etc using bzr
(Reading database ... 78701 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_229-4ubuntu13_amd64.deb ...
Unpacking systemd-sysv (229-4ubuntu13) over (229-4ubuntu12) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up systemd-sysv (229-4ubuntu13) ...
(Reading database ... 78701 files and directories currently installed.)
Preparing to unpack .../libpam-systemd_229-4ubuntu13_amd64.deb ...
Unpacking libpam-systemd:amd64 (229-4ubuntu13) over (229-4ubuntu12) ...
Preparing to unpack .../libsystemd0_229-4ubuntu13_amd64.deb ...
Unpacking libsystemd0:amd64 (229-4ubuntu13) over (229-4ubuntu12) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Setting up libsystemd0:amd64 (229-4ubuntu13) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
(Reading database ... 78701 files and directories currently installed.)
Preparing to unpack .../systemd_229-4ubuntu13_amd64.deb ...
Unpacking systemd (229-4ubuntu13) over (229-4ubuntu12) ...
Processing triggers for dbus (1.10.6-1ubuntu3.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up systemd (229-4ubuntu13) ...
addgroup: The group `systemd-journal' already exists as a system group. Exiting.
(Reading database ... 78689 files and directories currently installed.)
Preparing to unpack .../udev_229-4ubuntu13_amd64.deb ...
Unpacking udev (229-4ubuntu13) over (229-4ubuntu12) ...
Preparing to unpack .../libudev1_229-4ubuntu13_amd64.deb ...
Unpacking libudev1:amd64 (229-4ubuntu13) over (229-4ubuntu12) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu13) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Setting up libudev1:amd64 (229-4ubuntu13) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
(Reading database ... 78689 files and directories currently installed.)
Preparing to unpack .../linux-firmware_1.157.6_all.deb ...
Unpacking linux-firmware (1.157.6) over (1.157.5) ...
Preparing to unpack .../software-properties-common_0.96.20.5_all.deb ...
Unpacking software-properties-common (0.96.20.5) over (0.96.20.4) ...
Preparing to unpack .../python3-software-properties_0.96.20.5_all.deb ...
Unpacking python3-software-properties (0.96.20.5) over (0.96.20.4) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for dbus (1.10.6-1ubuntu3.1) ...
Setting up libpam-systemd:amd64 (229-4ubuntu13) ...
Setting up udev (229-4ubuntu13) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.157.6) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-53-generic
Setting up python3-software-properties (0.96.20.5) ...
Setting up software-properties-common (0.96.20.5) ...
Processing triggers for initramfs-tools (0.122ubuntu8.5) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-53-generic
bzr: ERROR: bzrlib.errors.InvalidEntryName: Invalid entry name: snap-canonical\x2dlivepatch-17.mount

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

bzr 2.7.0 on python 2.7.12 (Linux-4.4.0-53-generic-x86_64-with-
    Ubuntu-16.04-xenial)
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],
    weave_fmt[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
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
etckeeper warning: bzr add failed
Committing to: /etc/
bzr: ERROR: No changes to commit. Please 'bzr add' the files you want to commit, or use --unchanged to force an empty commit.
warning: etckeeper failed to commit changes in /etc using bzr
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
James Fry (james-fry) wrote :
Revision history for this message
James Fry (james-fry) wrote :

Nevermind that seems to be all available packages, no wonder it was so big. THIS is the correct list of packages installed on my machine

Revision history for this message
James Fry (james-fry) wrote :

For some reason the file did not attach .. weird

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is working correctly from bzr's POV since this is not a valid UTF8 filename. The only thing is that it shouldn't print a traceback for this but just a one line error explaining that the filename is invalid.

Changed in bzr:
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.