I can't install new packages or upgrade

Asked by Evans

Thats the output when i run the commands given on Package Manager Troubleshooting.

ivan@ivan:~$ ubuntu-support-status
Support status summary of 'ivan':

You have 2897 packages (100.0%) that can not/no-longer be downloaded
You have 0 packages (0.0%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
ivan@ivan:~$
ivan@ivan:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
ivan@ivan:~$
ivan@ivan:~$ dpkg --print-foreign-architectures
i386
ivan@ivan:~$
ivan@ivan:~$ sudo grep -R proxy /etc/apt/*
ivan@ivan:~$
ivan@ivan:~$ grep proxy /etc/environment
ivan@ivan:~$
ivan@ivan:~$ echo $http_proxy

ivan@ivan:~$
ivan@ivan:~$ echo $ftp_proxy

ivan@ivan:~$
ivan@ivan:~$ grep proxy /etc/bash.bashrc
ivan@ivan:~$
ivan@ivan:~$ grep proxy ~/.bashrc
ivan@ivan:~$
ivan@ivan:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
ivan@ivan:~$
ivan@ivan:~$ sudo fuser -vvv /var/lib/dpkg/lock
ivan@ivan:~$
ivan@ivan:~$ sudo fuser -vvv /var/cache/apt/archives/lock
ivan@ivan:~$
ivan@ivan:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
ivan@ivan:~$
ivan@ivan:~$ uname -a
Linux ivan 3.13.0-78-generic #122-Ubuntu SMP Mon Feb 1 23:11:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ivan@ivan:~$
ivan@ivan:~$ sudo rm /var/lib/apt/lists/lock
ivan@ivan:~$
ivan@ivan:~$ sudo rm /var/cache/apt/archives/lock
ivan@ivan:~$
ivan@ivan:~$ sudo rm /var/lib/dpkg/lock
ivan@ivan:~$
ivan@ivan:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
ivan@ivan:~$
ivan@ivan:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
ivan@ivan:~$
ivan@ivan:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
ivan@ivan:~$
ivan@ivan:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
ivan@ivan:~$
ivan@ivan:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
ivan@ivan:~$
ivan@ivan:~$ sudo rm -rf /var/lib/dpkg/updates/*
ivan@ivan:~$
ivan@ivan:~$ sudo rm -rf /var/lib/apt/lists
ivan@ivan:~$
ivan@ivan:~$ sudo rm /var/cache/apt/*.bin
ivan@ivan:~$
ivan@ivan:~$ sudo mkdir /var/lib/apt/lists
ivan@ivan:~$
ivan@ivan:~$ sudo mkdir /var/lib/apt/lists/partial
ivan@ivan:~$
ivan@ivan:~$ LANG=C;sudo apt-get clean
ivan@ivan:~$
ivan@ivan:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
ivan@ivan:~$
ivan@ivan:~$ sudo dpkg --configure -a
ivan@ivan:~$
ivan@ivan:~$ sudo dpkg --clear-avail
ivan@ivan:~$
ivan@ivan:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ivan@ivan:~$
ivan@ivan:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ivan@ivan:~$
ivan@ivan:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ivan@ivan:~$
ivan@ivan:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Err http://dl.google.com stable InRelease

Err http://dl.google.com stable Release.gpg
  Could not resolve 'dl.google.com'
Err http://download.mono-project.com wheezy InRelease

Err http://download.mono-project.com wheezy Release.gpg
  Could not resolve 'download.mono-project.com'
Err http://extras.ubuntu.com trusty InRelease

Err http://extras.ubuntu.com trusty Release.gpg
  Could not resolve 'extras.ubuntu.com'
Err http://archive.canonical.com trusty InRelease

Err http://archive.canonical.com trusty Release.gpg
  Could not resolve 'archive.canonical.com'
Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://archive.ubuntu.com trusty InRelease

Err http://archive.ubuntu.com trusty-updates InRelease

Err http://archive.ubuntu.com trusty-backports InRelease

Err http://archive.ubuntu.com trusty-security InRelease

Err http://archive.ubuntu.com trusty-proposed InRelease

Err http://archive.ubuntu.com trusty Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-backports Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-security Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-proposed Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.getdeb.net trusty-getdeb InRelease

Err http://archive.getdeb.net trusty-getdeb Release.gpg
  Could not resolve 'archive.getdeb.net'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-proposed/InRelease

W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/trusty-getdeb/InRelease

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease

W: Failed to fetch http://ppa.launchpad.net/jcfp/ppa/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://download.mono-project.com/repo/debian/dists/wheezy/InRelease

W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/noobslab/icons/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/noobslab/icons2/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/noobslab/themes/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/paul-climbing/ppa/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/strukturag/libde265/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/webupd8team/brackets/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Could not resolve 'dl.google.com'

W: Failed to fetch http://download.mono-project.com/repo/debian/dists/wheezy/Release.gpg Could not resolve 'download.mono-project.com'

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'extras.ubuntu.com'

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.canonical.com'

W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/jcfp/ppa/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/noobslab/icons/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/noobslab/icons2/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/noobslab/themes/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/paul-climbing/ppa/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/strukturag/libde265/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/webupd8team/brackets/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-proposed/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/trusty-getdeb/Release.gpg Could not resolve 'archive.getdeb.net'

W: Some index files failed to download. They have been ignored, or old ones used instead.
ivan@ivan:~$
ivan@ivan:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Err http://dl.google.com stable InRelease

Err http://dl.google.com stable Release.gpg
  Could not resolve 'dl.google.com'
Err http://archive.ubuntu.com trusty InRelease

Err http://archive.ubuntu.com trusty-updates InRelease

Err http://archive.ubuntu.com trusty-backports InRelease

Err http://archive.ubuntu.com trusty-security InRelease

Err http://archive.ubuntu.com trusty-proposed InRelease

Err http://archive.ubuntu.com trusty Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-backports Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-security Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-proposed Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.canonical.com trusty InRelease

Err http://archive.canonical.com trusty Release.gpg
  Could not resolve 'archive.canonical.com'
Err http://archive.getdeb.net trusty-getdeb InRelease

Err http://archive.getdeb.net trusty-getdeb Release.gpg
  Could not resolve 'archive.getdeb.net'
Err http://download.mono-project.com wheezy InRelease

Err http://download.mono-project.com wheezy Release.gpg
  Could not resolve 'download.mono-project.com'
Err http://extras.ubuntu.com trusty InRelease

Err http://extras.ubuntu.com trusty Release.gpg
  Could not resolve 'extras.ubuntu.com'
Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Err http://ppa.launchpad.net trusty Release.gpg
  Could not resolve 'ppa.launchpad.net'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-proposed/InRelease

W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/trusty-getdeb/InRelease

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease

W: Failed to fetch http://ppa.launchpad.net/jcfp/ppa/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://download.mono-project.com/repo/debian/dists/wheezy/InRelease

W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/noobslab/icons/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/noobslab/icons2/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/noobslab/themes/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/paul-climbing/ppa/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/strukturag/libde265/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/webupd8team/brackets/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Could not resolve 'dl.google.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-proposed/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.canonical.com'

W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/trusty-getdeb/Release.gpg Could not resolve 'archive.getdeb.net'

W: Failed to fetch http://download.mono-project.com/repo/debian/dists/wheezy/Release.gpg Could not resolve 'download.mono-project.com'

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'extras.ubuntu.com'

W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/jcfp/ppa/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/noobslab/icons/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/noobslab/icons2/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/noobslab/themes/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/paul-climbing/ppa/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/strukturag/libde265/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/webupd8team/brackets/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Failed to fetch http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ivan@ivan:~$
ivan@ivan:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu-GNOME 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main multiverse restricted universe
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://archive.ubuntu.com/ubuntu trusty main restricted
     6 deb-src http://archive.ubuntu.com/ubuntu trusty main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted
    11 deb-src http://archive.ubuntu.com/ubuntu trusty-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://archive.ubuntu.com/ubuntu trusty universe
    17 deb-src http://archive.ubuntu.com/ubuntu trusty universe
    18 deb http://archive.ubuntu.com/ubuntu trusty-updates universe
    19 deb-src http://archive.ubuntu.com/ubuntu trusty-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://archive.ubuntu.com/ubuntu trusty multiverse
    27 deb-src http://archive.ubuntu.com/ubuntu trusty multiverse
    28 deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse
    29 deb-src http://archive.ubuntu.com/ubuntu trusty-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 deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
    37 deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
    38
    39 deb http://archive.ubuntu.com/ubuntu trusty-security main restricted
    40 deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted
    41 deb http://archive.ubuntu.com/ubuntu trusty-security universe
    42 deb-src http://archive.ubuntu.com/ubuntu trusty-security universe
    43 deb http://archive.ubuntu.com/ubuntu trusty-security multiverse
    44 deb-src http://archive.ubuntu.com/ubuntu trusty-security multiverse
    45
    46 ## Uncomment the following two lines to add software from Canonical's
    47 ## 'partner' repository.
    48 ## This software is not part of Ubuntu, but is offered by Canonical and the
    49 ## respective vendors as a service to Ubuntu users.
    50 deb http://archive.canonical.com/ubuntu trusty partner
    51 # deb-src http://archive.canonical.com/ubuntu trusty partner
    52
    53 ## This software is not part of Ubuntu, but is offered by third-party
    54 ## developers who want to ship their latest software.
    55 deb http://extras.ubuntu.com/ubuntu trusty main
    56 deb-src http://extras.ubuntu.com/ubuntu trusty main
    57 deb http://archive.ubuntu.com/ubuntu trusty-proposed main universe multiverse restricted

/etc/apt/sources.list.d/paul-climbing-ppa-trusty.list

     1 deb http://ppa.launchpad.net/paul-climbing/ppa/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/paul-climbing/ppa/ubuntu trusty main

/etc/apt/sources.list.d/qbittorrent-team-qbittorrent-stable-trusty.list

     1 deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu trusty main

/etc/apt/sources.list.d/webupd8team-java-trusty.list

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

/etc/apt/sources.list.d/webupd8team-brackets-trusty.list

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

/etc/apt/sources.list.d/noobslab-icons-trusty.list

     1 deb http://ppa.launchpad.net/noobslab/icons/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/noobslab/icons/ubuntu trusty main

/etc/apt/sources.list.d/getdeb.list

     1 deb http://archive.getdeb.net/ubuntu trusty-getdeb apps

/etc/apt/sources.list.d/playonlinux.list

/etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list

     1 deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main

/etc/apt/sources.list.d/noobslab-icons2-trusty.list

     1 deb http://ppa.launchpad.net/noobslab/icons2/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/noobslab/icons2/ubuntu trusty main

/etc/apt/sources.list.d/linrunner-tlp-trusty.list

     1 deb http://ppa.launchpad.net/linrunner/tlp/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/linrunner/tlp/ubuntu trusty main

/etc/apt/sources.list.d/noobslab-apps-trusty.list

     1 deb http://ppa.launchpad.net/noobslab/apps/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/noobslab/apps/ubuntu trusty main

/etc/apt/sources.list.d/webupd8team-y-ppa-manager-trusty.list

     1 deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu trusty main

/etc/apt/sources.list.d/strukturag-libde265-trusty.list

     1 deb http://ppa.launchpad.net/strukturag/libde265/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/strukturag/libde265/ubuntu trusty main

/etc/apt/sources.list.d/noobslab-themes-trusty.list

     1 deb http://ppa.launchpad.net/noobslab/themes/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/noobslab/themes/ubuntu trusty main

/etc/apt/sources.list.d/playdeb.list

     1 deb http://archive.getdeb.net/ubuntu trusty-getdeb games

/etc/apt/sources.list.d/medibuntu.list

/etc/apt/sources.list.d/mono-xamarin.list

     1 deb http://download.mono-project.com/repo/debian wheezy main

/etc/apt/sources.list.d/upubuntu-com-gtk3themes-trusty.list

     1 deb http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu trusty main

/etc/apt/sources.list.d/jcfp-ppa-trusty.list

     1 deb http://ppa.launchpad.net/jcfp/ppa/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/jcfp/ppa/ubuntu trusty 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
ivan@ivan:~$
ivan@ivan:~$ sudo dpkg --audit

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does the system have internet access? Can you open a web browser on the same system and navigate to websites?

Revision history for this message
daniel CURTIS (anoda) said :
#2

Hello. There is an interesting message at the beginning: "You have 2897 packages (100.0%) that can not/no-longer be downloaded". But yes, Andrew is probably right -- You don't have an internet connection. Apart from opening browser You can also check internet connection via terminal (ctrl+alt+T or via menu etc.) and run:

$ ping www.google.com

There is also an interesting app called 'ss' (It allows showing information similar to netstat. It can display more TCP and state informations than other tools). You can check internet with:

$ ss -s
$ ss

You can also display all active Internet connections:

$ netstat -natp

But it seems, that the best method is to use ping. If the ping is successful (you see 64 bytes messages as above), then the network is configured. Press Control+C to stop the ping.

NOTE: Remember to copy all above commands without $ sign and paste to a terminal!

Best regards.

Revision history for this message
daniel CURTIS (anoda) said :
#3

Hi. I'm sorry for a double comment but I would like to explain one thing -- ping and 64 bytes messages. I forgot to do this in my previous post. So, ping result will look this way (of course if You have an internet connection):

$ ping google.com
PING www.l.google.com (74.125.132.105) 56(84) bytes of data.
64 bytes from wb-in-f105.1e100.net (74.125.132.105): icmp_req=1 ttl=50 time=17.0 ms
(...)

Evans, You can pinging a static IP address to prove that you have access to the internet:

$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=53 time=52.9 ms
(...)

If the ping failed with an "Unknown hosts error", it probably means that You don't have access to the internet.

Best regards.

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

Try:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

Then rerun:

sudo apt-get update

Is it OK?

Can you help with this problem?

Provide an answer of your own, or ask Evans for more information if necessary.

To post a message you must log in.