ubuntu - apt-get update or apt-get install not working -


sudo apt-get update , sudo apt-get install not working getting following errors please help

sudo apt-get install -f reading package lists... done building dependency tree        reading state information... done correcting dependencies... done following packages installed:   cheese cheese-common gnome-video-effects libcheese-gtk21 libcheese3   libclutter-1.0-0 libclutter-1.0-common libclutter-gst-1.0-0   libclutter-gtk-1.0-0 libclutter-imcontext-0.1-0 libcluttergesture-0.0.2-0   libcogl-common libcogl-pango0 libcogl9 libmx-1.0-2 suggested packages:   gnome-video-effects-frei0r following new packages installed:   cheese-common gnome-video-effects libcheese-gtk21 libcheese3   libclutter-1.0-0 libclutter-1.0-common libclutter-gst-1.0-0   libclutter-gtk-1.0-0 libclutter-imcontext-0.1-0 libcluttergesture-0.0.2-0   libcogl-common libcogl-pango0 libcogl9 libmx-1.0-2 following packages upgraded:   cheese 1 upgraded, 14 newly installed, 0 remove , 5 not upgraded. 3 not installed or removed. need 4,807 kb of archives. after operation, 11.2 mb of additional disk space used. want continue [y/n]? y warning: following packages cannot authenticated!   libcogl9 libcogl-pango0 libclutter-1.0-0 libclutter-gst-1.0-0 cheese   cheese-common libcheese3 libclutter-gtk-1.0-0 libclutter-imcontext-0.1-0   libcluttergesture-0.0.2-0 libmx-1.0-2 libcheese-gtk21 gnome-video-effects   libclutter-1.0-common libcogl-common install these packages without verification [y/n]? y err http://in.archive.ubuntu.com/ubuntu/ precise/main libcogl9 i386 1.10.0-0ubuntu2   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise/main libcogl-pango0 i386 1.10.0-0ubuntu2   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libclutter-1.0-0 i386 1.10.6-1~precise1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise/main libclutter-gst-1.0-0 i386 1.5.4-0ubuntu2   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise-updates/universe cheese i386 3.4.1-0ubuntu2.1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise-updates/universe cheese-common 3.4.1-0ubuntu2.1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise-updates/universe libcheese3 i386 3.4.1-0ubuntu2.1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise/main libclutter-gtk-1.0-0 i386 1.2.0-0ubuntu1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise/universe libclutter-imcontext-0.1-0 i386 0.1.4-2build1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise/universe libcluttergesture-0.0.2-0 i386 0.0.2.1-2ubuntu3   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise/universe libmx-1.0-2 i386 1.4.3-0ubuntu1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise-updates/universe libcheese-gtk21 i386 3.4.1-0ubuntu2.1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise/universe gnome-video-effects 0.4.0-1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libclutter-1.0-common 1.10.6-1~precise1   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) err http://in.archive.ubuntu.com/ubuntu/ precise/main libcogl-common 1.10.0-0ubuntu2   wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/main/c/cogl/libcogl9_1.10.0-0ubuntu2_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/main/c/cogl/libcogl-pango0_1.10.0-0ubuntu2_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/main/c/clutter-1.0/libclutter-1.0-0_1.10.6-1~precise1_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/main/c/clutter-gst/libclutter-gst-1.0-0_1.5.4-0ubuntu2_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/c/cheese/cheese_3.4.1-0ubuntu2.1_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/c/cheese/cheese-common_3.4.1-0ubuntu2.1_all.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/c/cheese/libcheese3_3.4.1-0ubuntu2.1_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/main/c/clutter-gtk/libclutter-gtk-1.0-0_1.2.0-0ubuntu1_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/c/clutter-imcontext/libclutter-imcontext-0.1-0_0.1.4-2build1_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/c/clutter-gesture/libcluttergesture-0.0.2-0_0.0.2.1-2ubuntu3_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/m/mx/libmx-1.0-2_1.4.3-0ubuntu1_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/c/cheese/libcheese-gtk21_3.4.1-0ubuntu2.1_i386.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gnome-video-effects/gnome-video-effects_0.4.0-1_all.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/main/c/clutter-1.0/libclutter-1.0-common_1.10.6-1~precise1_all.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) failed fetch http://in.archive.ubuntu.com/ubuntu/pool/main/c/cogl/libcogl-common_1.10.0-0ubuntu2_all.deb  wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - no address associated hostname) e: unable fetch archives, maybe run apt-get update or try --fix-missing? 

it seemed working fine before dont know got installed started showing many errors.

the other solutions provided issue dont work me behind authenticated proxy server. ip 172.31.77.59, dns servers 172.31.100.8 , 172.31.100.9 , proxy server 172.31.100.29

i searched commands. output of cat /etc/network/interfaces is

auto lo iface lo inet loopback  

maybe helps in solving problem

go /etc/apt/conf , insert http_proxy="http://username:password@server:port".

you should set systemwide variable export http_proxy... .put ~/.bashrc , restart.


Comments