Same thing happened to me but I was able to get over it.
Here are the details:

gen...@gencay:~$ update-manager
ERROR:root:not handled expection:
Traceback (most recent call last):

  File "/usr/bin/update-manager", line 100, in <module>
    controler.doPartialUpgrade()

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", 
line 1595, in doPartialUpgrade
    if not self.doDistUpgrade():

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", 
line 972, in doDistUpgrade
    self.quirks.run("StartUpgrade")

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeQuirks.py", 
line 77, in run
    for plugin in self.plugin_manager.get_plugins(condition):

  File "/usr/lib/python2.6/dist-packages/computerjanitor/plugin.py", line 167, 
in get_plugins
    filenames = self.get_plugin_files()

  File "/usr/lib/python2.6/dist-packages/computerjanitor/plugin.py", line 120, 
in get_plugin_files
    basenames = [x for x in os.listdir(dirname)

OSError: [Errno 2] No such file or directory: './plugins'

ERROR:root:failed to import apport python module, can't report bug: No module 
named python_hook none
gen...@gencay:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libdb4.5-java
The following NEW packages will be installed:
  libdb4.6-java libdb4.6-java-gcj
The following packages will be upgraded:
  liblucene2-java
1 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/3175kB of archives.
After this operation, 3097kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 157059 files and directories currently installed.)
Preparing to replace liblucene2-java 2.3.2+ds1-1ubuntu1 (using 
.../liblucene2-java_2.4.0+ds1-5ubuntu1_all.deb) ...
Unpacking replacement liblucene2-java ...
Processing triggers for man-db ...
(Reading database ... 157060 files and directories currently installed.)
Removing libdb4.5-java ...
Selecting previously deselected package libdb4.6-java.
(Reading database ... 157054 files and directories currently installed.)
Unpacking libdb4.6-java (from .../libdb4.6-java_4.6.21-12_i386.deb) ...
Selecting previously deselected package libdb4.6-java-gcj.
Unpacking libdb4.6-java-gcj (from .../libdb4.6-java-gcj_4.6.21-12_i386.deb) ...
Setting up libdb4.6-java (4.6.21-12) ...
Setting up liblucene2-java (2.4.0+ds1-5ubuntu1) ...
Setting up libdb4.6-java-gcj (4.6.21-12) ...
gen...@gencay:~$

-- 
update manager partial upgrade fails
https://bugs.launchpad.net/bugs/335416
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to