Giter Club home page Giter Club logo

Comments (2)

yosifkit avatar yosifkit commented on June 30, 2024 1

It was intentionally left out of wheezy when the Debian images were first created, since the images are meant to be fairly equivalent to a debootstrap --variant=minbase. Short discussion starting here; issue reported also in tianon/docker-brew-debian#13.

It looks like the packages required by apt plus the Priority: required packages (i.e. the minbase package list) changed during jessie and is now fixed again in stretch. I believe the culprit that pulled in procps for jessie is udev.

Here is a comparison of packages in wheezy vs jessie:

diff --git a/dev/fd/63 b/dev/fd/62
--- a/dev/fd/63
+++ b/dev/fd/62
@@ -1,3 +1,5 @@
+acl
+adduser
 apt
 base-files
 base-passwd
@@ -10,50 +12,69 @@ debconf-i18n
 debian-archive-keyring
 debianutils
 diffutils
+dmsetup
 dpkg
 e2fslibs:amd64
 e2fsprogs
 findutils
-gcc-4.7-base:amd64
+gcc-4.8-base:amd64
+gcc-4.9-base:amd64
 gnupg
 gpgv
 grep
 gzip
 hostname
 inetutils-ping
+init
 initscripts
 insserv
-iproute
+iproute2
 libacl1:amd64
 libapt-pkg4.12:amd64
 libattr1:amd64
+libaudit-common
+libaudit1:amd64
 libblkid1:amd64
 libbz2-1.0:amd64
 libc-bin
 libc6:amd64
+libcap2:amd64
+libcap2-bin
 libcomerr2:amd64
-libdb5.1:amd64
+libcryptsetup4:amd64
+libdb5.3:amd64
+libdebconfclient0:amd64
+libdevmapper1.02.1:amd64
 libgcc1:amd64
+libgcrypt20:amd64
+libgpg-error0:amd64
+libkmod2:amd64
 liblocale-gettext-perl
 liblzma5:amd64
-libmount1
+libmount1:amd64
 libncurses5:amd64
+libncursesw5:amd64
 libpam-modules:amd64
 libpam-modules-bin
 libpam-runtime
 libpam0g:amd64
+libpcre3:amd64
+libprocps3:amd64
 libreadline6:amd64
 libselinux1:amd64
 libsemanage-common
 libsemanage1:amd64
 libsepol1:amd64
 libslang2:amd64
+libsmartcols1:amd64
 libss2:amd64
 libstdc++6:amd64
+libsystemd0:amd64
 libtext-charwidth-perl
 libtext-iconv-perl
 libtext-wrapi18n-perl
 libtinfo5:amd64
+libudev1:amd64
 libusb-0.1-4:amd64
 libustr-1.0-1:amd64
 libuuid1:amd64
@@ -67,14 +88,17 @@ ncurses-bin
 netbase
 passwd
 perl-base
+procps
 readline-common
 sed
 sensible-utils
+startpar
+systemd
+systemd-sysv
 sysv-rc
-sysvinit
 sysvinit-utils
 tar
 tzdata
+udev
 util-linux
-xz-utils
 zlib1g:amd64

And here is the comparison from jessie to stretch:

diff --git a/dev/fd/63 b/dev/fd/62
--- a/dev/fd/63
+++ b/dev/fd/62
@@ -1,4 +1,3 @@
-acl
 adduser
 apt
 base-files
@@ -8,29 +7,23 @@ bsdutils
 coreutils
 dash
 debconf
-debconf-i18n
 debian-archive-keyring
 debianutils
 diffutils
-dmsetup
 dpkg
 e2fslibs:amd64
 e2fsprogs
 findutils
-gcc-4.8-base:amd64
-gcc-4.9-base:amd64
-gnupg
+gcc-6-base:amd64
 gpgv
 grep
 gzip
 hostname
 inetutils-ping
-init
-initscripts
-insserv
+init-system-helpers
 iproute2
 libacl1:amd64
-libapt-pkg4.12:amd64
+libapt-pkg5.0:amd64
 libattr1:amd64
 libaudit-common
 libaudit1:amd64
@@ -38,44 +31,35 @@ libblkid1:amd64
 libbz2-1.0:amd64
 libc-bin
 libc6:amd64
-libcap2:amd64
-libcap2-bin
+libcap-ng0:amd64
 libcomerr2:amd64
-libcryptsetup4:amd64
 libdb5.3:amd64
 libdebconfclient0:amd64
-libdevmapper1.02.1:amd64
+libelf1:amd64
+libfdisk1:amd64
 libgcc1:amd64
 libgcrypt20:amd64
 libgpg-error0:amd64
-libkmod2:amd64
-liblocale-gettext-perl
+liblz4-1:amd64
 liblzma5:amd64
+libmnl0:amd64
 libmount1:amd64
-libncurses5:amd64
 libncursesw5:amd64
 libpam-modules:amd64
 libpam-modules-bin
 libpam-runtime
 libpam0g:amd64
 libpcre3:amd64
-libprocps3:amd64
-libreadline6:amd64
 libselinux1:amd64
 libsemanage-common
 libsemanage1:amd64
 libsepol1:amd64
-libslang2:amd64
 libsmartcols1:amd64
 libss2:amd64
 libstdc++6:amd64
 libsystemd0:amd64
-libtext-charwidth-perl
-libtext-iconv-perl
-libtext-wrapi18n-perl
 libtinfo5:amd64
 libudev1:amd64
-libusb-0.1-4:amd64
 libustr-1.0-1:amd64
 libuuid1:amd64
 login
@@ -88,17 +72,10 @@ ncurses-bin
 netbase
 passwd
 perl-base
-procps
-readline-common
 sed
 sensible-utils
-startpar
-systemd
-systemd-sysv
-sysv-rc
 sysvinit-utils
 tar
 tzdata
-udev
 util-linux
 zlib1g:amd64

from debuerreotype.

LLFourn avatar LLFourn commented on June 30, 2024

@yosifkit Thanks for that. Makes it very clear what has happened.

It seems that pidof, which is also in procps-ng has been special cased into the sysvinit-utils package. I wonder if it would be worth making the case somewhere that ps should be special cased into an essential package of some sort. It seems pretty essential to me given that it's one of the core UNIX utilities.

Closing since this is an upstream issue.

from debuerreotype.

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.