update-manager "API NOT STABLE YET"

Asked by achevrier

Hi,
Launching sudo update-manager, shell return :

/usr/lib/python2.4/site-packages/apt/__init__.py:17: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)

Then, update-manager runs, and indicates that it is impossible to install available updates, except launching sudo apt-get dist-upgrade

There is no Preferences button on update-manager window.

What's wrong ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

Are you using Gutsy?

Revision history for this message
achevrier (a-chevrier-pro) said :
#2

No, I'm not using Gutsy. I'm using Daper Drake.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#3

OK.
Do you get any error message in terminal?
Can you update with synaptics and/or apt-get?

Revision history for this message
achevrier (a-chevrier-pro) said :
#4

I've no problem using apt-get nor synaptics.
The only error message I've in terminal is the one described in my up-post when I launch update-manager in terminal.

I'm a bit worried about this error message : FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning

Revision history for this message
Cesare Tirabassi (norsetto) said :
#5

Don't be worried, since apt-get and synaptic works you are OK.
Its most probably just a bug in the python code used by the update-manager (or, as the error indicates, the apt api). You can of course issue a bug report about it.
What I find strange is that usually the warning is followed by an error message, which doesn't happen in your case.

Revision history for this message
achevrier (a-chevrier-pro) said :
#6

OK,
Let's say it's a bug !
However, before closing this post, may I ask this following question:
I've tried to reinstall python2.4, but error message has still appeared.
Maybe should I install python2.5 but I don't know if it's works with dapper ?

Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#7

If you can install then it shall work:

sudo apt-get install python2.5

Revision history for this message
achevrier (a-chevrier-pro) said :
#8

Thanks Cesare Tirabassi, that solved my question.