Snap-store errors on new laptop

I have a brand new laptop. The first thing I did was uninstall firefox and thunderbird from apt and then firefox from snap-store. I’m not sure if it is related to the errors.

Before I uninstalled firefox from snap-store, it showed some updates are available. After I uninstalled firefox snap-store stopped and then launched again, without updates.

Running from the console I see:

not handling error failed for action refresh: E: Failed to fetch [http://il.archive.ubuntu.com/ubuntu/...ammy/InRelease](http://il.archive.ubuntu.com/ubuntu/dists/jammy/InRelease) E: Failed to fetch [http://il.archive.ubuntu.com/ubuntu/...ates/InRelease](http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease) E: Failed to fetch [http://il.archive.ubuntu.com/ubuntu/...orts/InRelease](http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease) E: Failed to fetch [http://security.ubuntu.com/ubuntu/di...rity/InRelease](http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease) E: Failed to fetch [https://dl.google.com/linux/chrome/d...able/InRelease](https://dl.google.com/linux/chrome/deb/dists/stable/InRelease) E: Some index files failed to download. They have been ignored, or old ones used instead.

I’m connected to the internet (writing this question on said laptop)

I googled a bit and saw a recommendation to stop and refresh snap-store (sudo snap refresh snap-store). Didn’t help. Then I saw a recommendation to uninstall snap-store and install again (sudo snap remove snap-store and sudo snap install snap-store). So I did.

Apt seems to be working fine

journalctl shows this:

Oct 17 21:05:26 LT-IttayD systemd[2001]: Started snap.snap-store.snap-store-1f053e99-5a06-45cd-93e3-0c1b7851b7ed.scope. Oct 17 21:05:26 LT-IttayD audit[1041]: USER_AVC pid=1041 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/Po> exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' Oct 17 21:05:26 LT-IttayD kernel: audit: type=1107 audit(1697565926.909:145): pid=1041 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="sys> exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' Oct 17 21:05:26 LT-IttayD kernel: audit: type=1107 audit(1697565926.909:146): pid=1041 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="sys> exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' Oct 17 21:05:26 LT-IttayD kernel: audit: type=1107 audit(1697565926.909:147): pid=1041 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="sys> exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' Oct 17 21:05:26 LT-IttayD kernel: audit: type=1107 audit(1697565926.909:148): pid=1041 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="sys> exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' Oct 17 21:05:26 LT-IttayD audit[1041]: USER_AVC pid=1041 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/Po> exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' Oct 17 21:05:26 LT-IttayD audit[1041]: USER_AVC pid=1041 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/Po> exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' Oct 17 21:05:26 LT-IttayD audit[1041]: USER_AVC pid=1041 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/Po> exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' Oct 17 21:05:27 LT-IttayD audit[49841]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.snap-store.snap-store" name="/etc/appstream.conf" pid=49841 comm="snap-store" requested_mask="r" > Oct 17 21:05:27 LT-IttayD kernel: audit: type=1400 audit(1697565927.017:149): apparmor="DENIED" operation="open" class="file" profile="snap.snap-store.snap-store" name="/etc/appstream.conf" pid=49841 com> Oct 17 21:05:27 LT-IttayD PackageKit[1656]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0) Oct 17 21:05:27 LT-IttayD PackageKit[1656]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh Oct 17 21:05:27 LT-IttayD systemd[1]: Starting Update APT News... Oct 17 21:05:27 LT-IttayD systemd[1]: Starting Update the local ESM caches... Oct 17 21:05:27 LT-IttayD systemd[1]: apt-news.service: Deactivated successfully. Oct 17 21:05:27 LT-IttayD systemd[1]: Finished Update APT News. Oct 17 21:05:27 LT-IttayD systemd[1]: esm-cache.service: Deactivated successfully. Oct 17 21:05:27 LT-IttayD systemd[1]: Finished Update the local ESM caches. Oct 17 21:05:29 LT-IttayD PackageKit[1656]: refresh-cache transaction /214_daaabbec from uid 1000 finished with success after 2499ms Oct 17 21:05:29 LT-IttayD PackageKit[1656]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0) Oct 17 21:05:29 LT-IttayD PackageKit[1656]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh Oct 17 21:05:30 LT-IttayD snapd[1109]: storehelpers.go:773: cannot refresh: snap has no updates available: "bare", "core20", "core22", "gnome-3-38-2004", "gnome-42-2204", "gtk-common-themes", "snap-store> Oct 17 21:05:30 LT-IttayD systemd[1]: Starting Update APT News... Oct 17 21:05:30 LT-IttayD systemd[1]: Starting Update the local ESM caches... Oct 17 21:05:30 LT-IttayD packagekitd[1656]: Failed to fetch http://il.archive.ubuntu.com/ubuntu/dists/jammy/InRelease Oct 17 21:05:30 LT-IttayD packagekitd[1656]: Failed to fetch http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Oct 17 21:05:30 LT-IttayD packagekitd[1656]: Failed to fetch http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Oct 17 21:05:30 LT-IttayD packagekitd[1656]: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Oct 17 21:05:30 LT-IttayD packagekitd[1656]: Failed to fetch https://dl.google.com/linux/chrome/deb/dists/stable/InRelease Oct 17 21:05:30 LT-IttayD packagekitd[1656]: Failed to fetch https://packagecloud.io/slacktechnologies/slack/debian/dists/jessie/InRelease Oct 17 21:05:30 LT-IttayD packagekitd[1656]: Some index files failed to download. They have been ignored, or old ones used instead. Oct 17 21:05:30 LT-IttayD PackageKit[1656]: refresh-cache transaction /215_caadcdcb from uid 1000 finished with cancelled-priority after 836ms Oct 17 21:05:30 LT-IttayD systemd[1]: apt-news.service: Deactivated successfully.

Any other suggestions? Also, how do I add the repositories back?