I am trying to update a production server after some months maybe. While updating the apt cache I get the following message.  sudo apt update Hit:1 http://tw.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://tw.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:3 http://tw.archive.ubuntu.com/ubuntu xenial-backports InRelease Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                           Ign:5 http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04  InRelease Hit:6 http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04  Release Get:7 http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04  Release.gpg [481 B] Ign:7 http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04  Release.gpg Reading package lists... Done  N: Ignoring file '50unattended-upgrades.ucf-old' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension W: GPG error: http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 47AE7F72479BC94B E: The repository 'http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04  Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.   I see that one of the package from ownloud could not be verified. I want to skip updating this package for now and move to update others.  Question:   Should I just move forward with sudo apt upgrade for upgrading all others ?  How to resolve the issue with a package whose public key cannot be verified for following cases :   (i) I trust the package and want to upgrade ?   (ii) I do not want to upgrade this package ever ?   (I will deal with this in the     future though) .
15711
Because of  I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package.   How can this be achieved?
123285
What happens if there is a security problem in a package in the universe repository four years after the 12.04 LTS release; will the package be updated from upstream, patched, or left alone?  It's my understanding that the "5 years of support &amp; security updates" applies only to the core of Ubuntu -- anything in Main repository.  Not for things in the Universe repository.    For a more specific example -- if I install Ruby now, and want to use it for the next several years on 12.04 and it has a security vulnerability; while this might be patched in the upstream (so I could always download the latest from their website and compile it myself or use a PPA), will this upstream fix be migrated into the precise package repositories? What about backports?
84886
I searched and read all possible pages here but I could not find the exact problem.  When I open my terminal I am getting:  bash: /usr/bin/lesspipe: /bin/sh: bad interpreter: No such file or directory   then when I use apt-get update I am getting following errors.  Fetched 39,9 MB in 53s (747 kB/s)                                               Reading package lists. . .  Done W: GPG error: http://archive. canonical.com/ubuntu xenial InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) 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://ppa.launchpad.net/nijel/phpmyadmin/ubuntu xenial InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) ....... W: The repository 'http://us.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.  E: Problem executing scripts APT::Update::Post-Invoke-Success 'touch /var/lib/apt/periodic/update-success-stamp 2&gt;/dev/null || true' E: Sub-process returned an error code     $ namei -lx /bin/sh f: /bin/sh Drwxr-xr-x root root / drwxr-xr-x root root bin                      sh - No such file or directory   Does any one know why this error occurred and how can I solve it?
3882
I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following:     W: GPG error:  trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8BAF9A6F   I know I can fix it using apt-key in a terminal, according to the official Ubuntu documentation. But I would have liked to do it graphically. Is there a way to do this without using a terminal?
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.
56089
I'm a new user of Ubuntu 13.10.  I recently tried to resolve a Skype installation issue and added some PPA involving binary-1386.  Every time I run sudo apt-get update, I get the following error:  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/Release  Unable to find expected entry 'restricted/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/saucy/Release  Unable to find expected entry 'main/binary-1386/Packages' 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.   I have spent the last two hours trying to resolve this issue, and made changes to my sources.list file by resetting to.the default saucy settings, but these errors are still occuring.  I've also unchecked everything in Software and Updates section, but this still seems to appear.  The error messages seem to be related to the 'binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file) issue as shown above.
52409
I was trying to recompile and rebuild libevent2 source from oneiric on my natty server and I had a small error with gpg not being able to check signature  # dpkg-source -x libevent_2.0.12-stable-1.dsc gpgv: Signature made Fri Jun 17 07:12:50 2011 PDT using DSA key ID 7ADF9466 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./libevent_2.0.12-stable-1.dsc   Any idea how to fix this warning?
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.
88578
Running sudo apt-get update on my AWS EC2 Ubuntu 18.04.01 LTS instance fails because my Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown when trying to access the deb.nodesource.com/node_10.x bionic Release  Here is the result after running sudo apt-get update  Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Ign:3 https://deb.nodesource.com/node_10.x bionic InRelease Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Err:5 https://deb.nodesource.com/node_10.x bionic Release   Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: XX.XXX.XX.XX 443] Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Reading package lists... Done W: https://deb.nodesource.com/node_10.x/dists/bionic/InRelease: No system certificates available. Try installing ca-certificates. W: https://deb.nodesource.com/node_10.x/dists/bionic/Release: No system certificates available. Try installing ca-certificates. E: The repository 'https://deb.nodesource.com/node_10.x bionic Release' no longer has a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.   It seems like my current installation of Node.js is causing the problem.   I've tried installing and updating ca-certificates in etc/ssl/certs, however, this did not help. I'm not exactly sure how to proceed from here to resolve this issue.  I'm not looking for a quick workaround that would compromise the security of the server.   Thanks in advance!
102549
I updated my ubuntu 16.04 by sudo apt update and encountered this problem .  suraj@UTM-600001420:~$ sudo apt update Hit:1 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu xenial InRelease                               Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease                                                                     Ign:3 http://ppa.launchpad.net/linuxgndu/adt-raring/ubuntu xenial InRelease                                                    Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease                                  Hit:5 http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu xenial InRelease                  Hit:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease Hit:7 http://archive.canonical.com/ubuntu xenial InRelease                                      Hit:8 http://in.archive.ubuntu.com/ubuntu xenial-security InRelease                             Hit:9 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease Err:11 http://ppa.launchpad.net/linuxgndu/adt-raring/ubuntu xenial Release   404  Not Found Reading package lists... Done E: The repository 'http://ppa.launchpad.net/linuxgndu/adt-raring/ubuntu xenial Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.   How to fix this.?
56292
I've recently moved to xenial ubuntu. After upgrading, I was no more able to run  sudo apt-get update   The output is the following:  Get:1 http://it.archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Hit:2 http://it.archive.ubuntu.com/ubuntu xenial-updates  InRelease              Hit:3 http://it.archive.ubuntu.com/ubuntu xenial-backports InRelease            Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease               Hit:5 http://archive.canonical.com xenial InRelease                             Hit:6 http://repository.spotify.com stable InRelease                            Fetched 247 kB in 0s (307 kB/s)                                                 Reading package lists... Done W: Problem unlinking the file backup - Clean (21: Is a directory)   I've tried googling for this particular problem but with no success. Thank you for your help
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.
33767
I tried sudo apt-get update in the new Windows Subsystem for Linux, but I get the following error:    The most relevant parts seem to be the "could not resolve" lines about Ubuntu servers, like:  Could not resolve 'archive.ubuntu.com'
67664
I get the following error when i do sudo apt-get update  W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF0E940624A220   I tried following ways after reading various questions here and also by googling.  I tried  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6AF0E1940624A220   It did not help. I also tried  sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys   thinking port 11371(default) may be blocked due to firewall.  I also tried to reset everything as follows  sudo rm /var/lib/apt/lists/* -vf sudo apt-get update &amp;&amp; sudo apt-get upgrade   still i get the same error or get update. Any other possible solution I can try?
17076
(This question was not resolved. Due to time constraints Computer was restored to factory settings.)  I was attempting to upgrade from 14.04 to 16.04, but apt threw this error:  The required dependency 'apt (&gt;= 1.0.1ubuntu2.13)' is not installed.   What does this mean, and how can I fix it?  When I type in the command apt-cache policy apt  Shageenth@shageenth-Inspiron-3451:~$ apt-cache policy apt apt: Installed: 1.0.1ubuntu2.11 Candidate: 1.0.1ubuntu2.11 Version table: *** 1.0.1ubuntu2.11 0 100 /var/lib/dpkg/status 1.0.1ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64  Packages   The error happens when I run the command:   sudo do-release-upgrade -d   and it produces the following:  Checking for a new Ubuntu release Get:1 Upgrade tool signature [198 B] Get:2 Upgrade tool [1,265 kB] Fetched 1,265 kB in 0s (0 B/s) authenticate 'xenial.tar.gz' against 'xenial.tar.gz.gpg' extracting 'xenial.tar.gz'  Reading cache  Checking package manager Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done  Required depends is not installed  The required dependency 'apt (&gt;= 1.0.1ubuntu2.13)' is not installed.
72965
Please let me know how to remove certain repositories in Ubuntu 11.04. I am getting the following errors while updating.  sudo apt-get update  Err http://ppa.launchpad.net natty/main Sources                                      404  Not Found Err http://ppa.launchpad.net natty/main i386 Packages                                404  Not Found ......  E: Some index files failed to download. They have been ignored, or old ones used instead.
73276
Whenever I am trying to get the update I am getting the error at the last line:  Ign http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en_IN Ign http://in.archive.ubuntu.com trusty-updates/restricted Translation-en_IN Ign http://in.archive.ubuntu.com trusty-updates/universe Translation-en_IN Ign http://in.archive.ubuntu.com trusty-backports/main Translation-en_IN Ign http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en_IN Ign http://in.archive.ubuntu.com trusty-backports/restricted Translation-en_IN Ign http://in.archive.ubuntu.com trusty-backports/universe Translation-en_IN E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.   And then according to the prompted error when I run:  $ sudo dpkg --configure -a dpkg: error: parsing file '/var/lib/dpkg/updates/0009' near line 0:  newline in field name `#padding'   What now? Can I get out of the error?  I tried this .