changed /var/lib/snapd/seed/seed.yaml moving entry "gtk-common-themes" before 
"gnome-calculator"
see https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1785388
and 
https://forum.snapcraft.io/t/gnome-calculator-failed-to-create-symbolic-link/5742/24

then
corrado@corrado-HP-p7-cc-us:~$ snap changes
ID   Status  Spawn               Ready               Summary
1    Doing   today at 01:06 EDT  -                   Initialize system state
2    Done    today at 01:06 EDT  today at 01:12 EDT  Initialize device

corrado@corrado-HP-p7-cc-us:~$ snap abort 1
corrado@corrado-HP-p7-cc-us:~$ snap changes
ID   Status  Spawn               Ready               Summary
1    Undo    today at 01:06 EDT  -                   Initialize system state
2    Done    today at 01:06 EDT  today at 01:12 EDT  Initialize device

corrado@corrado-HP-p7-cc-us:~$ snap changes
ID   Status  Spawn               Ready               Summary
1    Undone  today at 01:06 EDT  today at 03:08 EDT  Initialize system state
2    Done    today at 01:06 EDT  today at 01:12 EDT  Initialize device

corrado@corrado-HP-p7-cc-us:~$ sudo apt upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to 
correct the problem. 
corrado@corrado-HP-p7-cc-us:~$ sudo dpkg --configure -a
Processing triggers for man-db (2.8.4-2) ...
corrado@corrado-HP-p7-cc-us:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
corrado@corrado-HP-p7-cc-us:~$ apt policy snapd
snapd:
  Installed: 2.35.1+18.10
  Candidate: 2.35.1+18.10
  Version table:
 *** 2.35.1+18.10 500
        500 http://us.archive.ubuntu.com/ubuntu cosmic/main amd64 Packages
        100 /var/lib/dpkg/status
corrado@corrado-HP-p7-cc-us:~$ snap list
No snaps are installed yet. Try 'snap install hello-world'.
corrado@corrado-HP-p7-cc-us:~$ snap changes
ID   Status  Spawn               Ready               Summary
1    Undone  today at 01:06 EDT  today at 03:08 EDT  Initialize system state
2    Done    today at 01:06 EDT  today at 01:12 EDT  Initialize device
3    Done    today at 03:14 EDT  today at 03:15 EDT  Initialize system state
4    Done    today at 03:15 EDT  today at 03:15 EDT  Auto-refresh snap 
"gnome-calculator"

corrado@corrado-HP-p7-cc-us:~$ snap list
Name                  Version  Rev   Tracking  Publisher   Notes
core                  16-2.35  5328  stable    canonical✓  core
gnome-3-26-1604       3.26.0   70    stable/…  canonical✓  -
gnome-calculator      3.30.0   222   stable/…  canonical✓  -
gnome-characters      3.28.2   117   stable/…  canonical✓  -
gnome-logs            3.28.2   40    stable/…  canonical✓  -
gnome-system-monitor  3.28.2   54    stable/…  canonical✓  -
gtk-common-themes     0.1      319   stable/…  canonical✓  -
corrado@corrado-HP-p7-cc-us:~$ 

problem disappeared.

also the problem comes again from the incorrect /var/lib/snapd/seed/seed.yaml
see https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1785388

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791087

Title:
  snapd 2.35.1+18.10 hang on apt upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1791087/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to