Page 1 of 1

Flatpaks suddenly not opening, repo not found

Posted: Mon Aug 30, 2021 4:26 pm
by ntnsndr
I rely on flatpaks for a few apps on MX. Suddenly they don't seem to be opening. Here is the current state:

* Apps do register as installed in the MX Package Installer, and I just updated them all there
* Flatpak apps do appear in XFCE Whisker Menu, but nothing happens when I click one
* App names in terminal (eg "zoom") get "command not found"
* commands "flatpak list" and "flatpak update" get "While opening repository [~]/.local/share/flatpak/repo: opendir(objects): No such file or directory"

I would be okay with reinstalling everything if needed; I just don't have a lot of understanding on how flatpak relates to the broader MX system.

Thanks in advance!

Re: Flatpaks suddenly not opening, repo not found

Posted: Mon Aug 30, 2021 7:22 pm
by JayM
Please run Quick System Info and post your system information whenever asking for help as per the forum rules (which please read.) Just run it then right-click paste in a reply, don't copy/paste. Instructions are here if you need them. Thanks.

Re: Flatpaks suddenly not opening, repo not found

Posted: Mon Aug 30, 2021 10:59 pm
by ntnsndr
Thank you, @JayM—sorry about the bad etiquette.

Code: Select all

System:
  Host: <filter> Kernel: 4.19.0-17-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
  parameters: BOOT_IMAGE=/vmlinuz-4.19.0-17-amd64 
  root=UUID=<filter> ro quiet splash 
  Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.26.0 Distro: MX-19.4_x64 patito feo May 31  2020 
  base: Debian GNU/Linux 10 (buster) 
Machine:
  Type: Desktop System: Dell product: OptiPlex 9020 v: 00 serial: <filter> 
  Chassis: type: 15 serial: <filter> 
  Mobo: Dell model: 0XCR8D v: A02 serial: <filter> BIOS: Dell v: A25 
  date: 05/30/2019 
Battery:
  Device-1: hidpp_battery_0 
  model: Logitech Illuminated Living-Room Keyboard K830 serial: <filter> 
  charge: 100% (should be ignored) rechargeable: yes status: Discharging 
CPU:
  Topology: Quad Core model: Intel Core i5-4570 bits: 64 type: MCP 
  arch: Haswell family: 6 model-id: 3C (60) stepping: 3 microcode: 28 
  L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 25541 
  Speed: 1424 MHz min/max: 800/3600 MHz Core speeds (MHz): 1: 1144 2: 1207 
  3: 1098 4: 1200 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
  Type: mds mitigation: Clear CPU buffers; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics 
  vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0412 
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel Haswell Desktop v: 4.5 Mesa 18.3.6 
  compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:03.0 
  chip ID: 8086:0c0c 
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20 
  Device-3: Logitech OrbiCam type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 2-4:3 chip ID: 046d:0892 serial: <filter> 
  Device-4: Samson Meteor condenser microphone type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 2-3:2 chip ID: 17a0:0310 
  Sound Server: ALSA v: k4.19.0-17-amd64 
Network:
  Device-1: Intel Ethernet I217-LM vendor: Dell driver: e1000e v: 3.2.6-k 
  port: f080 bus ID: 00:19.0 chip ID: 8086:153a 
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 981.75 GiB (105.4%) 
  ID-1: /dev/sda vendor: SanDisk model: SSD G5 BICS4 size: 931.51 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 00RL scheme: MBR 
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 
  port: f060 bus ID: 00:1f.2 chip ID: 8086.2822 rev: 04 
Partition:
  ID-1: / raw size: 928.97 GiB size: 913.38 GiB (98.32%) 
  used: 753.68 GiB (82.5%) fs: ext4 dev: /dev/dm-0 
  ID-2: /boot raw size: 512.0 MiB size: 487.9 MiB (95.30%) 
  used: 356.3 MiB (73.0%) fs: ext4 dev: /dev/sda1 
  ID-3: swap-1 size: 1.98 GiB used: 19.9 MiB (1.0%) fs: swap 
  swappiness: 15 (default 60) cache pressure: 100 (default) dev: /dev/dm-1 
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
  1: deb http://deb.debian.org/debian buster-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/debian.list 
  1: deb http://deb.debian.org/debian buster main contrib non-free
  2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list 
  1: deb http://mxrepo.com/mx/repo/ buster main non-free
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
  1: deb [arch=amd64] https://repo.skype.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/teams.list 
  1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
  No active apt repos in: /etc/apt/sources.list.d/various.list 
  Active apt repos in: /etc/apt/sources.list.d/vscode.list 
  1: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Info:
  Processes: 249 Uptime: 6h 59m Memory: 7.70 GiB used: 3.62 GiB (47.0%) 
  Init: SysVinit v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 
  Shell: quick-system-in running in: quick-system-in inxi: 3.0.36 

Re: Flatpaks suddenly not opening, repo not found

Posted: Mon Aug 30, 2021 11:06 pm
by JayM
Right-click on a flatpak app in Whisker, select edit application, copy the command, open a terminal and run it there, and look for error messages.

Re: Flatpaks suddenly not opening, repo not found

Posted: Mon Aug 30, 2021 11:08 pm
by ntnsndr
Thanks, @JayM. Same error as above: "While opening repository [~]/.local/share/flatpak/repo: opendir(objects): No such file or directory"

Re: Flatpaks suddenly not opening, repo not found

Posted: Mon Aug 30, 2021 11:10 pm
by andyprough
ntnsndr wrote: Mon Aug 30, 2021 4:26 pm I rely on flatpaks for a few apps on MX. Suddenly they don't seem to be opening. Here is the current state:

* Apps do register as installed in the MX Package Installer, and I just updated them all there
* Flatpak apps do appear in XFCE Whisker Menu, but nothing happens when I click one
* App names in terminal (eg "zoom") get "command not found"
* commands "flatpak list" and "flatpak update" get "While opening repository [~]/.local/share/flatpak/repo: opendir(objects): No such file or directory"

I would be okay with reinstalling everything if needed; I just don't have a lot of understanding on how flatpak relates to the broader MX system.

Thanks in advance!
You should read this reddit thread - apparently some important flatpak files can switch ownership to the "root" user, which will cause you this problem. You can look at ownership of your flatpak files and directories and see if you have a problem in this regard: https://www.reddit.com/r/kdeneon/commen ... g/e80jdhy/

Re: Flatpaks suddenly not opening, repo not found

Posted: Mon Aug 30, 2021 11:25 pm
by ntnsndr
@andyprough Thank you for this suggestion. For me, the chown command in the thread didn't help (the command ran fine, but didn't change the errors). As far as I can tell, everything in the .local/share/flatpak is owned by my user, and was before I did the command.

Is there a safe way to clean the slate on flatpak without messing up the relevant runtimes for MX, etc.? I can easily reinstall the handful of packages I use flatpak for.

Thank you for bearing with me!

Re: Flatpaks suddenly not opening, repo not found  [Solved]

Posted: Tue Aug 31, 2021 4:05 am
by andyprough
ntnsndr wrote: Mon Aug 30, 2021 11:25 pm @andyprough Thank you for this suggestion. For me, the chown command in the thread didn't help (the command ran fine, but didn't change the errors). As far as I can tell, everything in the .local/share/flatpak is owned by my user, and was before I did the command.

Is there a safe way to clean the slate on flatpak without messing up the relevant runtimes for MX, etc.? I can easily reinstall the handful of packages I use flatpak for.

Thank you for bearing with me!
Let's try creating the folder that flatpak complains is missing:

Code: Select all

mkdir -p ~/.local/share/flatpak/repo/objects/
This has worked for some others with your same error. What happens for you now when you run "flatpak list" or "flatpak update"?

Re: Flatpaks suddenly not opening, repo not found

Posted: Tue Aug 31, 2021 11:01 am
by ntnsndr
Thanks—I'll give that a try and report back.

Re: Flatpaks suddenly not opening, repo not found

Posted: Tue Aug 31, 2021 10:34 pm
by ntnsndr
That did it! Thank you so much.

Re: Flatpaks suddenly not opening, repo not found

Posted: Wed Sep 01, 2021 12:11 am
by andyprough
ntnsndr wrote: Tue Aug 31, 2021 10:34 pm That did it! Thank you so much.
Sweet! That was a good little detective mystery. :happy: