Coder Social home page Coder Social logo

GPG error. about docker-brew-ubuntu-core HOT 2 CLOSED

tianon avatar tianon commented on June 21, 2024
GPG error.

from docker-brew-ubuntu-core.

Comments (2)

yosifkit avatar yosifkit commented on June 21, 2024

Have you done a docker pull recently? We normally do not recommend run apt-get upgrade in a container (see http://crosbymichael.com/dockerfile-best-practices-take-2.html), but I was unable to reproduce the error:

$ docker pull ubuntu:16.04
16.04: Pulling from library/ubuntu
5ba4f30e5bea: Already exists 
9d7d19c9dc56: Already exists 
ac6ad7efd0f9: Already exists 
e7491a747824: Already exists 
a3ed95caeb02: Already exists 
Digest: sha256:f5edf3b741a08b573eca6bf25257847613540538a17b86e2b76e14724a0be68a
Status: Downloaded newer image for ubuntu:16.04
$ docker run -it --rm ubuntu:16.04
root@55e819f4a1b8:/# apt-get update && apt-get upgrade -yf && apt-get clean && apt-get autoremove
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main Sources [1103 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [5179 B]
Get:6 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9802 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]      
Get:8 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [80.6 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [40 B]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [26.4 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [261 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [40 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [107 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [26.0 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [40 B]
Get:18 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [5069 B]
Get:19 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [101 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [40 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [21.8 kB]
Fetched 23.4 MB in 1s (14.4 MB/s)                           
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apt gcc-5-base grep init init-system-helpers libapt-pkg5.0 libstdc++6
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2333 kB of archives.
After this operation, 13.3 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grep amd64 2.25-1~16.04.1 [153 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 init-system-helpers all 1.29ubuntu2 [32.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 init amd64 1.29ubuntu2 [4520 B]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gcc-5-base amd64 5.3.1-14ubuntu2.1 [16.8 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++6 amd64 5.3.1-14ubuntu2.1 [393 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-pkg5.0 amd64 1.2.12~ubuntu16.04.1 [696 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt amd64 1.2.12~ubuntu16.04.1 [1038 kB]
Fetched 2333 kB in 0s (125 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 7256 files and directories currently installed.)
Preparing to unpack .../grep_2.25-1~16.04.1_amd64.deb ...
Unpacking grep (2.25-1~16.04.1) over (2.24-1) ...
Setting up grep (2.25-1~16.04.1) ...
(Reading database ... 7256 files and directories currently installed.)
Preparing to unpack .../init-system-helpers_1.29ubuntu2_all.deb ...
Unpacking init-system-helpers (1.29ubuntu2) over (1.29ubuntu1) ...
Setting up init-system-helpers (1.29ubuntu2) ...
(Reading database ... 7256 files and directories currently installed.)
Preparing to unpack .../init_1.29ubuntu2_amd64.deb ...
Unpacking init (1.29ubuntu2) over (1.29ubuntu1) ...
Setting up init (1.29ubuntu2) ...
(Reading database ... 7256 files and directories currently installed.)
Preparing to unpack .../gcc-5-base_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking gcc-5-base:amd64 (5.3.1-14ubuntu2.1) over (5.3.1-14ubuntu2) ...
Setting up gcc-5-base:amd64 (5.3.1-14ubuntu2.1) ...
(Reading database ... 7256 files and directories currently installed.)
Preparing to unpack .../libstdc++6_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libstdc++6:amd64 (5.3.1-14ubuntu2.1) over (5.3.1-14ubuntu2) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up libstdc++6:amd64 (5.3.1-14ubuntu2.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
(Reading database ... 7256 files and directories currently installed.)
Preparing to unpack .../libapt-pkg5.0_1.2.12~ubuntu16.04.1_amd64.deb ...
Unpacking libapt-pkg5.0:amd64 (1.2.12~ubuntu16.04.1) over (1.2.10ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up libapt-pkg5.0:amd64 (1.2.12~ubuntu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
(Reading database ... 7256 files and directories currently installed.)
Preparing to unpack .../apt_1.2.12~ubuntu16.04.1_amd64.deb ...
Unpacking apt (1.2.12~ubuntu16.04.1) over (1.2.10ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up apt (1.2.12~ubuntu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@55e819f4a1b8:/# 

from docker-brew-ubuntu-core.

bibor avatar bibor commented on June 21, 2024

I somehow fixed the problem booting into a kernel without apparmor, which is weird because the docker profile was in complain mode.
Even the problem only occoured with ubuntu images, it seems to be a problem between docker and apparmor.

from docker-brew-ubuntu-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.