Comment 0 for bug 241723

Revision history for this message
Michael Vogt (mvo) wrote :

Binary package hint: update-manager

Update-manager adds the "admin" group if it is not on the system. If that fails, update-manager will crash:

2008-06-20 17:53:12,564 WARNING System has no admin group ('getgrnam(): name not found: admin')
2008-06-20 17:53:12,725 ERROR not handled expection:
Traceback (most recent call last):

  File "./dist-upgrade.py", line 60, in ?
    app.run()

  File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1580, in run
    self.fullUpgrade()

  File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1568, in fullUpgrade
    self.doPostUpgrade()

  File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 998, in doPostUpgrade
    func()

  File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1153, in from_dapperQuirks
    self._checkAdminGroup()

  File "/tmp/tmpuqMuL-/DistUpgradeController.py", line 1136, in _checkAdminGroup
    admin_group = grp.getgrnam("admin").gr_mem

KeyError: 'getgrnam(): name not found: admin'