[Bug 1227874] [NEW] system updates failing from /etc/ubuntu-build=4

Steve Langasek steve.langasek at canonical.com
Thu Sep 19 20:37:49 UTC 2013


Public bug reported:

The system image updates have been failing for me for a few days; I just
got a chance to look at it over adb shell, and am getting a python
backtrace:

# system-image-dbus -v
[systemimage] Sep 19 20:34:18 2013 (26752) SystemImage dbus main loop started [daily/mako]
[systemimage] Sep 19 20:34:25 2013 (26752) Looking for blacklist: https://system-image.ubuntu.com/gpg/blacklist.tar.xz
[systemimage] Sep 19 20:34:25 2013 (26752) downloading https://system-image.ubuntu.com/gpg/blacklist.tar.xz -> /tmp/system-image/keyring.tar.xz
[systemimage] Sep 19 20:34:25 2013 (26752) downloading https://system-image.ubuntu.com/gpg/blacklist.tar.xz.asc -> /tmp/system-image/keyring.tar.xz.asc
[systemimage] Sep 19 20:34:26 2013 (26752) Local blacklist file: /tmp/system-image/blacklist.tar.xz
[systemimage] Sep 19 20:34:26 2013 (26752) Looking for: https://system-image.ubuntu.com/channels.json
[systemimage] Sep 19 20:34:26 2013 (26752) downloading https://system-image.ubuntu.com/channels.json -> /tmp/system-image/channels.json
[systemimage] Sep 19 20:34:26 2013 (26752) downloading https://system-image.ubuntu.com/channels.json.asc -> /tmp/system-image/channels.json.asc
[systemimage] Sep 19 20:34:28 2013 (26752) Local channels file: /tmp/system-image/channels.json
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 634, in <lambda>
    return (lambda data: callback(*data), user_data)
  File "/usr/lib/python3/dist-packages/systemimage/dbus.py", line 45, in _check_for_update
    self._update = self._api.check_for_update()
  File "/usr/lib/python3/dist-packages/systemimage/api.py", line 96, in check_for_update
    self._state.run_until('download_files')
  File "/usr/lib/python3/dist-packages/systemimage/state.py", line 151, in run_until
    step()
  File "/usr/lib/python3/dist-packages/systemimage/state.py", line 255, in _get_channel
    self.channels = Channels.from_json(fp.read())
  File "/usr/lib/python3/dist-packages/systemimage/channel.py", line 40, in from_json
    keyring = detail_mapping.pop('keyring', None)
AttributeError: 'str' object has no attribute 'pop'

** Affects: system-image (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to system-image in Ubuntu.
https://bugs.launchpad.net/bugs/1227874

Title:
  system updates failing from /etc/ubuntu-build=4

Status in “system-image” package in Ubuntu:
  New

Bug description:
  The system image updates have been failing for me for a few days; I
  just got a chance to look at it over adb shell, and am getting a
  python backtrace:

  # system-image-dbus -v
  [systemimage] Sep 19 20:34:18 2013 (26752) SystemImage dbus main loop started [daily/mako]
  [systemimage] Sep 19 20:34:25 2013 (26752) Looking for blacklist: https://system-image.ubuntu.com/gpg/blacklist.tar.xz
  [systemimage] Sep 19 20:34:25 2013 (26752) downloading https://system-image.ubuntu.com/gpg/blacklist.tar.xz -> /tmp/system-image/keyring.tar.xz
  [systemimage] Sep 19 20:34:25 2013 (26752) downloading https://system-image.ubuntu.com/gpg/blacklist.tar.xz.asc -> /tmp/system-image/keyring.tar.xz.asc
  [systemimage] Sep 19 20:34:26 2013 (26752) Local blacklist file: /tmp/system-image/blacklist.tar.xz
  [systemimage] Sep 19 20:34:26 2013 (26752) Looking for: https://system-image.ubuntu.com/channels.json
  [systemimage] Sep 19 20:34:26 2013 (26752) downloading https://system-image.ubuntu.com/channels.json -> /tmp/system-image/channels.json
  [systemimage] Sep 19 20:34:26 2013 (26752) downloading https://system-image.ubuntu.com/channels.json.asc -> /tmp/system-image/channels.json.asc
  [systemimage] Sep 19 20:34:28 2013 (26752) Local channels file: /tmp/system-image/channels.json
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 634, in <lambda>
      return (lambda data: callback(*data), user_data)
    File "/usr/lib/python3/dist-packages/systemimage/dbus.py", line 45, in _check_for_update
      self._update = self._api.check_for_update()
    File "/usr/lib/python3/dist-packages/systemimage/api.py", line 96, in check_for_update
      self._state.run_until('download_files')
    File "/usr/lib/python3/dist-packages/systemimage/state.py", line 151, in run_until
      step()
    File "/usr/lib/python3/dist-packages/systemimage/state.py", line 255, in _get_channel
      self.channels = Channels.from_json(fp.read())
    File "/usr/lib/python3/dist-packages/systemimage/channel.py", line 40, in from_json
      keyring = detail_mapping.pop('keyring', None)
  AttributeError: 'str' object has no attribute 'pop'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-image/+bug/1227874/+subscriptions



More information about the foundations-bugs mailing list