Issue:-
WWhen installing the terragrunt using the snap got the following error
Error:-
error: too early for operation, device not yet seeded or device model not acknowledged
Effect:-
Was not able to install the terragrunt as installation failed at that very moment.
[root@aafe920be71c ~]# snap install terragrunt
error: too early for operation, device not yet seeded or device model not acknowledged
Resolution:-
Follow the following steps to resolve the issue
1. Try checking the status of the snapd service which was inactive in my case
[root@aafe920be71c ~]# systemctl status snapd.seeded.service
● snapd.seeded.service - Wait until snapd is fully seeded
Loaded: loaded (/usr/lib/systemd/system/snapd.seeded.service; disabled; vendor preset: disabled)
Active: inactive (dead)
2. Now start the snapd service as
[root@aafe920be71c ~]# systemctl status snapd.seeded.service ● snapd.seeded.service - Wait until snapd is fully seeded Loaded: loaded (/usr/lib/systemd/system/snapd.seeded.service; disabled; vendor preset: disabled) Active: active (exited) since Mon 2022-07-18 16:12:34 UTC; 2s ago Process: 6425 ExecStart=/usr/bin/snap wait system seed.loaded (code=exited, status=0/SUCCESS) Main PID: 6425 (code=exited, status=0/SUCCESS) Jul 18 16:12:33 aafe920be71c.mylabserver.com systemd[1]: Starting Wait until snapd is fully seeded... Jul 18 16:12:34 aafe920be71c.mylabserver.com systemd[1]: Started Wait until snapd is fully seeded.[root@aafe920be71c ~]# snap install terragrunt 2022-07-18T16:13:10Z INFO Waiting for automatic snapd restart...
terragrunt 0+git.ae675d6 from dt9394 (terraform-snap) installed
Explanation:-
snapd service was not running due to which the snapd has failed to install the package and given the above error.
0 comments:
Post a Comment