When I run sudo apt-get update this is my output:  Err:1 http://security.ubuntu.com/ubuntu xenial-security InRelease     Temporary failure resolving 'security.ubuntu.com'   Err:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease     Temporary failure resolving 'us.archive.ubuntu.com'   Err:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease     Temporary failure resolving 'us.archive.ubuntu.com'   Err:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease     Temporary failure resolving 'us.archive.ubuntu.com'   Reading package lists... Done   W: Failed to fetch   http://us.archive.ubuntu.com/ubuntu/dists/xenial/InRelease    Temporary failure resolving 'us.archive.ubuntu.com'   W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease    Temporary failure resolving 'us.archive.ubuntu.com'   W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease    Temporary failure resolving 'us.archive.ubuntu.com'   W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease    Temporary failure resolving 'security.ubuntu.com' W: Some index files failed to download. They have been ignored, or old ones used instead.  I'm new to servers and have run into this issue. I've managed to get SSH up and running and am attempting to install Apache. Nothing will install. I am new to Linux servers. I have only worked with Windows Servers before.   Let me know if any other info would be helpful.
12954
Err http://archive.canonical.com natty InRelease     Err http://security.ubuntu.com oneiric-security InRelease                Err http://extras.ubuntu.com natty InRelease                             Err http://security.ubuntu.com oneiric-security Release.gpg   Temporary failure resolving ‘security.ubuntu.com’ Err http://archive.canonical.com natty Release.gpg   Temporary failure resolving ‘archive.canonical.com’ Err http://extras.ubuntu.com natty Release.gpg   Temporary failure resolving ‘extras.ubuntu.com’ Err http://gb.archive.ubuntu.com oneiric InRelease Err http://gb.archive.ubuntu.com oneiric-updates InRelease Err http://gb.archive.ubuntu.com natty-backports InRelease Err http://gb.archive.ubuntu.com oneiric Release.gpg   Temporary failure resolving ‘gb.archive.ubuntu.com’ Err http://gb.archive.ubuntu.com oneiric-updates Release.gpg   Temporary failure resolving ‘gb.archive.ubuntu.com’ Err http://gb.archive.ubuntu.com natty-backports Release.gpg   Temporary failure resolving ‘gb.archive.ubuntu.com’  Reading package lists... Done W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/oneiric/InRelease       W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/oneiric-updates/InRelease   W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/natty-backports/InRelease   W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/InRelease   W: Failed to fetch http://archive.canonical.com/ubuntu/dists/natty/InRelease   W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/InRelease   W: Failed to fetch http://archive.canonical.com/ubuntu/dists/natty/Release.gpg  Temporary failure resolving ‘archive.canonical.com’ W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg  Temporary failure resolving ‘security.ubuntu.com’ W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/Release.gpg  Temporary failure resolving ‘extras.ubuntu.com’ W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg  Temporary failure resolving ‘gb.archive.ubuntu.com’ W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg  Temporary failure resolving ‘gb.archive.ubuntu.com’ W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/natty-backports/Release.gpg  Temporary failure resolving ‘gb.archive.ubuntu.com’ W: Some index files failed to download. They have been ignored, or old ones used instead.   This is what I'm seeing when I try to run sudo apt-get update. I did an update on my instance yesterday and am now experiencing this.
17509
dam@ubuntu:~$ sudo apt-get update   W: Failed ....  adam@ubuntu:~$ sudo apt-get install fetch   Reading package lists... Done   Building dependency tree          Reading state information... Done   E: Unable to locate package fetch
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/"
103157
I have recently upgraded from Ubuntu 16.04 to 18.04. Now, when I run apt-get upgrade, I get the following error.  larry@VUbuntu15:~$ sudo apt-get upgrade [sudo] password for larry:  Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following packages have been kept back:   linux-generic linux-headers-generic linux-image-generic The following packages will be upgraded:   libvte-2.91-0 linux-libc-dev 2 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 1,146 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://192.119.223.46:80/data/0116fed259cd0925/us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libvte-2.91-0 amd64 0.52.2-1ubuntu1~18.04.2   Redirection loop encountered Err:2 http://192.119.223.46:80/data/011634d2c0cdf482/us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-30.32   Redirection loop encountered E: Failed to fetch http://192.119.223.46:80/data/0116fed259cd0925/us.archive.ubuntu.com/ubuntu/pool/main/v/vte2.91/libvte-2.91-0_0.52.2-1ubuntu1~18.04.2_amd64.deb  Redirection loop encountered E: Failed to fetch http://192.119.223.46:80/data/011634d2c0cdf482/us.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.15.0-30.32_amd64.deb  Redirection loop encountered E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   If I run sudo apt-get update --fix-missing, I get the same errors.  What does the "Redirection loop encountered" mean? How can I fix this error?  No problems with apt-get update. The sources.list file seems to be OK.
952
When updating, I get the following error message:   W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.   Here, I find another statement on this error:   This recommends removing certain PPAs; and, I'm not sure if I should do that since it might mean not getting the updates that I need.    Is this what I should do?
9483
I can use my mobile broadband to access Internet with Firefox but when I want to install any package from terminal or make 'apt-get update' command I got the following error:  got 'NODATA' (does the network require authentication?)   apt-get update output:  Get:1 extras.ubuntu.com trusty InRelease [213 B] 98% [1 InRelease gpgv 213 B] [Connecting to archive.ubuntu.com] Splitting up /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease into data Ign extras.ubuntu.com trusty InRelease E: GPG error: extras.ubuntu.com trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)    output of `cat /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease  &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;404&lt;/title&gt; &lt;meta http-equiv="Cache-Control" content="no-cache"/&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt; Not Found &lt;/p&gt; &lt;/body&gt; &lt;/html&gt;   output of wget:  wget -O - http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease  --2014-06-01 09:23:35--  http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease Resolving extras.ubuntu.com (extras.ubuntu.com)... 91.189.92.152 Connecting to extras.ubuntu.com (extras.ubuntu.com)|91.189.92.152|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 213 [text/html] Saving to: ‘STDOUT’   0% [                                       ] 0           --.-K/s              &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;404&lt;/title&gt; &lt;meta http-equiv="Cache-Control" content="no-cache"/&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt; Not Found  &lt;/p&gt; &lt;/body&gt; &lt;/html&gt;
10382
apt-get update after upgrade - I get following message  W: GPG error: http://archive.canonical.com/ubuntu xenial InRelease: At least one invalid signature was encountered. W: The repository 'http://archive.canonical.com/ubuntu xenial InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://ua.archive.ubuntu.com/ubuntu xenial InRelease: At least one invalid signature was encountered. W: The repository 'http://ua.archive.ubuntu.com/ubuntu xenial InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://ua.archive.ubuntu.com/ubuntu xenial-security InRelease: At least one invalid signature was encountered. W: The repository 'http://ua.archive.ubuntu.com/ubuntu xenial-security InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://ua.archive.ubuntu.com/ubuntu xenial-updates InRelease: At least one invalid signature was encountered. W: The repository 'http://ua.archive.ubuntu.com/ubuntu xenial-updates InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://ua.archive.ubuntu.com/ubuntu xenial-proposed InRelease: At least one invalid signature was encountered. W: The repository 'http://ua.archive.ubuntu.com/ubuntu xenial-proposed InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://ua.archive.ubuntu.com/ubuntu xenial-backports InRelease: At least one invalid signature was encountered. W: The repository 'http://ua.archive.ubuntu.com/ubuntu xenial-backports InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details.   Tried   sudo apt-get clean sudo mv /var/lib/apt/lists /tmp sudo mkdir -p /var/lib/apt/lists/partial sudo apt-get clean sudo apt-get update   It did not help.  My current source.list:   ###### Ubuntu Main Repos deb http://ua.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse   ###### Ubuntu Update Repos deb http://ua.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse  deb http://ua.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse  deb http://ua.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse  deb http://ua.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse   ###### Ubuntu Partner Repo deb http://archive.canonical.com/ubuntu xenial partner
31275
I cannot install any package. It seems the command apt-get update must be run but it throws some errors:  $ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]      Hit:2 http://ve.archive.ubuntu.com/ubuntu xenial InRelease                      Hit:3 http://ve.archive.ubuntu.com/ubuntu xenial-updates InRelease              Hit:4 http://ve.archive.ubuntu.com/ubuntu xenial-backports InRelease            Fetched 102 kB in 23s (4337 B/s)                                                *** Error in `appstreamcli': double free or corruption (fasttop): 0x000000000210f4b0 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fac8d8317e5] [...] Aborted (core dumped) Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success   'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;   then appstreamcli refresh &gt; /dev/null; fi' E: Sub-process returned an error code
104258
I'm trying to do an apt-get update or apt-get install xyz and I'm seeing timeouts like this:  W: Failed to fetch http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg   Unable to connect to eu-west-1.ec2.archive.ubuntu.com:http: [IP: 10.224.87.159 80]   Is this a transient issue with Ubuntu, or maybe it's something on my end. The box I'm accessing it from is in EC2-EU.  Perhaps there is a way to force the installer to use the US servers which seem to work?
64908
I'm trying to update my system using apt-get, but it's giving me this error  Err http://bd.archive.ubuntu.com raring Release.gpg          Could not connect to bd.archive.ubuntu.com:80 (116.193.170.18), connection timed out Err http://bd.archive.ubuntu.com raring-updates Release.gpg   Unable to connect to bd.archive.ubuntu.com:http: Err http://bd.archive.ubuntu.com raring-backports Release.gpg   Unable to connect to bd.archive.ubuntu.com:http: Reading package lists... Done W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/raring/Release.gpg  Could not connect to bd.archive.ubuntu.com:80 (116.193.170.18), connection timed out W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/raring-updates/Release.gpg  Unable to connect to bd.archive.ubuntu.com:http: W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/raring-backports/Release.gpg  Unable to connect to bd.archive.ubuntu.com:http: W: Some index files failed to download. They have been ignored, or old ones used instead.   I am not a Ubuntu master but I can understand this is not a computer error. Any clues on how to fix it?
56124
When upgrading to Ubuntu 14.04 from Ubuntu 12.04 I am getting the following error:     W:Failed to fetch    Unable to find expected entry 'non-free/source/Sources' in Release   file (Wrong sources.list entry or malformed file) , E:Some index files   failed to download. They have been ignored, or old ones used instead.
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?
50553
I use Ubuntu Studio 16.04 LTS, 64 bit, into 3 desktop PC (Intel i5 and i7) and 4 laptops (Intel Pentium). All with 8 GB of RAM.  Since about a week ago, I've been getting the following message each time I try to update/upgrade the system:  https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease" has no Public Key. It isn't safe to use this kind of repository.   I tried to remove that repository (which I don't remember adding) with the terminal command:  sudo add-apt-repository -r &lt;repository to  remove&gt;   But, even though the system seems to perform that action, the repository is used next time I type:  sudo apt-get update   This repository isn't visible in Synaptic Software Manager and/or Ubuntu Software Center.  How can I fix it?
123914
Every time I try to do some update (sudo apt-get update) it says:   Reading package lists ... ready W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ need /partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages) W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ need /partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages) W: You have to run apt-get update to correct these problems   sources.list:   ls /etc/apt/sources.list.d/ as requested:  milton@milton-HuronRiver-Platform:~$ ls /etc/apt/sources.list.d/ emesene-team-emesene-stable-precise.list precise-partner.list precise-partner.list.save upubuntu-com-chat-precise.list upubuntu-com-chat-precise.list.save
99634
I'm trying to upgrade some package in a VM, but I dpkg refuses to apply the upgrades due the following:  dpkg: error processing /var/cache/apt/archives/ifupdown_0.7.5ubuntu2.2_amd64.deb (--unpack):  unable to make backup link of `./sbin/ifquery' before installing new version: No such file or directory Preparing to replace unzip 6.0-8ubuntu1 (using .../unzip_6.0-8ubuntu2_amd64.deb) ... Unpacking replacement unzip ... dpkg: error processing /var/cache/apt/archives/unzip_6.0-8ubuntu2_amd64.deb (--unpack):  unable to make backup link of `./usr/bin/unzip' before installing new version: No such file or directory dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)   What it means? The permissions are fine and the file definitively exist:  ls -l /sbin/ifquery -rwxr-xr-x 1 1500000 1500000 58496 dic 12  2012 /sbin/ifquery
10743
For the last week or more, running sudo apt-get update culminates in error:  Reading package lists... Done E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/main/dep11/Components-amd64.yml   Could not open file /var/lib/apt/lists/partial/au.archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz - open (13: Permission denied) [IP: 202.158.214.106 80] E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/dep11/icons-64x64.tar  Could not open file /var/lib/apt/lists/partial/au.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_icons-64x64.tar.gz - open (13: Permission denied) [IP: 202.158.214.106 80] E: Some index files failed to download. They have been ignored, or old ones used instead.   Entering either of the 2 specified urls into a browser address bar results in a 'File not found' (404) error - but if I append .gz to both addresses, then the respective files can be downloaded.  However, having downloaded the 2 files, I then don't know how (or if) I can utilize them.  Seeking advice on how best to proceed.
12455
After upgrading from 15.10 to 16.04, I am receiving the following error on apt-get update:  Reading package lists... Done E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/restricted/source/Sources  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/universe/source/Sources  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/multiverse/source/Sources  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/restricted/binary-amd64/Packages  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/restricted/binary-i386/Packages  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/restricted/i18n/Translation-en  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/universe/binary-amd64/Packages  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/universe/binary-i386/Packages  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/universe/i18n/Translation-en  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/multiverse/binary-amd64/Packages  Empty files can't be valid archives E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/multiverse/binary-i386/Packages  Empty files can't be valid archives E: Some index files failed to download. They have been ignored, or old ones used instead.   Does anyone know how to solve this error?