Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 990  / 2 Years ago, thu, october 27, 2022, 6:09:52

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?


More From » upgrade

 Answers
4

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.


[#14641] Friday, October 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
warrdel

Total Points: 356
Total Questions: 103
Total Answers: 118

Location: Bangladesh
Member since Sat, Jan 23, 2021
3 Years ago
;