after changing /var/lib/snapd/seed/seed.yaml as suggested in https://ubuntuforums.org/showthread.php?t=2393347&page=3 sudo dpkg --configure -a works fine.
** Attachment added: "update" https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1776622/+attachment/5156794/+files/update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1776622 Title: snapd on cosmic never finishes installing/updating. Can't install any other updates. To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1776622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs