Announcement

Collapse
No announcement yet.

Upgrade crashed, can't restart

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Upgrade crashed, can't restart

    I was following the instructions to upgrade from 9.04 to 9.10 over the internet. I ran 'update-notifier-kde -u' from a konsole terminal. When I got back from my coffee, the GUI was hung on the "installing upgrades" step, and the konsole window had the following crash dump:

    Code:
    user@hostname:~$ update-notifier-kde -u
    extracting 'karmic.tar.gz'       
    authenticate 'karmic.tar.gz' against 'karmic.tar.gz.gpg' 
    /var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
     super(Connection, self).__init__(*args, **kwargs)                                
    
    adept_manager: no process killed
    adept_updater: no process killed
     * Starting automatic crash report generation: apport
      ...done.                     
    exitMainLoop                     
    Traceback (most recent call last):          
     File "/tmp/tmp574Cxr/karmic", line 7, in <module> 
      sys.exit(main())                 
     File "/tmp/tmp574Cxr/DistUpgradeMain.py", line 132, in main
      if app.run():                      
     File "/tmp/tmp574Cxr/DistUpgradeController.py", line 1590, in run
      return self.fullUpgrade()                   
     File "/tmp/tmp574Cxr/DistUpgradeController.py", line 1564, in fullUpgrade
      if not self.doDistUpgrade():                      
     File "/tmp/tmp574Cxr/DistUpgradeController.py", line 1049, in doDistUpgrade
      "                                    
    " 6.942703e-310)                              
     File "/tmp/tmp574Cxr/DistUpgradeViewKDE.py", line 696, in error      
      loadUi("dialog_error.ui", dialogue)                   
     File "/tmp/tmp574Cxr/DistUpgradeViewKDE.py", line 59, in loadUi      
      uic.loadUi(file, parent)                         
     File "/var/lib/python-support/python2.6/PyQt4/uic/__init__.py", line 112, in loadUi
      pyqt3_wrapper is optionally set to generate extra code that allows the code   
     File "/var/lib/python-support/python2.6/PyQt4/uic/Loader/loader.py", line 8, in __init__
      UIParser.__init__(self, QtCore, QtGui, LoaderCreatorPolicy())             
     File "/var/lib/python-support/python2.6/PyQt4/uic/uiparser.py", line 87, in __init__  
      self.factory = QObjectCreator(creatorPolicy)                     
     File "/var/lib/python-support/python2.6/PyQt4/uic/objcreator.py", line 43, in __init__ 
      if load_plugin(open(os.path.join(plugindir, filename)), plugin_globals, plugin_locals):
    IOError: [Errno 2] No such file or directory: '/usr/share/python-qt4/widget-plugins/kde4.py'
    Error in sys.excepthook:                                  
    Traceback (most recent call last):                             
     File "/tmp/tmp574Cxr/DistUpgradeViewKDE.py", line 575, in _handleException        
      loadUi("dialog_error.ui", dialog)                            
     File "/tmp/tmp574Cxr/DistUpgradeViewKDE.py", line 59, in loadUi              
      uic.loadUi(file, parent)                                
     File "/var/lib/python-support/python2.6/PyQt4/uic/__init__.py", line 112, in loadUi    
      pyqt3_wrapper is optionally set to generate extra code that allows the code       
     File "/var/lib/python-support/python2.6/PyQt4/uic/Loader/loader.py", line 8, in __init__ 
      UIParser.__init__(self, QtCore, QtGui, LoaderCreatorPolicy())              
     File "/var/lib/python-support/python2.6/PyQt4/uic/uiparser.py", line 87, in __init__   
      self.factory = QObjectCreator(creatorPolicy)                      
     File "/var/lib/python-support/python2.6/PyQt4/uic/objcreator.py", line 43, in __init__  
      if load_plugin(open(os.path.join(plugindir, filename)), plugin_globals, plugin_locals): 
    IOError: [Errno 2] No such file or directory: '/usr/share/python-qt4/widget-plugins/kde4.py'
    
    Original exception was:
    Traceback (most recent call last):
     File "/tmp/tmp574Cxr/karmic", line 7, in <module>
      sys.exit(main())                
     File "/tmp/tmp574Cxr/DistUpgradeMain.py", line 132, in main
      if app.run():                      
     File "/tmp/tmp574Cxr/DistUpgradeController.py", line 1590, in run
      return self.fullUpgrade()                   
     File "/tmp/tmp574Cxr/DistUpgradeController.py", line 1564, in fullUpgrade
      if not self.doDistUpgrade():                      
     File "/tmp/tmp574Cxr/DistUpgradeController.py", line 1049, in doDistUpgrade
      "                                    
    " 6.942703e-310)                              
     File "/tmp/tmp574Cxr/DistUpgradeViewKDE.py", line 696, in error      
      loadUi("dialog_error.ui", dialogue)
     File "/tmp/tmp574Cxr/DistUpgradeViewKDE.py", line 59, in loadUi
      uic.loadUi(file, parent)
     File "/var/lib/python-support/python2.6/PyQt4/uic/__init__.py", line 112, in loadUi
      pyqt3_wrapper is optionally set to generate extra code that allows the code
     File "/var/lib/python-support/python2.6/PyQt4/uic/Loader/loader.py", line 8, in __init__
      UIParser.__init__(self, QtCore, QtGui, LoaderCreatorPolicy())
     File "/var/lib/python-support/python2.6/PyQt4/uic/uiparser.py", line 87, in __init__
      self.factory = QObjectCreator(creatorPolicy)
     File "/var/lib/python-support/python2.6/PyQt4/uic/objcreator.py", line 43, in __init__
      if load_plugin(open(os.path.join(plugindir, filename)), plugin_globals, plugin_locals):
    IOError: [Errno 2] No such file or directory: '/usr/share/python-qt4/widget-plugins/kde4.py'
    user@hostname:~$
    When I tried to restart 'update-notifier-kde -u', I got the following error message:

    Code:
    Traceback (most recent call last):
     File "/usr/bin/update-notifier-kde", line 26, in <module>
      from PyQt4.QtCore import *
    ImportError: No module named PyQt4.QtCore
    Does anyone know what I can do to complete the installation?

    Thanks,
    $$

    #2
    Re: Upgrade crashed, can't restart

    I found that dpkg was hung, so I killed it and then ran 'apt-get dist-upgrade', which informed me I needed to run 'dpkg --configure -a'. This ran to completion and seems to have configured everything correctly. Retrying 'apt-get dist-upgrade' shows no packages needing upgrade, so this might have resolved it.

    Ironically, I switched from Gentoo to Kubuntu earlier this year because Gentoo upgrades would constantly fail or break my system. I'm not pleased with the results of my first Kubuntu upgrade.

    $$

    Comment

    Working...
    X