Getting this error message for VS Code while executing sudo apt-get update &amp;&amp; sudo apt-get upgrade: Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease                    Hit:2 http://in.archive.ubuntu.com/ubuntu bionic InRelease                      Get:3 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]    Hit:4 http://archive.canonical.com/ubuntu bionic InRelease                      Hit:5 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease           Hit:6 https://deb.nodesource.com/node_12.x bionic InRelease                     Hit:7 http://packages.microsoft.com/repos/vscode stable InRelease               Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]     Hit:9 http://dl.google.com/linux/chrome/deb stable Release                      Get:10 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:12 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [915 kB] Get:13 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.7 kB] Hit:14 https://download.sublimetext.com apt/stable/ InRelease                   Get:15 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB] Get:16 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B] Get:17 http://in.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [669 kB] Get:18 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [301 kB]                                                  Get:19 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [273 kB]                                              Get:20 http://in.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]                                           Get:21 http://in.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,968 B]                                           Fetched 2,504 kB in 20s (123 kB/s)                                                                                                             Reading package lists... Done N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://packages.microsoft.com/repos/vscode stable InRelease' doesn't support architecture 'i386' Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
19637
Getting below error message while issuing :  sudo apt-get update  Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [95.8 kB] Ign:2 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 InRelease                                                                                                             Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                          Hit:4 http://ppa.launchpad.net/canonical-x/vulkan/ubuntu xenial InRelease                                                                                                 Hit:5 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 Release                                                                             Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease                                                   Ign:7 http://dl.google.com/linux/talkplugin/deb stable InRelease                                                      Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                    Ign:9 http://linux.dropbox.com/ubuntu wily InRelease                                            Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease                               Get:12 http://dl.google.com/linux/chrome/deb stable Release [782 B]       Hit:13 http://dl.google.com/linux/talkplugin/deb stable Release                   Ign:14 https://apt.dockerproject.org/repo ubuntu-wily InRelease           Hit:15 https://apt.dockerproject.org/repo ubuntu-wily Release             Get:16 http://dl.google.com/linux/chrome/deb stable Release.gpg [181 B]   Hit:17 http://linux.dropbox.com/ubuntu wily Release                                   Get:20 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,191 B] Fetched 98.0 kB in 0s (118 kB/s)                                  Reading package lists... Done N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'   This cuts across various releases of ubuntu
111555
I ran this command in the Terminal:  sudo apt-get update   Updating ends with the following error report:  W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key &lt;ftpmaster@ubuntu.com&gt;  W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 4C1CBC1B69B0E2F4 Launchpad PPA for Jonathan French W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release     What does this mean and why is it happening?
29717
Whenever I try to install or remove something using terminal it gives the following error message:  bluebird@bluebird:~$ sudo apt-get update sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins bluebird@bluebird:~$ sudo apt-get remove vlc sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins bluebird@bluebird:~$ sudo apt-get install apt-file sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins
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?
7338
After I made a system upgrade (apt-get upgrade) on a debian box, I get an error everytime i tries to use apt-get. Example:  # apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up initscripts (2.88dsf-41+deb7u1) ... insserv: Service killprocs has to be enabled to start service single insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing initscripts (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  initscripts E: Sub-process /usr/bin/dpkg returned an error code (1)   I have tried to find a solution, but can't find anything that looks like this. First of all I have this packet which is "not fully installed or removed". But I can't find the command to locate it. Have tried:  dpkg -l | grep rc   But it list about 20 packets, so there must be a better way to find this packet.  To fix the packet system I have tried normal procedures, like:  apt-get clean &amp;&amp; sudo apt-get autoremove  apt-get -f install dpkg --configure -a   The clean command is good, but the install command will fail with as shown above.  In a desperate try, I tried to reinstall insserv (not sure it's the packet which is broken), but it fails the same way:  # apt-get install --reinstall insserv Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded. 1 not fully installed or removed. Need to get 63.8 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian/ wheezy/main insserv armel 1.14.0-5 [63.8 kB] Fetched 63.8 kB in 0s (85.5 kB/s) Setting up initscripts (2.88dsf-41+deb7u1) ... insserv: Service killprocs has to be enabled to start service single insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing initscripts (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  initscripts E: Sub-process /usr/bin/dpkg returned an error code (1)
65306
I am trying to apt-get update but it gets stuck on   0% [Connecting to ph.archive.ubuntu.com (202.90.159.172)]  and after a couple of minutes it gives me the following:  Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]      Hit:2 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease Err:3 http://ph.archive.ubuntu.com/ubuntu xenial InRelease                        Could not connect to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80] Err:4 http://ph.archive.ubuntu.com/ubuntu xenial-updates InRelease   Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80] Err:5 http://ph.archive.ubuntu.com/ubuntu xenial-backports InRelease   Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80] Fetched 102 kB in 2min 0s (846 B/s)                       Reading package lists... Done W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Could not connect to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80] W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80] W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80] W: Some index files failed to download. They have been ignored, or old ones used instead.   I have tried disabling IPV6 connection as described  but it doesn't seem to fix the problem. What should I do? I'm an Ubuntu newb and using 16.04.
54460
I tried re-installing  it but it simply keeps giving me this error in a little window. When I close it, an identical error pops up some 3 seconds later without any new provocation.
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.
104415
When building a bash file to execute I keep getting an error after adding a new line. I have tried moving some lines around or removing some of the packages but it will results in the same error. In the file if I was to remove 3 and 4 it there will no longer be an error.   E: Unable to locate package &lt;package&gt;   The bash file looks like this   #!/usr/bin/env bash sudo apt update &amp;&amp; sudo apt install -y python3-pip build-essential python3-dev python3-setuptools gcc sshpass sudo apt-get install apt-transport-https lsb-release software-properties-common dirmngr sudo apt-get update   The output with the error  Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                   Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                                             Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                       Fetched 252 kB in 1s (189 kB/s)     Reading package lists... Done Building dependency tree        Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package sshpass Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package dirmngr Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                   Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                                             Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                       Fetched 252 kB in 1s (209 kB/s)     Reading package lists... Done
19570
sudo apt update &amp;&amp; sudp apt upgrade -y now shows the error message E:The package linux-modules-5.4.0-56-generic needs to be reinstalled. But I can't find an archive for it.  and nothing proceeds. How can I fix this problem? Thanks.
118143
After executing this command  sudo apt-get update &amp;&amp; sudo apt-get -y upgrade   I get this error  W: The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release file. 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.   I've seen past inquiries on same issue but the answers given are specific to other repositories.  Any help will be appreciated.
75437
I am using a transparent proxy (other box). When I try to do an 'apt-get update' I get these warnings (in german):  ...  W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/source/Sources.gz  503  Service Unavailable  W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/source/Sources.gz  503  Service Unavailable  W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/source/Sources.gz  503  Service Unavailable  W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/main/binary-i386/Packages.gz  503  Service Unavailable  W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/binary-i386/Packages.gz  503  Service Unavailable  W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/binary-i386/Packages.gz  503  Service Unavailable  E: Einige Indexdateien konnten nicht heruntergeladen werden, sie wurden ignoriert oder alte an ihrer Stelle benutzt.   I changed ~.bashrc:  http_proxy=http://192.168.120.199:8080 https_proxy=https://192.168.120:8080 export http_proxy export https_proxy   I wrote on commandline:  export http_proxy=http://proxyusername:proxypassword@proxyaddress:proxyport sudo apt-get update   And I edited /etc/apt/apt.conf:  Acquire::http::proxy "http://192.168.120.199:8080/"; Acquire::ftp::proxy "http://192.168.120.199:8080/";   Nothing has worked.  Does anyone knows how to make apt-get working through a transparent proxy?  Regards,  ubuntu2man
20545
I tried installing VLC Player yesterday, and I got the Requires installation of untrusted packages error.  I searched for hours for a solution to this problem, and finally came upon a suggestion that said to change servers for downloading updates from.  I did this, and it gave me a 404 error when I clicked on "Check" in the Update Manager.  I tried switching my server back to the main one (and after that, several other ones), but I am now still getting a 404 error:   And the other error I get when downloading or updating:   Edit: Output of cat /etc/apt/sources.list:  deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted #Added by software-properties  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse universe #Added by software-properties  ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe #Added by software-properties  ## 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://us.archive.ubuntu.com/ubuntu/ precise universe deb http://us.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.  ## 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://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse #Added by software-properties  deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security restricted main multiverse universe #Added by software-properties deb http://us.archive.ubuntu.com/ubuntu/ precise-security universe  ## 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.
122445
I am using Ansible to install the Nginx packages on my Slave1 server from Master server (Note- both Master &amp; Slave server's are having Ubuntu 18.04 and i am running these inside Docker containers), but everytime i am running the Ansible command to do this, getting below error. I am stuck here, what is the solution for this. Please heklp me in debugging this issue.  root@afb19093484e:/# ansible Slave1 -m apt -a "name=nginx state=present"   172.17.0.3 | FAILED! =&gt; {     "changed": false,      "cmd": "apt-get update",      "msg": "E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 3d 21h 33min 13s). Updates for this repository will not be applied.\nE: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 3d 23h 23min 36s). Updates for this repository will not be applied.",      "rc": 100,      "stderr": "E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 3d 21h 33min 13s). Updates for this repository will not be applied.\nE: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 3d 23h 23min 36s). Updates for this repository will not be applied.\n",      "stderr_lines": [         "E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 3d 21h 33min 13s). Updates for this repository will not be applied.",      ],
25359
I have followed all the instructions on .  In particular, I have run the following commands: sudo dpkg --add-architecture i386  wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'   The first three of the above seemed to work fine.  However, the last command gives me the following error: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  winehq-stable : Depends: wine-stable (= 5.0.0~bionic) E: Unable to correct problems, you have held broken packages.  I'm running Lubuntu 18.04.3 on a USB live stick.  (However, if I remember correctly, a couple days ago I got the exact same error on a normal hard disk Lubuntu 18.04.3 installation.) I've read that a lot of people get similar errors.  Unfortunately I haven't found any solutions online that worked. Any help would be much appreciated.  Thanks! EDIT:  Thanks for the comments and suggestions everyone.  I'll try them out later today. In the mean time, here's something I don't understand.  Ubuntu 18.04 has been around for almost two years now.  In all that time, surely somebody has successfully installed wine, right?  What did they do to get it working?
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
70813
I don't know what caused the following to happen:    The content of /etc/apt/sources-list.d/mono-xamarin.list is sudo apt-get update.