![为什么通过 apt 安装时系统死机?](https://linux22.com/image/221747/%E4%B8%BA%E4%BB%80%E4%B9%88%E9%80%9A%E8%BF%87%20apt%20%E5%AE%89%E8%A3%85%E6%97%B6%E7%B3%BB%E7%BB%9F%E6%AD%BB%E6%9C%BA%EF%BC%9F.png)
我已经安装了sysstat
用于apt install sysstat
检查内部统计数据的软件。然而,该部分期间系统冻结了大约 10-15 分钟Creating config file /etc/default/sysstat with new version
。这是正常行为吗?
目的是什么/etc/default/sysstat
?
我的环境是Linux cesar 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux
.
root@cesar:~# apt install sysstat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
docker-scan-plugin linux-image-5.10.0-16-amd64
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libsensors-config libsensors5
Suggested packages:
lm-sensors isag
The following NEW packages will be installed:
libsensors-config libsensors5 sysstat
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/688 kB of archives.
After this operation, 2,129 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package libsensors-config.
(Reading database ... 42513 files and directories currently installed.)
Preparing to unpack .../libsensors-config_1%3a3.6.0-7_all.deb ...
Unpacking libsensors-config (1:3.6.0-7) ...
Selecting previously unselected package libsensors5:amd64.
Preparing to unpack .../libsensors5_1%3a3.6.0-7_amd64.deb ...
Unpacking libsensors5:amd64 (1:3.6.0-7) ...
Selecting previously unselected package sysstat.
Preparing to unpack .../sysstat_12.5.2-2_amd64.deb ...
Unpacking sysstat (12.5.2-2) ...
Setting up libsensors-config (1:3.6.0-7) ...
Setting up libsensors5:amd64 (1:3.6.0-7) ...
Setting up sysstat (12.5.2-2) ...
Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /lib/systemd/system/sysstat-collect.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /lib/systemd/system/sysstat-summary.timer.
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service.
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u6) ...