apt-get update NO_PUBKEY B4112585D386EB94

Discussion in 'General' started by betafer, Nov 30, 2017.

  1. betafer

    betafer Member

    we got tjhis error on apt-get update
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.hhvm.com jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B4112585D386EB94

    W: Failed to fetch http://dl.hhvm.com/debian/dists/jessie/InRelease

    W: Some index files failed to download. They have been ignored, or old ones used instead.
     
  2. Tuumke

    Tuumke Member

    I had the same error on a fresh instasll :)
    Didnt look into it yet but:
    According to their website, it's still the right key...

    Code:
    sudo apt-get install software-properties-common apt-transport-https
    sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xB4112585D386EB94
    
    sudo add-apt-repository https://dl.hhvm.com/ubuntu
    sudo apt-get update
    sudo apt-get install hhvm
    Apparently, you can retreive the key 'manually' according to this topic
    -edit-
    I noticed the tutorial(s) need an updte since the tutorial(s) have a different key ;)
    @till or @sjau i dont know how manages the tutorials?
     
    Last edited: Dec 3, 2017
    etruel, SupuS, ahrasis and 1 other person like this.
  3. betafer

    betafer Member

    Thanks @Tuumke
    better wait for till answer for keys .. ?
     
  4. Tuumke

    Tuumke Member

    Huh what?
     
    till likes this.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no need to wait, just use a method that works like Tuumke suggested. The project seems to have altered it's key but did not update it in their own documentation, that's all.
     
  6. zenny

    zenny Member

    In newly installed PM5.1, only the manual method worked as follows:


    Code:
    [email protected]:~# curl https://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add -
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  2100  100  2100    0     0   1311      0  0:00:01  0:00:01 --:--:--  1311
    OK
    
    [email protected]:~# apt-key finger '[email protected]'
    pub   rsa4096 2017-11-03 [SC]
          0583 41C6 8FC8 DE60 17D7  75A1 B411 2585 D386 EB94
    uid           [ unknown] HHVM Package Signing <[email protected]>
     

Share This Page