[apport] update-manager crashed with ImportError in <module>() because of missing GnuPGInterface

Bug #81991 reported by seb
106
This bug affects 4 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

Binary package hint: update-manager

Just click from control panel to have this bug. Can't access to update. Synaptic work great, this is only way to update my system.

<email address hidden>

ProblemType: Crash
Date: Sun Jan 28 15:38:11 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/update-manager
InterpreterPath: /usr/bin/python2.5
Package: update-manager 0.53.3
ProcCmdline: /usr/bin/python /usr/bin/update-manager
ProcCwd: /home/seb
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/update-manager']
SourcePackage: update-manager
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/update-manager", line 32, in <module>
     from UpdateManager.UpdateManager import UpdateManager
 ImportError: No module named UpdateManager.UpdateManager
Uname: Linux megane 2.6.20-5-generic #2 SMP Sat Jan 6 14:50:47 UTC 2007 i686 GNU/Linux

Revision history for this message
seb (seblp) wrote : Dependencies.txt
Revision history for this message
seb (seblp) wrote : ProcMaps.txt
Revision history for this message
seb (seblp) wrote : ProcStatus.txt
Revision history for this message
chantra (chantra) wrote : Re: [apport] update-manager crashed with ImportError in <module>()

Thanks for reporting this bug.
Could you please attach "Traceback.txt".
This bug sound to be a duplicate to #81835

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

Thanks for your bugreport.

Could you please update to the (just uploaded) version 0.53.5? This should fix the problem. Please confirm that it is fixed with this upload .)

Thanks,
 Michael

Changed in update-manager:
assignee: nobody → mvo
status: Unconfirmed → Fix Committed
Revision history for this message
Jonh Wendell (wendell) wrote :

Comment from #82405:

"If it really is the same problem is not solved on 0.53.5 (this is the version that crashed in my system)."

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Michael, read the traceback. It *is* 0.53.5. I'm having the problem with that one as well.

Revision history for this message
miked (miked11) wrote :

crash
Fresh install 7.04 Fiesty Fawn Herd 2 after all updates, upgrades, and dist-upgrades.
Multiple errors/bugs some closed before sending.

Revision history for this message
miked (miked11) wrote :

I use Ubuntu 7.04 The Feisty Fawn Alpha Herd3 i386/i686.iso now. So I don't seee this bug anymore. Thanks.

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

Thanks for this additional information.

If this is still happening, could you please run:
$ sudo pycentral -v pkginstall update-manager
$ sudo pycentral -v pkginstall update-manager-core

and attach the output to this bugreport?

Thanks,
 Michael

Changed in update-manager:
status: Fix Committed → Needs Info
Revision history for this message
JP Foster (jeepster) wrote :

From the traceback

It is missing GnuPGInterface

Putting a symlink in /usr/lib/python.2.5/site-packages to
 /usr/share/python-support/python-gnupginterface/GnuPGInterface.py
Fixes it.
This is not the bugfix though. The fix must make sure the right paths are searched by python.

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

It looks like pysupport failed to correctly setup python-gnupginterface in this case.

Revision history for this message
JP Foster (jeepster) wrote :

Should a bug be filed against one of those packages then?

Revision history for this message
miked (miked11) wrote :

I don't think I have had this crash since Herd 2, but here's the info in Ubuntu 7.04 Beta.
root@Ubuntu704Beta:~# pycentral -v pkginstall update-manager
pycentral: pycentral -v pkginstall update-manager
pycentral: avail=['2.5', '2.4'], pkg=2.4, 2.5, install=['2.5', '2.4']
pycentral: install package update-manager
pycentral: byte-compile files (35/35) python2.5
pycentral: ['/usr/lib/python2.5/site-packages/UpdateManager/Common/HelpViewer.py', '/usr/lib/python2.5/site-packages/UpdateManager/Common/SimpleGladeApp.py', '...']
pycentral: byte-compile files (35/35) python2.4
pycentral: ['/usr/lib/python2.4/site-packages/UpdateManager/Common/HelpViewer.py', '/usr/lib/python2.4/site-packages/UpdateManager/Common/SimpleGladeApp.py', '...']
root@Ubuntu704Beta:~# pycentral -v pkginstall update-manager-core
pycentral: pycentral -v pkginstall update-manager-core
pycentral: avail=['2.5', '2.4'], pkg=2.4, 2.5, install=['2.5', '2.4']
pycentral: install package update-manager-core
pycentral: byte-compile files (4/4) python2.5
pycentral: ['/usr/lib/python2.5/site-packages/UpdateManager/Core/DistUpgradeFetcherCore.py', '/usr/lib/python2.5/site-packages/UpdateManager/Core/MetaRelease.py', '...']
pycentral: byte-compile files (4/4) python2.4
pycentral: ['/usr/lib/python2.4/site-packages/UpdateManager/Core/DistUpgradeFetcherCore.py', '/usr/lib/python2.4/site-packages/UpdateManager/Core/MetaRelease.py', '...']
root@Ubuntu704Beta:~#

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

It seems that this is fixed for most people now? I would like to close it, if anyone is bitten by it again, please reopen.

Thanks,
 Michael

Changed in update-manager:
status: Needs Info → Fix Released
Revision history for this message
seb (seblp) wrote : Re: [Bug 81991] Re: [apport] update-manager crashed with ImportError in <module>() because of missing GnuPGInterface

This bug is repaired. No problem. Thanks

Michael Vogt a écrit :
> It seems that this is fixed for most people now? I would like to close
> it, if anyone is bitten by it again, please reopen.
>
> Thanks,
> Michael
>
> ** Changed in: update-manager (Ubuntu)
> Status: Needs Info => Fix Released
>
>

Revision history for this message
JP Foster (jeepster) wrote :

Finally fixed when I do a
$ sudo dpkg-reconfigure python-gnupginterface

Updates work again!

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.