14.04 - Can't update Ubuntu Repositories - Ask Ubuntu
so problem can't update apt cache (ubuntu 14.04). changed country , ever since had sign exclamation mark.
i tried update cache both sudo apt-get update
, tried changing repositories server-provider (from settings->software , updates etc). note when choose "find closest server", no server can found.
i tried changing resolv.conf
, got worse , had issues wlan too.
contents of /etc/apt/sources.list:
# deb cdrom:[ubuntu 14.04.2 lts _trusty tahr_ - release i386 (20150218.1)]/ trusty main restricted # see http://help.ubuntu.com/community/upgradenotes how upgrade # newer versions of distribution. deb http://archive.ubuntu.com/ubuntu trusty main restricted deb-src http://archive.ubuntu.com/ubuntu trusty main restricted ## major bug fix updates produced after final release of ## distribution. deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted deb-src http://archive.ubuntu.com/ubuntu trusty-updates main restricted ## n.b. software repository entirely unsupported ubuntu ## team. also, please note software in universe not receive ## review or updates ubuntu security team. deb http://archive.ubuntu.com/ubuntu trusty universe deb-src http://archive.ubuntu.com/ubuntu trusty universe deb http://archive.ubuntu.com/ubuntu trusty-updates universe deb-src http://archive.ubuntu.com/ubuntu trusty-updates universe ## n.b. software repository entirely unsupported ubuntu ## team, , may not under free licence. please satisfy ## rights use software. also, please note software in ## multiverse not receive review or updates ubuntu ## security team. deb http://archive.ubuntu.com/ubuntu trusty multiverse deb-src http://archive.ubuntu.com/ubuntu trusty multiverse deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse deb-src http://archive.ubuntu.com/ubuntu trusty-updates multiverse ## n.b. software repository may not have been tested ## extensively contained in main release, although includes ## newer versions of applications may provide useful features. ## also, please note software in backports not receive review ## or updates ubuntu security team. deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu trusty-security main restricted deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted deb http://archive.ubuntu.com/ubuntu trusty-security universe deb-src http://archive.ubuntu.com/ubuntu trusty-security universe deb http://archive.ubuntu.com/ubuntu trusty-security multiverse deb-src http://archive.ubuntu.com/ubuntu trusty-security multiverse ## uncomment following 2 lines add software canonical's ## 'partner' repository. ## software not part of ubuntu, offered canonical , ## respective vendors service ubuntu users. # deb http://archive.canonical.com/ubuntu trusty partner # deb-src http://archive.canonical.com/ubuntu trusty partner ## software not part of ubuntu, offered third-party ## developers want ship latest software. deb http://extras.ubuntu.com/ubuntu trusty main deb-src http://extras.ubuntu.com/ubuntu trusty main deb http://ppa.launchpad.net/wagungs/kali-linux2/ubuntu raring main # deb-src http://ppa.launchpad.net/wagungs/kali-linux2/ubuntu raring main deb http://ppa.launchpad.net/wagungs/kali-linux/ubuntu raring main # deb-src http://ppa.launchpad.net/wagungs/kali-linux/ubuntu raring main deb http://ppa.launchpad.net/wagungs/kali-linux1/ubuntu raring main # deb-src http://ppa.launchpad.net/wagungs/kali-linux1/ubuntu raring main deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main # deb-src http://security.ubuntu.com/ubuntu trusty-security main
contents of /etc/apt/sources.list.d:
diesch-testing-trusty.list diesch-testing-trusty.list.save dropbox.list dropbox.list.save fkrull-deadsnakes-trusty.list fkrull-deadsnakes-trusty.list.save gezakovacs-ppa-trusty.list gezakovacs-ppa-trusty.list.save google-chrome.list.save google-talkplugin.list google-talkplugin.list.save kali-tools.list kali-tools.list~ maxthon-browser.list maxthon-browser.list.save midori-ppa-trusty.list midori-ppa-trusty.list.save mono-xamarin.list mono-xamarin.list.save private-ppa.launchpad.net_commercial-ppa-uploaders_slimjet_ubuntu.list private-ppa.launchpad.net_commercial-ppa-uploaders_slimjet_ubuntu.list.save spotify.list spotify.list.save stebbins-handbrake-releases-trusty.list stebbins-handbrake-releases-trusty.list.save strukturag-libde265-trusty.list strukturag-libde265-trusty.list.save tualatrix-ppa-trusty.list tualatrix-ppa-trusty.list.save ubuntu-desktop-ubuntu-make-trusty.list ubuntu-desktop-ubuntu-make-trusty.list.save wine-wine-builds-trusty.list wine-wine-builds-trusty.list.save
pinging google example:
ping google.fritz.box (127.0.53.53) 56(84) bytes of data. 64 bytes 127.0.53.53: icmp_seq=1 ttl=64 time=0.030 ms 64 bytes 127.0.53.53: icmp_seq=2 ttl=64 time=0.048 ms 64 bytes 127.0.53.53: icmp_seq=3 ttl=64 time=0.039 ms 64 bytes 127.0.53.53: icmp_seq=4 ttl=64 time=0.049 ms 64 bytes 127.0.53.53: icmp_seq=5 ttl=64 time=0.046 ms 64 bytes 127.0.53.53: icmp_seq=6 ttl=64 time=0.051 ms ^c --- google.fritz.box ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5000ms rtt min/avg/max/mdev = 0.030/0.043/0.051/0.011 ms
results of sudo apt-get update
:
Αγνόησε https://private-ppa.launchpad.net trusty inrelease Σφάλμα http://dl.google.com stable inrelease Σφάλμα http://repository.spotify.com testing inrelease Σφάλμα http://ppa.launchpad.net raring inrelease Σφάλμα http://archive.ubuntu.com trusty inrelease Σφάλμα http://dl.google.com stable release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://repository.spotify.com testing release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://archive.ubuntu.com trusty-updates inrelease Σφάλμα http://archive.ubuntu.com trusty-backports inrelease Σφάλμα http://archive.ubuntu.com trusty-security inrelease Σφάλμα http://ppa.launchpad.net raring inrelease Σφάλμα http://ppa.launchpad.net raring inrelease Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://archive.ubuntu.com trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://archive.ubuntu.com trusty-updates release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://archive.ubuntu.com trusty-backports release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://ppa.launchpad.net trusty inrelease Σφάλμα http://ppa.launchpad.net raring release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net raring release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net raring release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://archive.ubuntu.com trusty-security release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://ppa.launchpad.net trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://dl.maxthon.com stable inrelease Σφάλμα http://download.mono-project.com wheezy inrelease Σφάλμα http://download.mono-project.com wheezy-apache24-compat inrelease Σφάλμα http://extras.ubuntu.com trusty inrelease Σφάλμα http://linux.dropbox.com trusty inrelease Σφάλμα http://dl.maxthon.com stable release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://extras.ubuntu.com trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://linux.dropbox.com trusty release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://download.mono-project.com wheezy release.gpg unable connect 85.73.170.197:3128: Σφάλμα http://download.mono-project.com wheezy-apache24-compat release.gpg unable connect 85.73.170.197:3128:
the word "Σφάλμα" means error.
your problem apt proxy, suggests message:
unable connect 85.73.170.197:3128
port 3128 known squid default port. may used apt-cacher-ng, ... anyway, cache, likely. no longer reachable.
either in /etc/apt/apt.conf
or file /etc/apt/apt.conf.d
, have acquire::http::proxy
should drop.
run grep -ri acquire::http::proxy /etc/apt
, confirm/find file should edit.
Comments
Post a Comment