Installing/downloading programs isn't working (it can't find my internet?)

Asked by Elsa Gernand

When I try to download a program from the software center or straight from a program's webpage, errors happen. I keep getting 404 error not found, check your internet, even though my internet works on this computer and I can use it fine for web browsers. This happens when I try to install stuff or update stuff in terminal as well.

I've done the PackageManagerTroubleshootingProcedure and here is the output from my terminal:

goldenfalls@AuxFox:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 135, in <module>
    pkg.name, support_tag)
  File "/usr/bin/ubuntu-support-status", line 45, in get_maintenance_status
    raise Exception("No Release file found for %s" % pkgname)
Exception: No Release file found for account-plugin-aim
goldenfalls@AuxFox:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
goldenfalls@AuxFox:~$ dpkg --print-foreign-architectures
i386
goldenfalls@AuxFox:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for goldenfalls:
goldenfalls@AuxFox:~$ grep roxy /etc/environment
goldenfalls@AuxFox:~$ echo $http_proxy

goldenfalls@AuxFox:~$ echo $ftp_proxy

goldenfalls@AuxFox:~$ grep roxy /etc/bash.bashrc
goldenfalls@AuxFox:~$ grep roxy ~/.bashrc
goldenfalls@AuxFox:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
goldenfalls@AuxFox:~$ sudo fuser -vvv /var/lib/dpkg/lock
goldenfalls@AuxFox:~$ sudo fuser -vvv /var/cache/apt/archives/lock
goldenfalls@AuxFox:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"
goldenfalls@AuxFox:~$ uname -a
Linux AuxFox 4.2.0-42-generic #49-Ubuntu SMP Tue Jun 28 21:26:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
goldenfalls@AuxFox:~$ sudo rm /var/lib/apt/lists/lock
goldenfalls@AuxFox:~$ sudo rm /var/cache/apt/archives/lock
goldenfalls@AuxFox:~$ sudo rm /var/lib/dpkg/lock
goldenfalls@AuxFox:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-badgoldenfalls@AuxFox:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
goldenfalls@AuxFox:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat ‘/var/lib/dpkg/available-old’: No such file or directory
goldenfalls@AuxFox:~$ sudo rm -rf /var/lib/dpkg/updates/*
goldenfalls@AuxFox:~$ sudo rm -rf /var/lib/apt/lists
goldenfalls@AuxFox:~$ sudo rm /var/cache/apt/*.bin
rm: cannot remove ‘/var/cache/apt/*.bin’: No such file or directory
goldenfalls@AuxFox:~$ sudo mkdir /var/lib/apt/lists
goldenfalls@AuxFox:~$ sudo mkdir /var/lib/apt/lists/partial
goldenfalls@AuxFox:~$ LANG=C;sudo apt-get clean
goldenfalls@AuxFox:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
goldenfalls@AuxFox:~$ sudo dpkg --configure -a
dpkg: error: failed to open package info file '/var/lib/dpkg/status' for reading: No such file or directory
goldenfalls@AuxFox:~$
goldenfalls@AuxFox:~$ sudo dpkg --configure -a
dpkg: error: failed to open package info file '/var/lib/dpkg/status' for reading: No such file or directory
goldenfalls@AuxFox:~$ sudo dpkg --clear-avail
goldenfalls@AuxFox:~$ LANG=C;sudo apt-get -f install
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
goldenfalls@AuxFox:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
goldenfalls@AuxFox:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
goldenfalls@AuxFox:~$
goldenfalls@AuxFox:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
goldenfalls@AuxFox:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Ign http://security.ubuntu.com wily-security InRelease
Ign http://us.archive.ubuntu.com wily InRelease
Get:1 http://archive.canonical.com wily InRelease [10.3 kB]
Ign http://security.ubuntu.com wily-security Release.gpg
Ign http://us.archive.ubuntu.com wily-updates InRelease
Get:2 http://archive.canonical.com wily/partner amd64 Packages [2956 B]
Ign http://security.ubuntu.com wily-security Release
Ign http://us.archive.ubuntu.com wily Release.gpg
Get:3 http://archive.canonical.com wily/partner i386 Packages [3295 B]
Ign http://us.archive.ubuntu.com wily-updates Release.gpg
Get:4 http://archive.canonical.com wily/partner Translation-en [1552 B]
Ign http://us.archive.ubuntu.com wily Release
Ign http://us.archive.ubuntu.com wily-updates Release
Err http://security.ubuntu.com wily-security/main Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/restricted Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/universe Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/multiverse Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/main amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/restricted amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/universe amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/multiverse amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/main i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/restricted i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/universe i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com wily-security/multiverse i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Ign http://security.ubuntu.com wily-security/main Translation-en
Ign http://security.ubuntu.com wily-security/multiverse Translation-en
Ign http://security.ubuntu.com wily-security/restricted Translation-en
Ign http://security.ubuntu.com wily-security/universe Translation-en
Err http://us.archive.ubuntu.com wily/main Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/restricted Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/universe Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/multiverse Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/main amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/restricted amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/universe amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/multiverse amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/main i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/restricted i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/universe i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily/multiverse i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Ign http://us.archive.ubuntu.com wily/main Translation-en
Ign http://us.archive.ubuntu.com wily/multiverse Translation-en
Ign http://us.archive.ubuntu.com wily/restricted Translation-en
Ign http://us.archive.ubuntu.com wily/universe Translation-en
Err http://us.archive.ubuntu.com wily-updates/main Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/restricted Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/universe Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/multiverse Sources
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/main amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/restricted amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/universe amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/multiverse amd64 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/main i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/restricted i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/universe i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com wily-updates/multiverse i386 Packages
  404 Not Found [IP: 91.189.91.23 80]
Ign http://us.archive.ubuntu.com wily-updates/main Translation-en
Ign http://us.archive.ubuntu.com wily-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com wily-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com wily-updates/universe Translation-en
Fetched 18.1 kB in 14s (1222 B/s)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/main/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/restricted/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/universe/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/multiverse/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/main/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/restricted/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/universe/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/multiverse/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/main/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/restricted/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/universe/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/multiverse/source/Sources 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
goldenfalls@AuxFox:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://us.archive.ubuntu.com wily InRelease
Ign http://us.archive.ubuntu.com wily-updates InRelease
Ign http://security.ubuntu.com wily-security InRelease
Hit http://archive.canonical.com wily InRelease
Ign http://us.archive.ubuntu.com wily Release.gpg
Ign http://security.ubuntu.com wily-security Release.gpg
Ign http://us.archive.ubuntu.com wily-updates Release.gpg
Ign http://us.archive.ubuntu.com wily Release
Ign http://security.ubuntu.com wily-security Release
Ign http://us.archive.ubuntu.com wily-updates Release
Hit http://archive.canonical.com wily/partner amd64 Packages
Hit http://archive.canonical.com wily/partner i386 Packages
Hit http://archive.canonical.com wily/partner Translation-en
Err http://security.ubuntu.com wily-security/main Sources
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/restricted Sources
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/universe Sources
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/multiverse Sources
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/main amd64 Packages
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/restricted amd64 Packages
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/universe amd64 Packages
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/multiverse amd64 Packages
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/main i386 Packages
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/restricted i386 Packages
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/universe i386 Packages
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com wily-security/multiverse i386 Packages
  404 Not Found [IP: 91.189.88.152 80]
Ign http://security.ubuntu.com wily-security/main Translation-en
Err http://us.archive.ubuntu.com wily/main Sources
  404 Not Found [IP: 91.189.91.26 80]
Ign http://security.ubuntu.com wily-security/multiverse Translation-en
Err http://us.archive.ubuntu.com wily/restricted Sources
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily/universe Sources
  404 Not Found [IP: 91.189.91.26 80]
Ign http://security.ubuntu.com wily-security/restricted Translation-en
Err http://us.archive.ubuntu.com wily/multiverse Sources
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily/main amd64 Packages
  404 Not Found [IP: 91.189.91.26 80]
Ign http://security.ubuntu.com wily-security/universe Translation-en
Err http://us.archive.ubuntu.com wily/restricted amd64 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily/universe amd64 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily/multiverse amd64 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily/main i386 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily/restricted i386 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily/universe i386 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily/multiverse i386 Packages
  404 Not Found [IP: 91.189.91.26 80]
Ign http://us.archive.ubuntu.com wily/main Translation-en
Ign http://us.archive.ubuntu.com wily/multiverse Translation-en
Ign http://us.archive.ubuntu.com wily/restricted Translation-en
Ign http://us.archive.ubuntu.com wily/universe Translation-en
Err http://us.archive.ubuntu.com wily-updates/main Sources
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/restricted Sources
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/universe Sources
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/multiverse Sources
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/main amd64 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/restricted amd64 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/universe amd64 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/multiverse amd64 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/main i386 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/restricted i386 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/universe i386 Packages
  404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com wily-updates/multiverse i386 Packages
  404 Not Found [IP: 91.189.91.26 80]
Ign http://us.archive.ubuntu.com wily-updates/main Translation-en
Ign http://us.archive.ubuntu.com wily-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com wily-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com wily-updates/universe Translation-en
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/main/source/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/restricted/source/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/universe/source/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/multiverse/source/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/main/source/Sources 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/restricted/source/Sources 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/universe/source/Sources 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/multiverse/source/Sources 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/main/binary-amd64/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/main/source/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/restricted/source/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/universe/source/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/multiverse/source/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.26 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
goldenfalls@AuxFox:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)]/ wily main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://us.archive.ubuntu.com/ubuntu/ wily main restricted
     6 deb-src http://us.archive.ubuntu.com/ubuntu/ wily main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://us.archive.ubuntu.com/ubuntu/ wily-updates main restricted
    11 deb-src http://us.archive.ubuntu.com/ubuntu/ wily-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://us.archive.ubuntu.com/ubuntu/ wily universe
    17 deb-src http://us.archive.ubuntu.com/ubuntu/ wily universe
    18 deb http://us.archive.ubuntu.com/ubuntu/ wily-updates universe
    19 deb-src http://us.archive.ubuntu.com/ubuntu/ wily-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://us.archive.ubuntu.com/ubuntu/ wily multiverse
    27 deb-src http://us.archive.ubuntu.com/ubuntu/ wily multiverse
    28 deb http://us.archive.ubuntu.com/ubuntu/ wily-updates multiverse
    29 deb-src http://us.archive.ubuntu.com/ubuntu/ wily-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36
    37 deb http://security.ubuntu.com/ubuntu wily-security main restricted
    38 deb-src http://security.ubuntu.com/ubuntu wily-security main restricted
    39 deb http://security.ubuntu.com/ubuntu wily-security universe
    40 deb-src http://security.ubuntu.com/ubuntu wily-security universe
    41 deb http://security.ubuntu.com/ubuntu wily-security multiverse
    42 deb-src http://security.ubuntu.com/ubuntu wily-security multiverse
    43
    44 ## Uncomment the following two lines to add software from Canonical's
    45 ## 'partner' repository.
    46 ## This software is not part of Ubuntu, but is offered by Canonical and the
    47 ## respective vendors as a service to Ubuntu users.
    48 deb http://archive.canonical.com/ubuntu wily partner
    49 # deb-src http://archive.canonical.com/ubuntu wily partner
    50
    51 # deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main

/etc/apt/sources.list.d/bartbes-ubuntu-love-stable-wily.list

     1 # deb http://ppa.launchpad.net/bartbes/love-stable/ubuntu wily main
     2 # deb-src http://ppa.launchpad.net/bartbes/love-stable/ubuntu wily main

/etc/apt/sources.list.d/system76-dev-ubuntu-stable-wily.list

     1 # deb http://ppa.launchpad.net/system76-dev/stable/ubuntu wily main
     2 # deb-src http://ppa.launchpad.net/system76-dev/stable/ubuntu wily main

/etc/apt/sources.list.d/google-chrome.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 # deb http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-wily.list

     1 # deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu wily main

/etc/apt/sources.list.d/wine-ubuntu-wine-builds-wily.list

     1 # deb http://ppa.launchpad.net/wine/wine-builds/ubuntu wily main
     2 # deb-src http://ppa.launchpad.net/wine/wine-builds/ubuntu wily main

/etc/apt/sources.list.d/webupd8team-ubuntu-java-wily.list

     1 # deb http://ppa.launchpad.net/webupd8team/java/ubuntu wily main
     2 # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu wily main

/etc/apt/sources.list.d/kubuntu-ppa-ubuntu-backports-wily.list

     1 # deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu wily main
     2 # deb-src http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu wily main

/etc/apt/sources.list.d/openshot_developers-ubuntu-ppa-wily.list

     1 # deb http://ppa.launchpad.net/openshot.developers/ppa/ubuntu wily main
     2 # deb-src http://ppa.launchpad.net/openshot.developers/ppa/ubuntu wily main

/etc/apt/sources.list.d/steam.list

     1 # deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
     2 # deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam

/etc/apt/sources.list.d/maarten-baert-ubuntu-simplescreenrecorder-wily.list

     1 # deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu wily main
     2 # deb-src http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu wily main
goldenfalls@AuxFox:~$ sudo dpkg --audit
dpkg: error: failed to open package info file '/var/lib/dpkg/status' for reading: No such file or directory
goldenfalls@AuxFox:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

See https://wiki.ubuntu.com/Releases
Support for Ubuntu 15.10 ("wily") has ended two years ago, and the software repositories are not available any more.

You have to upgrade to a supported Ubuntu release, either 16.04 or 18.04, or do a clean new installation with one of these versions.

There are instructions on https://help.ubuntu.com/community/EOLUpgrades how to do an upgrade from a version which is already in EOL (end of life) status, by using old-releases.ubuntu.com as repository server

Remark: One of the commands from the troubleshooting procedure had an unexpected result, to repair this you should execute the following command once:

sudo cp /var/lib/dpkg.backup/status /var/lib/dpkg/status

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What you are doing is like trying to update Windows 2000. There are no updates or packages. It's dead.

I suggest you wipe the install off and do a clean install of Bionic (Ubuntu 18.04). Bionic is LTS and supported until April 2023.

Revision history for this message
Elsa Gernand (scrivna) said :
#3

Okay thank you, I have purchased an external hard drive and will be backing up my computer and then installing the new Ubuntu.

Revision history for this message
Elsa Gernand (scrivna) said :
#4

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

Hi Manfred,

The PackageManagerTroubleshootingProcedure did not give an unexpected result.

The following Terminal command had been skipped by Elsa in the procedure, causing the status file to get deleted without a replacement:

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

@Mark:

You might be right with your comment about Elsa and the missing command (which meanwhile has been repaired anyhow), but I assume even executing this command would not have achieved the desired result.

Why is it copying /var/backups/apt.extended_states.0, shouldn't this be /var/backups/dpkg.status.0 ???

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#7

@Manfred: I am not sure when and why I added the /var/backups/apt.extended_states.0 file into the troubleshooting procedure....

But a knowledgeable guy on StackExchange called Gilles gives the same suggestion:

https://unix.stackexchange.com/questions/161866/how-to-recreate-var-lib-dpkg-status

I just retested the entire package manager troubleshooting procedure on Debian 9 (running as a VM in Qubes OS), replacing

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status

with

sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status

The apt package manager works fine afterwards. So no harm done......

Consider the /var/backups/apt.extended_states.0 as a last resort option, when status-old is not available.

If /var/lib/dpkg/status-old is not available on a system, it is already in a pretty sad state anyway...

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

@Mark:

I agree that a system without status-old would better be re-installed from scratch.
But I made a test:

$ dpkg -l | wc
   2260 22744 341427
$ sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
$ dpkg -l | wc
      0 0 0
$ sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
$ dpkg -l | wc
   2260 22744 341427

My interpretation is that with the first copy command dpkg has lost all information about the installed packages, and copying /var/backups/dpkg.status.0 has repaired this.

/var/backups/apt.extended_states.0 is a backup copy of /var/lib/apt/extended_states and not of /var/lib/dpkg/status !

A remark to the stackexchange posting: My interpretation is that the command given in stackexchange is reinstalling all packages, based on a list of the package names - either taken from /var/lib/dpkg/status or from /var/lib/apt/extended_states. If you look into these two files (or their backup copies), you will see that the only match is the line "Package:", everything else is different.

Summary: In my opinion it definitely has to be /var/backups/dpkg.status.0 and not /var/backups/apt.extended_states.0 in the command of the package management troubleshooting procedure.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#9

@Manfred: Thanks for your remarks. I have implemented your suggestion in the package management troubleshooting procedure. Thanks again. :-)