Skip to content

invoke-rc.d: could not determine current runlevel #86

@vsrucha

Description

@vsrucha

RUN apt-get update
&& apt-get install -y --no-install-recommends --no-install-suggests
openssh-server curl zip unzip wget git/bullseye-backports git-man/bullseye-backports logrotate
bzip2 xz-utils \

for this command i am getting below error while building dockerfile.

invoke-rc.d: could not determine current runlevel
#0 19.83 /usr/sbin/invoke-rc.d: 1: /usr/sbin/policy-rc.d: not found
#0 19.84 invoke-rc.d: WARNING: policy-rc.d returned unexpected error status 127, 102 used instead.
#0 19.84 invoke-rc.d: policy-rc.d returned error status 102
#0 19.87 dpkg: error processing package openssh-server (--configure):
#0 19.87 installed openssh-server package post-installation script subprocess returned error exit status 1

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions