Unable to install qabro

Bug #1828374 reported by Erin Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Expired
Undecided
Unassigned

Bug Description

u@u:~$ sudo snap install qabro --devmode
error: too early for operation, device not yet seeded or device model not acknowledged
u@u:~$ snap version
snap 2.38+18.04
snapd 2.38+18.04
series 16
ubuntu 18.04
kernel 5.0.0-1004-oem-osp1
u@u:~$ snap changes
ID Status Spawn Ready Summary
1 Doing 2 days ago, at 04:16 EDT - Initialize system state

u@u:~$ snap tasks 1
Status Spawn Ready Summary
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Ensure prerequisites for "core" are available
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Prepare snap "/var/lib/snapd/seed/snaps/core_6673.snap" (6673)
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Mount snap "core" (6673)
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Copy snap "core" data
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Setup snap "core" (6673) security profiles
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Make snap "core" (6673) available to the system
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Automatically connect eligible plugs and slots of snap "core"
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Set automatic aliases for snap "core"
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Setup snap "core" aliases
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Run install hook of "core" snap if present
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Start snap "core" (6673) services
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Run configure hook of "core" snap if present
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Ensure prerequisites for "gnome-3-26-1604" are available
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Prepare snap "/var/lib/snapd/seed/snaps/gnome-3-26-1604_82.snap" (82)
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Mount snap "gnome-3-26-1604" (82)
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Copy snap "gnome-3-26-1604" data
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Setup snap "gnome-3-26-1604" (82) security profiles
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Make snap "gnome-3-26-1604" (82) available to the system
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Automatically connect eligible plugs and slots of snap "gnome-3-26-1604"
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Set automatic aliases for snap "gnome-3-26-1604"
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Setup snap "gnome-3-26-1604" aliases
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Run install hook of "gnome-3-26-1604" snap if present
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Start snap "gnome-3-26-1604" (82) services
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Run configure hook of "gnome-3-26-1604" snap if present
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Ensure prerequisites for "gtk-common-themes" are available
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Prepare snap "/var/lib/snapd/seed/snaps/gtk-common-themes_1198.snap" (1198)
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Mount snap "gtk-common-themes" (1198)
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Copy snap "gtk-common-themes" data
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Setup snap "gtk-common-themes" (1198) security profiles
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Make snap "gtk-common-themes" (1198) available to the system
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Automatically connect eligible plugs and slots of snap "gtk-common-themes"
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Set automatic aliases for snap "gtk-common-themes"
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Setup snap "gtk-common-themes" aliases
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Run install hook of "gtk-common-themes" snap if present
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Start snap "gtk-common-themes" (1198) services
Done 2 days ago, at 04:16 EDT 2 days ago, at 04:16 EDT Run configure hook of "gtk-common-themes" snap if present
Doing 2 days ago, at 04:16 EDT - Ensure prerequisites for "gnome-calculator" are available
Do 2 days ago, at 04:16 EDT - Prepare snap "/var/lib/snapd/seed/snaps/gnome-calculator_406.snap" (406)
Do 2 days ago, at 04:16 EDT - Mount snap "gnome-calculator" (406)
Do 2 days ago, at 04:16 EDT - Copy snap "gnome-calculator" data
Do 2 days ago, at 04:16 EDT - Setup snap "gnome-calculator" (406) security profiles
Do 2 days ago, at 04:16 EDT - Make snap "gnome-calculator" (406) available to the system
Do 2 days ago, at 04:16 EDT - Automatically connect eligible plugs and slots of snap "gnome-calculator"
Do 2 days ago, at 04:16 EDT - Set automatic aliases for snap "gnome-calculator"
Do 2 days ago, at 04:16 EDT - Setup snap "gnome-calculator" aliases
Do 2 days ago, at 04:16 EDT - Run install hook of "gnome-calculator" snap if present
Do 2 days ago, at 04:16 EDT - Start snap "gnome-calculator" (406) services
Do 2 days ago, at 04:16 EDT - Run configure hook of "gnome-calculator" snap if present
Do 2 days ago, at 04:16 EDT - Ensure prerequisites for "gnome-characters" are available
Do 2 days ago, at 04:16 EDT - Prepare snap "/var/lib/snapd/seed/snaps/gnome-characters_254.snap" (254)
Do 2 days ago, at 04:16 EDT - Mount snap "gnome-characters" (254)
Do 2 days ago, at 04:16 EDT - Copy snap "gnome-characters" data
Do 2 days ago, at 04:16 EDT - Setup snap "gnome-characters" (254) security profiles
Do 2 days ago, at 04:16 EDT - Make snap "gnome-characters" (254) available to the system
Do 2 days ago, at 04:16 EDT - Automatically connect eligible plugs and slots of snap "gnome-characters"
Do 2 days ago, at 04:16 EDT - Set automatic aliases for snap "gnome-characters"
Do 2 days ago, at 04:16 EDT - Setup snap "gnome-characters" aliases
Do 2 days ago, at 04:16 EDT - Run install hook of "gnome-characters" snap if present
Do 2 days ago, at 04:16 EDT - Start snap "gnome-characters" (254) services
Do 2 days ago, at 04:16 EDT - Run configure hook of "gnome-characters" snap if present
Do 2 days ago, at 04:16 EDT - Ensure prerequisites for "gnome-logs" are available
Do 2 days ago, at 04:16 EDT - Prepare snap "/var/lib/snapd/seed/snaps/gnome-logs_61.snap" (61)
Do 2 days ago, at 04:16 EDT - Mount snap "gnome-logs" (61)
Do 2 days ago, at 04:16 EDT - Copy snap "gnome-logs" data
Do 2 days ago, at 04:16 EDT - Setup snap "gnome-logs" (61) security profiles
Do 2 days ago, at 04:16 EDT - Make snap "gnome-logs" (61) available to the system
Do 2 days ago, at 04:16 EDT - Automatically connect eligible plugs and slots of snap "gnome-logs"
Do 2 days ago, at 04:16 EDT - Set automatic aliases for snap "gnome-logs"
Do 2 days ago, at 04:16 EDT - Setup snap "gnome-logs" aliases
Do 2 days ago, at 04:16 EDT - Run install hook of "gnome-logs" snap if present
Do 2 days ago, at 04:16 EDT - Start snap "gnome-logs" (61) services
Do 2 days ago, at 04:16 EDT - Run configure hook of "gnome-logs" snap if present
Do 2 days ago, at 04:16 EDT - Ensure prerequisites for "gnome-system-monitor" are available
Do 2 days ago, at 04:16 EDT - Prepare snap "/var/lib/snapd/seed/snaps/gnome-system-monitor_77.snap" (77)
Do 2 days ago, at 04:16 EDT - Mount snap "gnome-system-monitor" (77)
Do 2 days ago, at 04:16 EDT - Copy snap "gnome-system-monitor" data
Do 2 days ago, at 04:16 EDT - Setup snap "gnome-system-monitor" (77) security profiles
Do 2 days ago, at 04:16 EDT - Make snap "gnome-system-monitor" (77) available to the system
Do 2 days ago, at 04:16 EDT - Automatically connect eligible plugs and slots of snap "gnome-system-monitor"
Do 2 days ago, at 04:16 EDT - Set automatic aliases for snap "gnome-system-monitor"
Do 2 days ago, at 04:16 EDT - Setup snap "gnome-system-monitor" aliases
Do 2 days ago, at 04:16 EDT - Run install hook of "gnome-system-monitor" snap if present
Do 2 days ago, at 04:16 EDT - Start snap "gnome-system-monitor" (77) services
Do 2 days ago, at 04:16 EDT - Run configure hook of "gnome-system-monitor" snap if present
Do 2 days ago, at 04:16 EDT - Mark system seeded

......................................................................
Make snap "core" (6673) available to the system

2019-05-07T04:16:32-04:00 INFO Requested daemon restart.

......................................................................
Automatically connect eligible plugs and slots of snap "core"

2019-05-07T04:16:32-04:00 INFO Waiting for restart...
2019-05-07T04:16:33-04:00 INFO Waiting for restart...

u@u:~$

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This bug can happen when:

- snapd is asked to seed a snap "foo"
- snapd sees that the snap "foo" depends on a base snap "bar"
- the snap "bar" is not present in the seed

In this case it seems that "core18" is not in the seed. Can you please check /var/lib/snapd/seed/seed.yaml

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Perhaps you can abort that change (snap abort 1), stop snapd, edit the seed to include the extra core18 snap, add the snap and the assertions to the seed directory and restart snapd.

Revision history for this message
Danny Hsu (dannyhsu) wrote :
Download full text (10.1 KiB)

Also met the same issue on another HP system.

u@u:~$ sudo snap install qabro --devmode
[sudo] password for u:
error: too early for operation, device not yet seeded or device model not acknowledged
u@u:~$ snap version
snap 2.38.1
snapd 2.38.1
series 16
ubuntu 18.04
kernel 4.15.0-1036-oem
u@u:~$ snap changes
ID Status Spawn Ready Summary
1 Doing 4 days ago, at 19:38 EDT - Initialize system state

u@u:~$ snap tasks 1
Status Spawn Ready Summary
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:38 EDT Ensure prerequisites for "core" are available
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:38 EDT Prepare snap "/var/lib/snapd/seed/snaps/core_6818.snap" (6818)
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:38 EDT Mount snap "core" (6818)
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:38 EDT Copy snap "core" data
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:38 EDT Setup snap "core" (6818) security profiles
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Make snap "core" (6818) available to the system
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Automatically connect eligible plugs and slots of snap "core"
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Set automatic aliases for snap "core"
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Setup snap "core" aliases
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Run install hook of "core" snap if present
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Start snap "core" (6818) services
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Run configure hook of "core" snap if present
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Ensure prerequisites for "gnome-3-26-1604" are available
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Prepare snap "/var/lib/snapd/seed/snaps/gnome-3-26-1604_82.snap" (82)
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Mount snap "gnome-3-26-1604" (82)
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Copy snap "gnome-3-26-1604" data
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Setup snap "gnome-3-26-1604" (82) security profiles
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Make snap "gnome-3-26-1604" (82) available to the system
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Automatically connect eligible plugs and slots of snap "gnome-3-26-1604"
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Set automatic aliases for snap "gnome-3-26-1604"
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Setup snap "gnome-3-26-1604" aliases
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Run install hook of "gnome-3-26-1604" snap if present
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Start snap "gnome-3-26-1604" (82) services
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Run configure hook of "gnome-3-26-1604" snap if present
Done 4 days ago, at 19:38 EDT 4 days ago, at 19:39 EDT Ensure prerequisites for "gtk-common-themes" are available
...

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

It seems to imply that some OEM systems are either evaluated or have shipped with incorrect snapd seed that prevents the seeding from succeeding. There has been a number of issues related to incorrect seeds in OEM images. For example: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1772844 and https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1767896

Can you please clarify the origin of the image that is used on the affected machines?

Changed in snappy:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Snappy because there has been no activity for 60 days.]

Changed in snappy:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.