I AM TRYING to install code and Linux always comes up with new error messages. It is kind of amazing when you think about it but I read a new kind of error message on Linux at least once a month. I wonder who is in charge of writing Linux error messages? Anyways the below occurs when I try to install visual studio code:
[main@localhost ~]$ sudo snap install --classic code
[sudo] password for main:
Sorry, try again.
[sudo] password for main:
error: too early for operation, device not yet seeded or device model not acknowledged
I am just interested into what this means and why did the coders decided to write this error message.
I thought maybe snapd may not have been installed so I did the following and received:
[main@localhost ~]$ sudo snap install --classic code
[sudo] password for main:
Sorry, try again.
[sudo] password for main:
error: too early for operation, device not yet seeded or device model not acknowledged
[main@localhost ~]$ sudo snap install --classic code
2023-01-23T06:15:12-05:00 INFO Waiting for automatic snapd restart...
error: cannot perform the following tasks:
- Download snap "code" (117) from channel "stable" (read tcp 10.135.38.6:42636->91.189.91.43:443: read: connection reset by peer)
[main@localhost ~]$ sudo dnf install epel-release
[sudo] password for main:
Last metadata expiration check: 0:17:18 ago on Mon 23 Jan 2023 06:05:31 AM EST.
Package epel-release-9-4.el9.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[main@localhost ~]$ sudo dnf upgrade
Last metadata expiration check: 0:17:25 ago on Mon 23 Jan 2023 06:05:31 AM EST.
Dependencies resolved.
Nothing to do.
Complete!
[main@localhost ~]$ sudo yum install snapd
Last metadata expiration check: 0:17:32 ago on Mon 23 Jan 2023 06:05:31 AM EST.
Package snapd-2.57.6-2.el9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[main@localhost ~]$ sudo systemctl enable --now snapd.socket
[main@localhost ~]$ sudo ln -s /var/lib/snapd/snap /snap
[main@localhost ~]$ sudo snap install --classical code
error: unknown flag `classical'
[main@localhost ~]$ sudo snap install --classic code
code 97dec172 from Visual Studio Code (vscode✓) installed
[main@localhost ~]$ code
[main@localhost ~]$
SO IT WORKED! But why did I RECEIVE the awkward “too early for process” error just for reference and to learn something?