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
warnings.filterwarnings("ignore", "apt API not stable yet", FutureWarning)
(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".)
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".)