Some time ago I triggered upgrade from Kubuntu 15.10 to 16.04 and it failed (I forgot why and with what message). When I issued sudo do-release-upgrade
it failed with message:
E: The value 'wily' is invalid for APT::Default-Release as such a release is not available in the sources
Full log-output (with errors): -> paste.ubuntu.com
Then I tried sudo apt-get autoclean
but it failed with similar message. So I decided to revert /etc/apt/sources.list
with command sudo cp /etc/apt/sources.list.distUpgrade /etc/apt/sources.list
, then I did sudo apt-get update
and repeated release upgrade. Unfortunately it failed with the same result...
How should I fix this?
Error E: The value 'wily' is invalid for APT::Default-Release as such a release is not available in the sources
occured during repositories reconfiguration. It was caused by content of /etc/apt/apt.conf
where wily
was set instead of xenial
.
I changed this file's content to APT::Default-Release "xenial";
and next upgrade attempt finished successfully.
No comments:
Post a Comment