after I upgraded Ubuntu Gnome 15.10 (Wily Werewolf) to 16.04 (Xenial Xerus), I cannot start synaptic or aptitude for installing new software, and 'apt-get install whatever' does not work either. Here is the error I always get:
The value 'wily is invalid for APT::Default-Release as such a release is not available in the sources.
I read a lot about this error on Google etc., but the solutions proprosed on the web only work for older versions of Ubuntu or Debian. What I tried e.g. was checking the value of APT::Default-Release within /etc/apt/apt.conf
, but it is not set there, it is not set in any text file within /etc/apt/
or any of its subdirectories. I removed all files from the directory /etc/apt/sources.list.d
, because these were related to older Ubuntu versions.
Anymore ideas?
P.S. 1: A bit more information about my environment:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
P.S. 2: Output from sudo apt edit-sources
(removed commented lines):
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial main restricted
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial main restricted
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial-updates main restricted
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial-updates main restricted
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial universe
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial universe
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial-updates universe
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial-updates universe
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial multiverse
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial multiverse
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial-updates multiverse
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial-updates multiverse
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial-backports main restricted universe multiverse
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial-security main restricted
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial-security main restricted
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial-security universe
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial-security universe
deb http://ubuntu.mirror.lrz.de/ubuntu/ xenial-security multiverse
deb-src http://ubuntu.mirror.lrz.de/ubuntu/ xenial-security multiverse
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://archive.canonical.com/ xenial partner