WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 2766b2b

Browse files
committed
Install jq instead of dstat
dstat package have beeb renamed to pcp since Debian trixie https://packages.debian.org/trixie/ia64/dstat ``` $ docker run --rm -it debian:trixie bash root@710b81c352a7:/# apt-get update root@710b81c352a7:/# apt-get install -y dstat Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'pcp' instead of 'dstat' (snip) done. root@710b81c352a7:/# dpkg -l dstat Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= un dstat <none> <none> (no description available) root@710b81c352a7:/# dpkg -l pcp Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-============================================================== ii pcp 6.3.8-1 arm64 System level performance monitoring and performance management ``` Therefore, I changed package so that it can be installed on both new and old versions of Debian for compatibility.
1 parent 1e35006 commit 2766b2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/integration/default_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
it { should be_file }
1212
end
1313

14-
describe package('dstat') do
14+
describe package('jq') do
1515
it { should be_installed }
1616
end
1717

spec/integration/recipes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
######
4343

44-
package 'dstat' do
44+
package 'jq' do
4545
action :install
4646
end
4747

0 commit comments

Comments
 (0)