update error

sudo apt-get update
[sudo] password for aditya:
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
  Unable to connect to 192.16.25.100:3142:
Err http://ppa.launchpad.net trusty Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://ppa.launchpad.net trusty Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://security.ubuntu.com trusty-security InRelease

Err http://security.ubuntu.com trusty-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise InRelease

Err http://us.archive.ubuntu.com precise-security InRelease

Err http://us.archive.ubuntu.com precise-updates InRelease

Err http://us.archive.ubuntu.com precise-backports InRelease

Err http://us.archive.ubuntu.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.canonical.com precise InRelease

Err http://archive.canonical.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://extras.ubuntu.com precise InRelease

Err http://extras.ubuntu.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://dl.google.com stable InRelease

Err http://dl.google.com stable InRelease

Err http://dl.google.com stable Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://dl.google.com stable Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://deb.opera.com stable InRelease

Err http://deb.opera.com stable InRelease

Err http://deb.opera.com stable Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://deb.opera.com stable Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://in.archive.ubuntu.com trusty InRelease

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

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

Err http://in.archive.ubuntu.com trusty Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://in.archive.ubuntu.com trusty-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://in.archive.ubuntu.com trusty-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://repo.yandex.ru stable InRelease

Err http://repo.yandex.ru stable Release.gpg
  Unable to connect to 192.16.25.100:3142:
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease

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

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

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

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

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

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

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

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

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

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

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

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

W: Failed to fetch http://deb.opera.com/opera-beta/dists/stable/InRelease

W: Failed to fetch http://deb.opera.com/opera-stable/dists/stable/InRelease

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

W: Failed to fetch http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://repo.yandex.ru/yandex-disk/deb/dists/stable/InRelease

W: Failed to fetch http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/dists/trusty/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://ppa.launchpad.net/paolorotolo/copy/ubuntu/dists/trusty/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu/dists/trusty/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://deb.opera.com/opera-beta/dists/stable/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://deb.opera.com/opera-stable/dists/stable/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://repo.yandex.ru/yandex-disk/deb/dists/stable/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Some index files failed to download. They have been ignored, or old ones used instead.

according to this url
https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
following step1 to step6
I got the following output

aditya@aditya-Aspire-E5-571G:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for aditya:
aditya@aditya-Aspire-E5-571G:~$ grep proxy /etc/environment
aditya@aditya-Aspire-E5-571G:~$ echo $http_proxy

aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ echo $http_proxy

aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ echo $http_proxy

aditya@aditya-Aspire-E5-571G:~$ echo $ftp_proxy

aditya@aditya-Aspire-E5-571G:~$ grep proxy /etc/bash.bashrc
aditya@aditya-Aspire-E5-571G:~$ grep proxy ~/.bashrc
aditya@aditya-Aspire-E5-571G:~$ cat /etc/apt/apt.conf
Acquire::http::Proxy "http://192.16.25.100:3142";
aditya@aditya-Aspire-E5-571G:~$ sudo fuser -vvv /var/lib/dpkg/lock
aditya@aditya-Aspire-E5-571G:~$ sudo fuser -vvv /var/cache/apt/archives/lock
aditya@aditya-Aspire-E5-571G:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
aditya@aditya-Aspire-E5-571G:~$ uname -a
Linux aditya-Aspire-E5-571G 3.13.0-52-generic #85-Ubuntu SMP Wed Apr 29 16:44:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
aditya@aditya-Aspire-E5-571G:~$ sudo rm /var/lib/apt/lists/lock
aditya@aditya-Aspire-E5-571G:~$ sudo rm /var/cache/apt/archives/lock
aditya@aditya-Aspire-E5-571G:~$ sudo rm /var/lib/dpkg/lock
aditya@aditya-Aspire-E5-571G:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mv: cannot stat ‘/var/lib/dpkg/status’: No such file or directory
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mv: cannot stat ‘/var/lib/dpkg/status’: No such file or directory
aditya@aditya-Aspire-E5-571G:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mv: cannot stat ‘/var/lib/dpkg/status’: No such file or directory
aditya@aditya-Aspire-E5-571G:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
aditya@aditya-Aspire-E5-571G:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
aditya@aditya-Aspire-E5-571G:~$ sudo rm -rf /var/lib/dpkg/updates/*
aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ sudo rm -rf /var/lib/dpkg/updates/*
aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ sudo rm -rf /var/lib/dpkg/updates/*
aditya@aditya-Aspire-E5-571G:~$ sudo rm -rf /var/lib/apt/lists
aditya@aditya-Aspire-E5-571G:~$ sudo rm /var/cache/apt/*.bin
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists
aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists
mkdir: cannot create directory ‘/var/lib/apt/lists’: File exists
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists
mkdir: cannot create directory ‘/var/lib/apt/lists’: File exists
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists/partial
aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists/partial
mkdir: cannot create directory ‘/var/lib/apt/lists/partial’: File exists
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get clean
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  kde-l10n-engb* linux-headers-3.13.0-32* linux-headers-3.13.0-32-generic*
  linux-image-3.13.0-32-generic* linux-image-extra-3.13.0-32-generic*
  linux-signed-image-3.13.0-32-generic*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 280 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 449635 files and directories currently installed.)
Removing kde-l10n-engb (4:4.13.0-0ubuntu1) ...
Removing linux-headers-3.13.0-32-generic (3.13.0-32.57) ...
Removing linux-headers-3.13.0-32 (3.13.0-32.57) ...
Removing linux-signed-image-3.13.0-32-generic (3.13.0-32.57) ...
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found linux image: /boot/vmlinuz-3.13.0-46-generic
Found initrd image: /boot/initrd.img-3.13.0-46-generic
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Adding boot menu entry for EFI firmware configuration
done
Purging configuration files for linux-signed-image-3.13.0-32-generic (3.13.0-32.57) ...
Removing linux-image-extra-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found linux image: /boot/vmlinuz-3.13.0-46-generic
Found initrd image: /boot/initrd.img-3.13.0-46-generic
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Adding boot menu entry for EFI firmware configuration
done
Purging configuration files for linux-image-extra-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Removing linux-image-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found linux image: /boot/vmlinuz-3.13.0-46-generic
Found initrd image: /boot/initrd.img-3.13.0-46-generic
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Adding boot menu entry for EFI firmware configuration
done
Purging configuration files for linux-image-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Setting up libfox-1.6-0:amd64 (1.6.49-2ubuntu1) ...
Setting up gogglesmm (0.12.7-2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Err http://archive.ubuntu.com trusty InRelease

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

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

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

Err http://archive.ubuntu.com trusty Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.canonical.com precise InRelease

Err http://archive.canonical.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise InRelease

Err http://us.archive.ubuntu.com precise-security InRelease

Err http://us.archive.ubuntu.com precise-updates InRelease

Err http://us.archive.ubuntu.com precise-backports InRelease

Err http://us.archive.ubuntu.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://security.ubuntu.com trusty-security InRelease

Err http://security.ubuntu.com trusty-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease

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

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

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

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

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/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/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Some index files failed to download. They have been ignored, or old ones used instead.
aditya@aditya-Aspire-E5-571G:~$ sudo dpkg --configure -a
aditya@aditya-Aspire-E5-571G:~$ sudo dpkg --clear-avail
aditya@aditya-Aspire-E5-571G:~$ 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.
aditya@aditya-Aspire-E5-571G:~$ 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.
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Err http://archive.canonical.com precise InRelease

Err http://archive.canonical.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise InRelease

Err http://us.archive.ubuntu.com precise-security InRelease

Err http://us.archive.ubuntu.com precise-updates InRelease

Err http://us.archive.ubuntu.com precise-backports InRelease

Err http://us.archive.ubuntu.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty InRelease

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

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

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

Err http://archive.ubuntu.com trusty Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://security.ubuntu.com trusty-security InRelease

Err http://security.ubuntu.com trusty-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease

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

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

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

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

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/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.canonical.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 192.16.25.100:3142:

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.
aditya@aditya-Aspire-E5-571G:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 #############################################################
     2 ################### OFFICIAL UBUNTU REPOS ###################
     3 #############################################################
     4
     5 ###### Ubuntu Main Repos
     6 deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
     7 deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
     8
     9 ###### Ubuntu Update Repos
    10 deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
    11 deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
    12 deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    13 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
    14 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
    15 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    16
    17 ###### Ubuntu Partner Repo
    18 deb http://archive.canonical.com/ubuntu precise partner
    19 deb-src http://archive.canonical.com/ubuntu precise partner
    20
    21 ###### Ubuntu Extras Repo
    22 # deb http://extras.ubuntu.com/ubuntu precise main
    23 # deb-src http://extras.ubuntu.com/ubuntu precise main
    24 deb http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse
    25 deb-src http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse #Added by software-properties
    26 deb http://security.ubuntu.com/ubuntu/ trusty-security main universe multiverse restricted
    27 deb-src http://archive.ubuntu.com/ubuntu trusty-security main universe multiverse restricted #Added by software-properties
    28 deb http://archive.ubuntu.com/ubuntu trusty-updates main universe multiverse restricted
    29 deb-src http://archive.ubuntu.com/ubuntu trusty-updates main universe multiverse restricted #Added by software-properties
    30 deb http://archive.ubuntu.com/ubuntu trusty-backports main universe multiverse restricted
    31 deb-src http://archive.ubuntu.com/ubuntu trusty-backports main universe multiverse restricted #Added by software-properties

/etc/apt/sources.list.d/google-talkplugin.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/talkplugin/deb/ stable main

/etc/apt/sources.list.d/yandex-disk.list

     1 # deb http://repo.yandex.ru/yandex-disk/deb/ stable main

/etc/apt/sources.list.d/nilarimogard-webupd8-trusty.list

     1 # deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu trusty main

/etc/apt/sources.list.d/opera-stable.list

     1 # This file makes sure that Opera Browser is kept up-to-date
     2 # as part of regular system upgrades
     3
     4 # deb http://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)

/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/webupd8team-sublime-text-3-trusty.list

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

/etc/apt/sources.list.d/paolorotolo-copy-trusty.list

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

/etc/apt/sources.list.d/opera-beta.list

     1 # This file makes sure that Opera Browser is kept up-to-date
     2 # as part of regular system upgrades
     3
     4 # deb http://deb.opera.com/opera-beta/ stable non-free #Opera Browser (final releases)
aditya@aditya-Aspire-E5-571G:~$

Question information

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

Do you use a proxy server for accessing the internet? There might be a problem with it, or there might be a wrong configuration on your system that it tries using a proxy server that does not exist (any more).

Please follow steps 1 to 6 in https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

and in step 6 paste all output into this question document that you have already created https://answers.launchpad.net/ubuntu/+source/update-manager/+question/267062

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

Also try:

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

Then retry

Revision history for this message
Seelapureddy Venkata Rama Aditya Reddy (svradityareddy) said :
#3

aditya@aditya-Aspire-E5-571G:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for aditya:
aditya@aditya-Aspire-E5-571G:~$ grep proxy /etc/environment
aditya@aditya-Aspire-E5-571G:~$ echo $http_proxy

aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ echo $http_proxy

aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ echo $http_proxy

aditya@aditya-Aspire-E5-571G:~$ echo $ftp_proxy

aditya@aditya-Aspire-E5-571G:~$ grep proxy /etc/bash.bashrc
aditya@aditya-Aspire-E5-571G:~$ grep proxy ~/.bashrc
aditya@aditya-Aspire-E5-571G:~$ cat /etc/apt/apt.conf
Acquire::http::Proxy "http://192.16.25.100:3142";
aditya@aditya-Aspire-E5-571G:~$ sudo fuser -vvv /var/lib/dpkg/lock
aditya@aditya-Aspire-E5-571G:~$ sudo fuser -vvv /var/cache/apt/archives/lock
aditya@aditya-Aspire-E5-571G:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
aditya@aditya-Aspire-E5-571G:~$ uname -a
Linux aditya-Aspire-E5-571G 3.13.0-52-generic #85-Ubuntu SMP Wed Apr 29 16:44:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
aditya@aditya-Aspire-E5-571G:~$ sudo rm /var/lib/apt/lists/lock
aditya@aditya-Aspire-E5-571G:~$ sudo rm /var/cache/apt/archives/lock
aditya@aditya-Aspire-E5-571G:~$ sudo rm /var/lib/dpkg/lock
aditya@aditya-Aspire-E5-571G:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mv: cannot stat ‘/var/lib/dpkg/status’: No such file or directory
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mv: cannot stat ‘/var/lib/dpkg/status’: No such file or directory
aditya@aditya-Aspire-E5-571G:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mv: cannot stat ‘/var/lib/dpkg/status’: No such file or directory
aditya@aditya-Aspire-E5-571G:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
aditya@aditya-Aspire-E5-571G:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
aditya@aditya-Aspire-E5-571G:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
aditya@aditya-Aspire-E5-571G:~$ sudo rm -rf /var/lib/dpkg/updates/*
aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ sudo rm -rf /var/lib/dpkg/updates/*
aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ sudo rm -rf /var/lib/dpkg/updates/*
aditya@aditya-Aspire-E5-571G:~$ sudo rm -rf /var/lib/apt/lists
aditya@aditya-Aspire-E5-571G:~$ sudo rm /var/cache/apt/*.bin
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists
aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists
mkdir: cannot create directory ‘/var/lib/apt/lists’: File exists
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists
mkdir: cannot create directory ‘/var/lib/apt/lists’: File exists
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists/partial
aditya@aditya-Aspire-E5-571G:~$
aditya@aditya-Aspire-E5-571G:~$ sudo mkdir /var/lib/apt/lists/partial
mkdir: cannot create directory ‘/var/lib/apt/lists/partial’: File exists
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get clean
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  kde-l10n-engb* linux-headers-3.13.0-32* linux-headers-3.13.0-32-generic*
  linux-image-3.13.0-32-generic* linux-image-extra-3.13.0-32-generic*
  linux-signed-image-3.13.0-32-generic*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 280 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 449635 files and directories currently installed.)
Removing kde-l10n-engb (4:4.13.0-0ubuntu1) ...
Removing linux-headers-3.13.0-32-generic (3.13.0-32.57) ...
Removing linux-headers-3.13.0-32 (3.13.0-32.57) ...
Removing linux-signed-image-3.13.0-32-generic (3.13.0-32.57) ...
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found linux image: /boot/vmlinuz-3.13.0-46-generic
Found initrd image: /boot/initrd.img-3.13.0-46-generic
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Adding boot menu entry for EFI firmware configuration
done
Purging configuration files for linux-signed-image-3.13.0-32-generic (3.13.0-32.57) ...
Removing linux-image-extra-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found linux image: /boot/vmlinuz-3.13.0-46-generic
Found initrd image: /boot/initrd.img-3.13.0-46-generic
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Adding boot menu entry for EFI firmware configuration
done
Purging configuration files for linux-image-extra-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Removing linux-image-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found linux image: /boot/vmlinuz-3.13.0-46-generic
Found initrd image: /boot/initrd.img-3.13.0-46-generic
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Adding boot menu entry for EFI firmware configuration
done
Purging configuration files for linux-image-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
Setting up libfox-1.6-0:amd64 (1.6.49-2ubuntu1) ...
Setting up gogglesmm (0.12.7-2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Err http://archive.ubuntu.com trusty InRelease

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

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

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

Err http://archive.ubuntu.com trusty Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.canonical.com precise InRelease

Err http://archive.canonical.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise InRelease

Err http://us.archive.ubuntu.com precise-security InRelease

Err http://us.archive.ubuntu.com precise-updates InRelease

Err http://us.archive.ubuntu.com precise-backports InRelease

Err http://us.archive.ubuntu.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://security.ubuntu.com trusty-security InRelease

Err http://security.ubuntu.com trusty-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease

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

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

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

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

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/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/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Some index files failed to download. They have been ignored, or old ones used instead.
aditya@aditya-Aspire-E5-571G:~$ sudo dpkg --configure -a
aditya@aditya-Aspire-E5-571G:~$ sudo dpkg --clear-avail
aditya@aditya-Aspire-E5-571G:~$ 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.
aditya@aditya-Aspire-E5-571G:~$ 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.
aditya@aditya-Aspire-E5-571G:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Err http://archive.canonical.com precise InRelease

Err http://archive.canonical.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise InRelease

Err http://us.archive.ubuntu.com precise-security InRelease

Err http://us.archive.ubuntu.com precise-updates InRelease

Err http://us.archive.ubuntu.com precise-backports InRelease

Err http://us.archive.ubuntu.com precise Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://us.archive.ubuntu.com precise-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty InRelease

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

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

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

Err http://archive.ubuntu.com trusty Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://archive.ubuntu.com trusty-backports Release.gpg
  Unable to connect to 192.16.25.100:3142:
Err http://security.ubuntu.com trusty-security InRelease

Err http://security.ubuntu.com trusty-security Release.gpg
  Unable to connect to 192.16.25.100:3142:
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease

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

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

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

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

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/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.canonical.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Unable to connect to 192.16.25.100:3142:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 192.16.25.100:3142:

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.
aditya@aditya-Aspire-E5-571G:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 #############################################################
     2 ################### OFFICIAL UBUNTU REPOS ###################
     3 #############################################################
     4
     5 ###### Ubuntu Main Repos
     6 deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
     7 deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
     8
     9 ###### Ubuntu Update Repos
    10 deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
    11 deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
    12 deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    13 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
    14 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
    15 deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    16
    17 ###### Ubuntu Partner Repo
    18 deb http://archive.canonical.com/ubuntu precise partner
    19 deb-src http://archive.canonical.com/ubuntu precise partner
    20
    21 ###### Ubuntu Extras Repo
    22 # deb http://extras.ubuntu.com/ubuntu precise main
    23 # deb-src http://extras.ubuntu.com/ubuntu precise main
    24 deb http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse
    25 deb-src http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse #Added by software-properties
    26 deb http://security.ubuntu.com/ubuntu/ trusty-security main universe multiverse restricted
    27 deb-src http://archive.ubuntu.com/ubuntu trusty-security main universe multiverse restricted #Added by software-properties
    28 deb http://archive.ubuntu.com/ubuntu trusty-updates main universe multiverse restricted
    29 deb-src http://archive.ubuntu.com/ubuntu trusty-updates main universe multiverse restricted #Added by software-properties
    30 deb http://archive.ubuntu.com/ubuntu trusty-backports main universe multiverse restricted
    31 deb-src http://archive.ubuntu.com/ubuntu trusty-backports main universe multiverse restricted #Added by software-properties

/etc/apt/sources.list.d/google-talkplugin.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/talkplugin/deb/ stable main

/etc/apt/sources.list.d/yandex-disk.list

     1 # deb http://repo.yandex.ru/yandex-disk/deb/ stable main

/etc/apt/sources.list.d/nilarimogard-webupd8-trusty.list

     1 # deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu trusty main

/etc/apt/sources.list.d/opera-stable.list

     1 # This file makes sure that Opera Browser is kept up-to-date
     2 # as part of regular system upgrades
     3
     4 # deb http://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)

/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/webupd8team-sublime-text-3-trusty.list

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

/etc/apt/sources.list.d/paolorotolo-copy-trusty.list

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

/etc/apt/sources.list.d/opera-beta.list

     1 # This file makes sure that Opera Browser is kept up-to-date
     2 # as part of regular system upgrades
     3
     4 # deb http://deb.opera.com/opera-beta/ stable non-free #Opera Browser (final releases)
aditya@aditya-Aspire-E5-571G:~$

Revision history for this message
Seelapureddy Venkata Rama Aditya Reddy (svradityareddy) said :
#4

hi Manfred Hampl (m-hampl)

I kept the output in the comment and also in the question

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

Are you using a proxy server to access the internet?

Try the commands

cat /etc/apt/apt.conf
sudo rm /etc/apt/apt.conf
sudo apt-get update

and copy/paste all output as new response in this question document.

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

Try rebooting your router as well. It is a computer just like the one you are looking at. Can help to reset them from time to time.

Revision history for this message
Seelapureddy Venkata Rama Aditya Reddy (svradityareddy) said :
#7

Thanks Manfred Hampl, that solved my question.