Closed zhong-ys closed 5 months ago
@zhong-ys There is filtering activated on the apt package list.
You can see which packages are included by running the following command:
tedge config get apt.name
(tedge|c8y|python|wget|vim|curl|apt|mosquitto|ssh|sudo).*
The reason for the filtering is that without it, you get way too many uninteresting packages. Currently only an inclusive filter is supported but there is a ticket for exclusive filtering (https://github.com/thin-edge/thin-edge.io/issues/2848) ... this will make it easier to exclude libraries and kernel modules (as this makes up about 90% of the installed packages list).
So for now, you can either just remove the default apt filter, or extend it to your liking.
This is where the default value is coming from (for the systemd enable container): https://github.com/thin-edge/tedge-demo-container/blob/f0ce795f501dd8cf8b7ae8c61f0dfaa31df41fa0/images/common/config/tedge.toml#L15
Thank you for your detailed explanation! I will close this issue.
The software list is only showing part of the result of 'apt list'.
After installing a new software, it won't listed in the Installed software list, even if the installation was succeed.
Restart containers cannot solve this.