"FutureWarning: apt API not stable yet" during upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Michael Vogt | ||
Maverick |
Invalid
|
Medium
|
Unassigned |
Bug Description
Launchpad OOPSes when I try to "Nominate for release"
TEST CASE:
1. use hardy
2. run do-release-upgrade --proposed
3. verify that the "apt API not stable yet" line is no longer there
Binary package hint: update-manager
When upgrading a Xen domain with Ubuntu 8.04 to lucid using do-release-upgrade -d, it gave this e̶r̶r̶o̶r̶ warning:
E̶x̶c̶e̶p̶t̶i̶o̶n̶ ̶d̶u̶r̶i̶n̶g̶ ̶p̶m̶.̶
C̶o̶u̶l̶d̶ ̶n̶o̶t̶ ̶i̶n̶s̶t̶a̶l̶l̶ ̶t̶h̶e̶ ̶u̶p̶g̶r̶a̶d̶e̶s̶
T̶h̶e̶ ̶u̶p̶g̶r̶a̶d̶e̶ ̶i̶s̶ ̶n̶o̶w̶ ̶a̶b̶o̶r̶t̶e̶d̶.̶ ̶Y̶o̶u̶r̶ ̶s̶y̶s̶t̶e̶m̶ ̶c̶o̶u̶l̶d̶ ̶b̶e̶ ̶i̶n̶ ̶a̶n̶ ̶u̶n̶u̶s̶a̶b̶l̶e̶
s̶t̶a̶t̶e̶.̶ ̶A̶ ̶r̶e̶c̶o̶v̶e̶r̶y̶ ̶w̶i̶l̶l̶ ̶r̶u̶n̶ ̶n̶o̶w̶ ̶(̶d̶p̶k̶g̶ ̶-̶-̶c̶
P̶l̶e̶a̶s̶e̶ ̶r̶e̶p̶o̶r̶t̶ ̶t̶h̶i̶s̶ ̶b̶u̶g̶ ̶a̶g̶a̶i̶n̶s̶t̶ ̶t̶h̶e̶ ̶'̶u̶p̶
i̶n̶c̶l̶u̶d̶e̶ ̶t̶h̶e̶ ̶f̶i̶l̶e̶s̶ ̶i̶n̶ ̶/̶v̶a̶
i̶n̶s̶t̶
/usr/lib/
warnings.
description: | updated |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
Changed in update-manager (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
I also got this message when attempting to upgrade from Hardy to Lucid using "do-release-upgrade -d" .
I noticed that /usr/bin/ do-release- upgrade script on my system contains the line filterwarnings( "ignore" , "apt API not stable yet", FutureWarning)
warnings.
(right near the top), but the "lucid" script that gets extracted out of the downloaded lucid.tar.gz file (and unpacked under a /tmp/tmp*/ directory) does not include such a line.
(The DistUpgradeMain.py that is also extracted from that tar file has a different filterwarnings() call, but doesn't include one for "apt API not stable yet".)