While running  sudo apt-get update  it gives me the following error  alika@vilnisi:~$ sudo apt-get update [sudo] password for alika:  Hit:1 http: //deb.playonlinux.com precise InRelease Hit:2 http: //archive.ubuntu.com/ubuntu bionic InRelease                                      Ign:3 http: //ppa.launchpad.net/glasen/freetype2/ubuntu bionic InRelease                      Get:4 http:/ /archive.ubuntu.com/ubuntu bionic-updates InRelease [83,2 kB]                                                                            Hit:5 https: //dl.winehq.org/wine-builds/ubuntu bionic InRelease                                                                                                   Err:6 http: //ppa.launchpad.net/glasen/freetype2/ubuntu bionic Release                                                                                               404  Not Found [IP: 91.189.95.83 80] Get:7 http: //archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]             Get:8 http: //archive.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB] Reading package lists... Done                                      E: The repository 'http:// ppa.launchpad.net/glasen/freetype2/ubuntu bionic 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.
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?
1926
Any install that I'm trying through the Software Center is telling me:  Requires installation of untrusted packages: The action would require the installation of packages from not authenticated sources.  I did an apt-get update from the command line, then removed the software sources that the keys were bad from (PPAs I added myself), and unchecked them in the software sources for software center, but to no avail.  I can't install anything from software center anymore - only&gt; from the command line with apt-get. Is uninstalling/installing the only option?  I don't want to break other PPAs that I have. Additional information: Here's a paste from apt-get update: Reading package lists... Done W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B725097B3ACC3965 W: GPG error: http://us.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key &lt;ftpmaster@ubuntu.com&gt;  I've tried apt-key update, and there was no effect (two keys unchanged). The output of apt-get update and apt-get upgrade, and the contents of /etc/apt/sources.list, can be found in .
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
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.
18340
root@Kali:~# echo -e "deb http://http.kali.org/kali sana main non-free contrib\ndeb http://security.kali.org/kali-security/ sana/updates main contrib non-free" &gt; /etc/apt/sources.list  root@Kali:~# apt-get update  Ign:1 h t t p : / / http . kali . org/kali sana InRelease                                      Err:2 h t t p : / / http . kali . org/kali sana Release                                          404  Not Found [IP: 192.99.200.113 80] Ign:3 h t t p : / / http . kali . org/kali-security sana/updates InRelease Err:4 h t t p : / / http . kali . org/kali-security sana/updates Release   404  Not Found [IP: 192.99.200.113 80] Reading package lists... Done  E: The repository 'http://http.kali.org/kali sana 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. E: The repository 'http://security.kali.org/kali-security sana/updates 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. root@Kali:~# apt-get update --fix-missing  Ign:1 h t t p : / / http . kali . org/kali sana InRelease                                      Ign:2 h t t p : / / http . kali . org/kali-security sana/updates InRelease                 Err:3 h t t p : / / http . kali . org/kali sana Release   404  Not Found [IP: 192.99.200.113 80] Err:4 h t t p : / / http . kali . org/kali-security sana/updates Release   404  Not Found [IP: 192.99.200.113 80] Reading package lists... Done E: The repository 'h t t p : / / http . kali . org/kali sana 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. E: The repository 'h t t p : / / security . kali . org / kali-security sana/updates 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.  root@Kali:~# apt-get install tor Reading package lists... Done Building dependency tree         Reading state information... Done  Package tor is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'tor' has no installation candidate
42969
I've installed ubuntu 17.04 and I want to upgrade it to 18.04. When I tried to do:   sudo do-release-upgrade   I got a message saying An upgrade from 'zesty' to 'bionic' is not supported with this tool. Need inputs to proceed on this.  sudo do-release-upgrade Checking for a new Ubuntu release Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife  Get:1 Upgrade tool signature [819 B]                                            Get:2 Upgrade tool [1,257 kB]                                                   Fetched 1,258 kB in 0s (0 B/s)                                                  authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'  extracting 'bionic.tar.gz'  Reading cache  Checking package manager  Can not upgrade   An upgrade from 'zesty' to 'bionic' is not supported with this tool.
49774
This is the error I get when I open the software center. I've tried rebooting and running sudo apt-get update but I see no improvement. It worked earlier but I don't know what went wrong since then. I'm using Ubuntu 16.04 final release on a Dell Inspiron 15R. Any advice will be appreciated. Thanks in advance.  EDIT: The problem magically solved itself without me doing anything special (or maybe inadvertently doing something, I don't know). So I'd still like to get to the root of this.
106457
The whole update process seems somewhat confusing to me.  I can understand the need to run sudo apt-get update prior to installing another package, but, what is the difference in running update from the command-line and using the Synaptic package manager for updates and/or the the Auto-updater.  If there is no difference, why do we have all three?
19932
Using Ubuntu, I have a habit of running: sudo apt update sudo apt upgrade   on every startup. But for a month, I guess, there have been no updates whatsoever. The message shows: All packages are up to date  Now I am starting to worry. Can there be a fault in my update manager? As far as I know, I've made no changes to the package manager settings. But no updates for almost a month seems kind of weird. Any feedback would be helpful. Thanks.
55630
I tried the following but no use: sudo add-apt-repository ppa:fingerprint/fingerprint-gui sudo apt update sudo apt install libbsapi policykit-1-fingerprint-gui fingerprint-gui  I got this error: E: Unable to locate package policykit-1-fingerprint-gui E: Unable to locate package fingerprint-gui
2985
When updating I got this error message:  W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch http://ppa.launchpad.net/synce/ubuntu/dists/your_ubuntu_version/main/source/Sources  404  Not Found   What to do?
103211
When I ssh into the server it says:  11 packages can be updated. 11 updates are security updates.   Then I verify that everything is installed:  canonical-livepatch status --verbose   And this is what I get:  client-version: 9.3.0 machine-id: xxx machine-token: xxx architecture: x86_64 cpu-model: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz last-check: 2019-05-15T18:08:12Z boot-time: 2019-05-11T10:06:52Z uptime: 104h34m56s status: - kernel: 4.15.0-48.51-generic   running: true   livepatch:     checkState: checked     patchState: nothing-to-apply     version: ""     fixes: ""   So there is nothing to apply? How about those 11 security updates then?  UPDATE:  As requested this is the list of upgradeable:  apt list --upgradable    intel-microcode/bionic-security,bionic-updates,bionic-updates,bionic-security 3.20190514.0ubuntu0.18.04.2 amd64 [upgradable from: 3.20180807a.0ubuntu0.18.04.1] libwbclient0/bionic-security,bionic-updates,bionic-updates,bionic-security 2:4.7.6+dfsg~ubuntu-0ubuntu2.10 amd64 [upgradable from: 2:4.7.6+dfsg~ubuntu-0ubuntu2.9] linux-generic/bionic-security,bionic-updates,bionic-updates,bionic-security 4.15.0.50.52 amd64 [upgradable from: 4.15.0.48.50] linux-headers-generic/bionic-security,bionic-updates,bionic-updates,bionic-security 4.15.0.50.52 amd64 [upgradable from: 4.15.0.48.50] linux-image-generic/bionic-security,bionic-updates,bionic-updates,bionic-security 4.15.0.50.52 amd64 [upgradable from: 4.15.0.48.50] linux-libc-dev/bionic-security,bionic-updates,bionic-updates,bionic-security 4.15.0-50.54 amd64 [upgradable from: 4.15.0-48.51] python3-distupgrade/bionic-updates,bionic-updates,bionic-updates,bionic-updates 1:18.04.32 all [upgradable from: 1:18.04.31] ubuntu-release-upgrader-core/bionic-updates,bionic-updates,bionic-updates,bionic-updates 1:18.04.32 all [upgradable from: 1:18.04.31]
60375
As an experiment in playing with the suid bit, I tried writing a script to run apt-get update from a bash script, and then set the suid bit on it, so I could just run ~/update or something.  apt-get update could be anything here - some program that listens on a privileged socket, or writes to / or anything else that has to be run as root. Please don't latch on to apt-get update here.  First try is this, which didn't work, failing with can't get lock, are you root?. The reason would seem to be .  #!/bin/bash apt-get update   So I thought I'd try to bypass the shell, but this didn't work either, for the same reason.  #!/usr/bin/perl system("apt-get", "update").   I've got the permissions correct (afaik) - sudo chmod 4755 ~/update.  Have I misunderstood setuid, or am I just missing something simple?
61019
sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. michael@Ubuntu:~$ sudo apt-get clean michael@Ubuntu:~$ cd /var/lib/apt michael@Ubuntu:/var/lib/apt$ sudo mv lists lists.old michael@Ubuntu:/var/lib/apt$ sudo mkdir -p lists/partial michael@Ubuntu:/var/lib/apt$ sudo apt-get clean michael@Ubuntu:/var/lib/apt$ sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? michael@Ubuntu:/var/lib/apt$ sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found.   Why am I getting these errors when doing an apt-get update?
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.
101024
I'm trying to update to node 7.x through the terminal on my raspberry pi and I keep encountering this error. The command I'm using is:  sudo curl -sL https://deb.nodesource.com/setup_7.x | bash -   Running this command as root doesn't work so I tried to see if apt-get was being used by any other processes.   ps aux | grep apt pi        1295  0.0  0.1   4272  1848 pts/0    S+   06:24   0:00 grep --color=auto apt   This is all I get. Ultimately, (although it was initially advised not to do so), I tried removing the files and running the command again.  sudo rm /var/lib/apt/lists/lock &amp;&amp; sudo rm /var/lib/dpkg/lock   Now neither one of these files no longer exists and I still receive the same error when trying to use curl. I also tried to kill that one process and I still get the error.
66533
I've start a new job today and I am trying to set up my machine to run through their Windows server.  I've managed to get a internet connection through the server now but now I can't run apt-get update as I get a "403 Forbidden" error.  This is for every repo under my source list, apart from translations(?).  I do have a proxy in apt.conf, if I don't have it I get a 407 Permission Denied error.  Here's my apt.conf file (I have omitted my username and password)  Acquire::http::proxy "http://username:password@192.168.0.2:8080/";   Here's my sources.list  #deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/main/binary-i386/  #deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/restricted/binary-i386/ #deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ precise main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://gb.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://gb.archive.ubuntu.com/ubuntu/ precise main restricted  ## Major bug fix updates produced after the final release of the ## distribution. deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates main restricted  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://gb.archive.ubuntu.com/ubuntu/ precise universe deb-src http://gb.archive.ubuntu.com/ubuntu/ precise universe deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://gb.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ precise multiverse deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://gb.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse  deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-security multiverse  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu precise partner # deb-src http://archive.canonical.com/ubuntu precise partner  ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main   I can sort-of fix this by changing all the http in sources.list to ftp but I still have issues with ppas