Article 5S4XA Snapcraft refresh broke existing core connections; unable to use LibreOffice and other snaps

Snapcraft refresh broke existing core connections; unable to use LibreOffice and other snaps

by
EvanRC
from LinuxQuestions.org on (#5S4XA)
I was simply running a basic update of my Ubuntu 20.04.3 install, running GNOME 3.36.8. I did the simple 'snapcraft refresh' to update my snaps. No big deal, right? Here's the log:

Code:77 Done yesterday at 22:55 MST yesterday at 22:58 MST Refresh snaps "core18", "core20", "libreoffice", "blender"
78 Done today at 00:16 MST today at 00:16 MST Refresh all snaps: no updates
79 Done today at 00:43 MST today at 00:43 MST Refresh all snaps: no updatesWell, unfortunately, snapcraft decided to undo every single connection in core, giving me this horrible conglomerate of information when running snap connections core:
Code:account-control - :account-control -
accounts-service - :accounts-service -
adb-support - :adb-support -
allegro-vcu - :allegro-vcu -
alsa audacity:alsa :alsa manual
appstream-metadata - :appstream-metadata -
audio-playback - :audio-playback -
audio-record - :audio-record -
autopilot-introspection - :autopilot-introspection -
avahi-control - :avahi-control -
avahi-observe - :avahi-observe -
block-devices - :block-devices -
bluetooth-control - :bluetooth-control -
bluez - :bluez -
broadcom-asic-control - :broadcom-asic-control -
browser-support - :browser-support -
calendar-service - :calendar-service -
camera - :camera -
can-bus - :can-bus -
cifs-mount - :cifs-mount -
classic-support - :classic-support -
contacts-service - :contacts-service -
core-support - :core-support -
cpu-control - :cpu-control -
cups-control - :cups-control -
daemon-notify - :daemon-notify -
dcdbas-control - :dcdbas-control -
desktop - :desktop -
desktop-launch - :desktop-launch -
desktop-legacy - :desktop-legacy -
device-buttons - :device-buttons -
display-control - :display-control -
dm-crypt - :dm-crypt -
docker-support - :docker-support -
dvb - :dvb -
firewall-control - :firewall-control -
fpga - :fpga -
framebuffer - :framebuffer -
fuse-support - :fuse-support -
fwupd - :fwupd -
gconf - :gconf -
gpg-keys - :gpg-keys -
gpg-public-keys - :gpg-public-keys -
gpio-control - :gpio-control -
gpio-memory-control - :gpio-memory-control -
greengrass-support - :greengrass-support -
gsettings - :gsettings -
hardware-observe - :hardware-observe -
hardware-random-control - :hardware-random-control -
hardware-random-observe - :hardware-random-observe -
home - :home -
hostname-control - :hostname-control -
hugepages-control - :hugepages-control -
intel-mei - :intel-mei -
io-ports-control - :io-ports-control -
ion-memory-control - :ion-memory-control -
jack1 - :jack1 -
joystick - :joystick -
juju-client-observe - :juju-client-observe -
kernel-crypto-api - :kernel-crypto-api -
kernel-module-control - :kernel-module-control -
kernel-module-observe - :kernel-module-observe -
kubernetes-support - :kubernetes-support -
kvm - :kvm -
libvirt - :libvirt -
locale-control - :locale-control -
log-observe - :log-observe -
login-session-control - :login-session-control -
login-session-observe - :login-session-observe -
lxd-support - :lxd-support -
media-control - :media-control -
modem-manager - :modem-manager -
mount-observe - :mount-observe -
multipass-support - :multipass-support -
netlink-audit - :netlink-audit -
netlink-connector - :netlink-connector -
network - :network -
network-bind - :network-bind -
network-control - :network-control -
network-manager - :network-manager -
network-manager-observe - :network-manager-observe -
network-observe - :network-observe -
network-setup-control - :network-setup-control -
network-setup-observe - :network-setup-observe -
network-status - :network-status -
ofono - :ofono -
opengl - :opengl -
openvswitch - :openvswitch -
openvswitch-support - :openvswitch-support -
optical-drive - :optical-drive -
packagekit-control - :packagekit-control -
password-manager-service - :password-manager-service -
personal-files - :personal-files -
physical-memory-control - :physical-memory-control -
physical-memory-observe - :physical-memory-observe -
power-control - :power-control -
ppp - :ppp -
process-control - :process-control -
ptp - :ptp -
pulseaudio - :pulseaudio -
pwm - :pwm -
qualcomm-ipc-router - :qualcomm-ipc-router -
raw-input - :raw-input -
raw-usb - :raw-usb -
removable-media - :removable-media -
screen-inhibit-control - :screen-inhibit-control -
screencast-legacy - :screencast-legacy -
sd-control - :sd-control -
shutdown - :shutdown -
snapd-control - :snapd-control -
ssh-keys - :ssh-keys -
ssh-public-keys - :ssh-public-keys -
system-backup - :system-backup -
system-files - :system-files -
system-observe - :system-observe -
system-packages-doc - :system-packages-doc -
system-source-code - :system-source-code -
system-trace - :system-trace -
tee - :tee -
time-control - :time-control -
timeserver-control - :timeserver-control -
timezone-control - :timezone-control -
tpm - :tpm -
u2f-devices - :u2f-devices -
udisks2 - :udisks2 -
uhid - :uhid -
uinput - :uinput -
unity7 - :unity7 -
upower-observe - :upower-observe -
vcio - :vcio -
wayland - :wayland -
x11 - :x11 -Since it undid every single connection (except for alsa, apparently), I can't run LibreOffice, Ubuntu Software, or GIMP. The few resources concerning the error message I would get were wholly useless. The two errors I get when trying to run snap-store are:
Code:.
/snap/snap-store/547/snap/command-chain/desktop-launch: line 50: /home/le-evan/.config/user-dirs.dirs: Permission denied
ERROR: not connected to the gnome-3-34-1804 content interface.I don't know how to manually reconnect every single one of those interfaces -- is there some way to get snap to correct itself? I already tried apt-get reinstall snap snapd,Ubuntu'sdpkg recovery thing, running single-connection fixes (snap connect snap-store:gnome-3-34-1804 gnome-3-34-1804, which then spat out 40x more error stuff), and rebooted several times, but I still can't launch any of my Snapcraft applications. How do I fix this problem (aside from total reinstall)?latest?d=yIl2AUoC8zA latest?i=zQPuh-Uuyw4:yuie8hf5PCQ:F7zBnMy latest?i=zQPuh-Uuyw4:yuie8hf5PCQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=zQPuh-Uuyw4:yuie8hf5PCQ:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments