any help/explanation is appreciated (i know this is such a newb question but nonetheless)  when I try to "sudo apt update" the command fails on one "link" (Failed to fetch   403  Forbidden [IP: 143.95.32.90 80] )  why is that? did the apt update command complete successfully? does this have anything to do with updating repositories in /etc/apt/sources.list?  Thank you in advance for any help folks, greatly appreciate any feedback.
831
PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown:  W: Failed to fetch http://ppa.launchpad.net/ 404  Not Found   How do I fix these errors?
19080
Of course when you type:  sudo apt-get install whatever   It asks you:   Do you want to continue [Y/n]?    Is there any way I can just install it without it asking me if I want to continue? I don't really care about space, I have more then enough.
9997
I am wondering what sudo apt-get update does?  What does it update?
110646
When running:  sudo apt-get install quickly   To install quickly I get this output:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package quickly   Why the error and how can I install it then?
37673
I've tried the following:   sudo apt install --reinstall ubuntu-software sudo apt update &amp;&amp; sudo apt upgrade   Running on Ubuntu 19.04 and tried with Pi-hole disabled.    Thanks
48749
When I run sudo apt-get update I get the following error:  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages  404  Not Found [IP: 91.189.91.15 80]  E: Some index files failed to download. They have been ignored, or old ones used instead.   I've tried looking in /etc/apt/sources.list.d/ to see if anything in that directory can be removed but all that is in there is  nodesource.list nodesource.list.save   In my sources.list file I have:  deb http://ports.ubuntu.com/ubuntu-ports/ trusty main deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main deb http://ports.ubuntu.com/ubuntu-ports/ trusty-security main deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-security main deb http://archive.ubuntu.com/ubuntu trusty main # deb-src http://archive.ubuntu.com/ubuntu trusty main   Can anyone recommend a way of fixing this error?
13471
Like , I can't run apt-get update sometimes. Restarting or waiting for a while makes the problem go away. I never have issues pinging or visiting the respective URLs in a browser.  I've tried every up-voted answer to no avail. What is apt doing that is so different to ping or my browser? For example, when I run apt-get update I see this:  Err:1 https://download.docker.com/linux/ubuntu xenial InRelease   Could not resolve host: download.docker.com Err:2 https://deb.opera.com/opera-stable stable InRelease   Could not resolve host: deb.opera.com Err:3 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease   Could not resolve 'ppa.launchpad.net' Err:4 http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial InRelease   Could not resolve 'ppa.launchpad.net' Err:5 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial InRelease   Could not resolve 'ppa.launchpad.net' Err:6 http://repository.spotify.com stable InRelease   Could not resolve 'repository.spotify.com' Err:7 http://dl.google.com/linux/chrome/deb stable InRelease   Could not resolve 'dl.google.com' Err:8 http://archive.ubuntu.com/ubuntu xenial InRelease   Could not resolve 'archive.ubuntu.com' Err:9 http://archive.ubuntu.com/ubuntu xenial-updates InRelease   Could not resolve 'archive.ubuntu.com' Err:10 http://archive.ubuntu.com/ubuntu xenial-backports InRelease   Could not resolve 'archive.ubuntu.com' Err:11 http://archive.ubuntu.com/ubuntu xenial-security InRelease   Could not resolve 'archive.ubuntu.com' Reading package lists... Done W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Could not resolve 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Could not resolve 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Could not resolve 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-security/InRelease  Could not resolve 'archive.ubuntu.com' W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/xenial/InRelease  Could not resolve host: download.docker.com W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/xenial/InRelease  Could not resolve 'ppa.launchpad.net' W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease  Could not resolve 'dl.google.com' W: Failed to fetch https://deb.opera.com/opera-stable/dists/stable/InRelease  Could not resolve host: deb.opera.com W: Failed to fetch http://ppa.launchpad.net/saiarcot895/myppa/ubuntu/dists/xenial/InRelease  Could not resolve 'ppa.launchpad.net' W: Failed to fetch http://repository.spotify.com/dists/stable/InRelease  Could not resolve 'repository.spotify.com' W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/xenial/InRelease  Could not resolve 'ppa.launchpad.net' W: Some index files failed to download. They have been ignored, or old ones used instead.   Running ping download.docker.com:  PING d2h67oheeuigaw.cloudfront.net (52.85.41.233) 56(84) bytes of data. 64 bytes from server-52-85-41-233.mel50.r.cloudfront.net (52.85.41.233): icmp_seq=1 ttl=251 time=18.8 ms 64 bytes from server-52-85-41-233.mel50.r.cloudfront.net (52.85.41.233): icmp_seq=2 ttl=251 time=18.4 ms 64 bytes from server-52-85-41-233.mel50.r.cloudfront.net (52.85.41.233): icmp_seq=3 ttl=251 time=19.5 ms   And visiting the page in my browser works fine. How can I make apt-get "just work"?  Here is the contents of my /etc/apt/resolv.conf:  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1 search home.gateway
57501
Both apt-get update and upgrade hang:  sudo apt-get update [sudo] password for xxx:  0% [Connecting to archive.ubuntu.com (2001:67c:1360:8001::17)]   I'm able to ping archive.ubuntu.com:  ping archive.ubuntu.com PING archive.ubuntu.com (91.189.88.162) 56(84) bytes of data. 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=1 ttl=50 time=42.2 ms 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=2 ttl=50 time=42.1 ms 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=3 ttl=50 time=42.1 ms ^C --- archive.ubuntu.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 42.169/42.206/42.265/0.240 ms   I checked , and I don't think its the same issue.  Any tips for investigating this further?
82178
I am using ubuntu 13.10 on evaluation board and my internet is not working. Also i need to install softwares and apt-get install is also not working.  Terminal says :  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?  source :
75536
This is the terminal message I keep getting when trying to update via: sudo apt-get update  $ sudo apt-get update [sudo] password for petros: Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/   How can I solve it?
56207
I'm trying to configure some proxies for a guest virtual machine and now I'm getting:  sudo apt-get update E: Syntax error /etc/apt/apt.conf.d/95proxy:4: Extra junk at end of file   The content of the file is:  cat /etc/apt/apt.conf.d/95proxy   Acquire::http::proxy  "http://10.0.0.60:3128/" Acquire::ftp::proxy "http://10.0.0.60:3128/" Acquire::https::proxy "http://10.0.0.60:3128/"
104893
I'm a new Ubuntu user, and when I try to run sudo apt update, it returns the following errors. Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Err:2 http://archive.ubuntu.com/ubuntu focal InRelease   Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out Err:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease   Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Err:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease   Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) W: Some index files failed to download. They have been ignored, or old ones used instead.  Can you help me to solve this problem? I'm using WSL 2 and Windows 10 using AMD graphic.
37604
I know this is asked often but nothing seems to work for me. Every time I try to update I get the following:  sudo apt-get update Get:1 http://archive.ubuntu.com precise Release.gpg Get:2 http://ppa.launchpad.net precise Release.gpg Get:3 http://archive.ubuntu.com precise Release                             Get:4 http://ppa.launchpad.net precise Release.gpg                          Get:5 http://ppa.launchpad.net precise Release                               Ign http://archive.ubuntu.com precise Release                                E: GPG error: http://archive.ubuntu.com precise Release: The following signatures were invalid: NODATA 1 NODATA 2   The only way I can successfully execute   sudo apt-get update   is by removing ALL software sources (which is pointless).  Regardless of whatever software source I use (official ubuntu or some other PPA) I get the same errors.  So far I have tried:   Changing the server from MAIN to some other . . . no joy   The suggested fixes from , , , and .   Nothing seems to work. It seems that all my key data is missing and I can't figure out how to get it back.  Any help would be very appreciated !
84542
The apt-get command and the sudo command does not work for me. which apt-get returns nothing. I checked by bin folder to make sure, and there is no aptget. I however have wget. Can I install apt-get with wget? If not, how can I install it?
8121
I started setting up by adding repositories and then went to run a sudo apt-get update again before I started installing other software, and I get the Signature key lines and it stops. So it essentially won't let me update any packages now.  d@EliteBook:~/Downloads$ sudo apt-get update Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Hit:2 http://dl.google.com/linux/chrome/deb stable Release                      Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease               Get:5 http://ca.archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Hit:6 http://ca.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:7 http://ca.archive.ubuntu.com/ubuntu xenial-backports InRelease Fetched 247 kB in 0s (256 kB/s)                    Reading package lists... Done W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by  key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1) d@EliteBook:~/Downloads$   I've never seen this before whenever I setup and start installing things in Ubuntu. Is there something else I can do?
45208
Everytime I sudo apt-get update it always not complete and will say in the end  E: Read error - read (5: Input/output error) E: The package lists or status file could not be parsed or opened.   Same goes, when I try to install something and do sudo apt-get install &lt;some app&gt;  What should I do ? I admit, that my drive has bad sectors, could that be the reason? Is there anything else I can do?
89602
I am new to Linux and Ubuntu.  I was trying to upgrade pip but ran into this...  $ sudo pip install --upgrade pip Cannot fetch index base URL https://pypi.python.org/simple/ Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-7.1.0-py2.py3-none-any.whl#md5=b108384a762825ec20345bb9b5b7209f   Downloading pip-7.1.0-py2.py3-none-any.whl (1.1MB): 1.1MB downloaded Installing collected packages: pip   Found existing installation: pip 1.5.4     Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS Successfully installed pip Cleaning up...   Any idea why?