3

I downloaded Ubuntu 20.04 LTS, created a persistent live USB using mkusb. The boot-up process works fine, no issue with keyboard and mouse.... only the WiFi adapter wasn't working .. so i tethered on my mobile phone.

Correction Am using an external keyboard and mouse thus not affected, seems the macbook keyboard + mouse is still not working. Have also installed a USB wireless dongle to get wireless

Launch snap-store, it loads but i can't see any installed program listed.. So as per usual practice i will do an apt-update and apt-upgrade, worked fine for previous 18.04 persistent live USB i had..... but this time round after the upgrade is complete, the snap-store won't load anymore.. you get errors like permission denied /run/usr/0 when invoking it from terminal

Edit 1:

As requested... I'm unable to launch the Ubuntu Software, after performing apt update and apt upgrade.. after reboot...when launching from console:

ubuntu@ubuntu:~/Desktop$ sudo snap-store
mkdir: cannot create directory ‘/run/user/0’: Permission denied
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
09:35:42:0334 GLib-GIO g_app_info_get_name: assertion 'G_IS_APP_INFO (appinfo)' failed
No protocol specified
Unable to init server: Could not connect: Connection refused
09:35:42:0371 Gtk cannot open display: :0

1 Answers1

0

If your partition for persistence (labeled writable or casper-rw) is too small, it will get full by

sudo apt update && sudo apt upgrade

and that will create severe problems.

Otherwise, for example in a drive with 32 GB, there should be drive space enough for all the added files after running those commands.

I suggest that you try again, either by making a fresh installation of your persistent live system, or by booting your Ubuntu system live-only, and removing all directories and files from the partition for persistence (labeled writable or casper-rw) and try again without updating and upgrading.

If you want an updated and upgraded system there are two alternatives:

  1. Download the current daily iso file of Focal Fossa from the iso testing tracker and create a persistent live drive from it.

  2. Download a compressed image of an installed Ubuntu 20.04 LTS system and extract and clone it to a drive with at least 16 GB. Such a system can be updated and upgraded just like a system installed to an internal drive.

    See also the following links and links from them.

sudodus
  • 46,324
  • 5
  • 88
  • 152
  • thanks for the alternative, but i tried this on a 64gb usb with 80% persistence... don't think its a disk space issue.. – belgeran Dec 31 '20 at 23:50
  • thanks for the alternatives, those are full installs which will probably work out but the persistent live approach still wouldn't work – belgeran Jan 01 '21 at 00:11
  • 1
    @belgeran, My first guess was wrong, there is another problem with the persistent live system. - Did you download the current daily iso file of Focal Fossa from the iso testing tracker and create a persistent llive drive from there? – sudodus Jan 01 '21 at 17:09
  • have tested using the daily iso file, and created a persistent live from there.. that works fine because there's really not much to apt upgrade from...? – belgeran Jan 03 '21 at 17:19
  • 1
    @belgeran, the current daily iso file is up to date, so there is nothing to upgrade. After a day or two, there will probably be some upgrades available ... Anyway, I'm asking: did it solve your problem? – sudodus Jan 03 '21 at 17:31
  • yup it kinda mitigated the problem, since there wasn't any upgrade?.... i believe its the snap-store upgrade that broke the pathing and while this download resolves the issue by being already up to date.... i'm just of the mind that a future apt upgrade of snap-store will still cause the pathing issue – belgeran Jan 05 '21 at 00:56
  • 1
    @belgeran, Maybe, maybe not. It depends what kind of upgrades there are to come, and if they are compatible or not. - You may try with a full install in an external drive (e.g. USB pendrive) because ugrades are more tested in such a system and therefore more likely to work properly. – sudodus Jan 05 '21 at 10:11