Comment 2 for bug 197162

Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :

I just tried to do an "apt-get update && apt-get upgrade", but it's not working.

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  update-manager: Depends: update-manager-core (= 1:0.81) but 1:0.87.9 is installed
E: Unmet dependencies. Try using -f.

$ sudo apt-get upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages have been kept back:
  fftw2
The following packages will be upgraded:
  update-manager
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/895kB of archives.
After this operation, 57.3kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 96069 files and directories currently installed.)
Preparing to replace update-manager 1:0.81 (using .../update-manager_1%3a0.87.9_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1685, in <module>
    main()
  File "/usr/bin/pycentral", line 1679, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1180, in run
    pkg.prepare(used_runtimes, old_used_runtimes, old_pkg)
  File "/usr/bin/pycentral", line 803, in prepare
    rt.remove_byte_code(removed_fs)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/apt/archives/update-manager_1%3a0.87.9_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/update-manager_1%3a0.87.9_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)