Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with dpkg package prevent from installing/upgrading kube-bench #925

Closed
marcinbojko opened this issue Jul 4, 2021 · 1 comment · Fixed by #929
Closed

Problems with dpkg package prevent from installing/upgrading kube-bench #925

marcinbojko opened this issue Jul 4, 2021 · 1 comment · Fixed by #929
Assignees
Labels

Comments

@marcinbojko
Copy link

marcinbojko commented Jul 4, 2021

Overview

[A clear and concise description of what the bug is]
During the installation/upgrade of kube-bench*.deb package several errors appear.

sudo dpkg -i kube-bench_0.6.3_linux_amd64.deb

What happened?
Error #1

dpkg: warning: parsing file '/var/lib/dpkg/status' near line 25638 package 'kube-bench':
 missing 'Maintainer' field

Error #2

Preparing to unpack kube-bench_0.6.3_linux_amd64.deb ...
Unpacking kube-bench (0.6.3) over (0.5.0) ...
dpkg: error processing archive kube-bench_0.6.3_linux_amd64.deb (--install):
 error creating directory './etc/kube-bench/cfg/eks-1.0': No such file or directory

Looks like extra '.' prevents from installation of a package

Clean install

 sudo dpkg -i kube-bench_0.6.3_linux_amd64.deb
(Reading database ... 1535279 files and directories currently installed.)
Preparing to unpack kube-bench_0.6.3_linux_amd64.deb ...
Unpacking kube-bench (0.6.3) ...
dpkg: error processing archive kube-bench_0.6.3_linux_amd64.deb (--install):
 error creating directory './etc/kube-bench/cfg/eks-1.0': No such file or directory
Errors were encountered while processing:
 kube-bench_0.6.3_linux_amd64.deb

What did you expect to happen:
Flawless installation/upgrade
Filled-in 'Maintainer' field in dpkg package

Environment
Linux Mint 20.x

Anything else you would like to add:
Error related with installation, not actual kube-bench usage.

@yoavrotems yoavrotems self-assigned this Jul 7, 2021
@yoavrotems yoavrotems added the bug label Jul 7, 2021
@yoavrotems yoavrotems linked a pull request Jul 7, 2021 that will close this issue
yoavrotems added a commit that referenced this issue Jul 14, 2021
* Fix Junit missing testsuites 

Fix issue #883 but also bug with overriding output when --outputfile is effective and only write the last controls

* Deprecated files command

* Update .goreleaser.yml

Remove deprecated files, and fix #925
@0x646e78
Copy link

I'm impacted by this also, looking forward to a release which has the fix.

tengqm pushed a commit to tengqm/kube-bench that referenced this issue Aug 24, 2022
* Fix Junit missing testsuites 

Fix issue aquasecurity#883 but also bug with overriding output when --outputfile is effective and only write the last controls

* Deprecated files command

* Update .goreleaser.yml

Remove deprecated files, and fix aquasecurity#925
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants