Dokku: Installation Error - E: There were unauthenticated packages and -y was used without --allow-unauthenticated

Created on 8 Jan 2019  路  3Comments  路  Source: dokku/dokku

sudo DOKKU_TAG=v0.13.4 bash bootstrap.sh

Preparing to install v0.13.4 from https://github.com/dokku/dokku.git...
--> Ensuring we have the proper dependencies
--> Initial apt-get update
--> Installing docker
# Executing docker install script, commit: 4957679
2019-01-08 09:51:52 URL:https://get.docker.com/ [13380/13380] -> "-" [1]
+ sh -c apt-get update -qq >/dev/null
+ sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
+ sh -c echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial edge" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
+ sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
+ sh -c docker version
Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:48:57 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:16:44 2018
  OS/Arch:          linux/amd64
  Experimental:     false
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

  sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

WARNING: Adding a user to the "docker" group will grant the ability to run
         containers which can be used to obtain root privileges on the
         docker host.
         Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
         for more information.
--> Installing dokku
2019-01-08 09:52:17 URL:https://packagecloud.io/gpg.key [3889/3889] -> "-" [1]
OK
deb https://packagecloud.io/dokku/dokku/ubuntu/ xenial main
W: GPG error: https://packagecloud.io/dokku/dokku/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FB2B6AA421CD193F
W: The repository 'https://packagecloud.io/dokku/dokku/ubuntu xenial InRelease' is not signed.
WARNING: The following packages cannot be authenticated!
  plugn sshcommand gliderlabs-sigil procfile-util dokku herokuish dokku-update
E: There were unauthenticated packages and -y was used without --allow-unauthenticated

E: There were unauthenticated packages and -y was used without --allow-unauthenticated

Most helpful comment

look like the GPG of packagecloud.io not setup correct.
I resolved it by

curl -s https://packagecloud.io/install/repositories/dokku/dokku/script.deb.sh | sudo bash

More information
https://packagecloud.io/dokku/dokku/packages/ubuntu/bionic/dokku_0.13.4_amd64.deb

All 3 comments

look like the GPG of packagecloud.io not setup correct.
I resolved it by

curl -s https://packagecloud.io/install/repositories/dokku/dokku/script.deb.sh | sudo bash

More information
https://packagecloud.io/dokku/dokku/packages/ubuntu/bionic/dokku_0.13.4_amd64.deb

Thanks for the issue!

@josegonzalez Thank you always provide quick support.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Cellane picture Cellane  路  3Comments

thelonecabbage picture thelonecabbage  路  4Comments

christiangenco picture christiangenco  路  5Comments

chrisdobler picture chrisdobler  路  3Comments

josegonzalez picture josegonzalez  路  3Comments