Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: can't run any flatpaks, ldconfig failed, exit status 34560 #5081

Closed
3 of 4 tasks
agoogleuser opened this issue Sep 5, 2022 · 2 comments
Closed
3 of 4 tasks
Labels

Comments

@agoogleuser
Copy link

agoogleuser commented Sep 5, 2022

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.
  • If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
  • This issue is not a report of a security vulnerability (see here if you need to report a security issue).

Flatpak version

1.12.7

What Linux distribution are you using?

Other (specify below)

Linux distribution version

KUbuntu 22.04.1

What architecture are you using?

x86_64

How to reproduce

Two methods:
A) From GUI as every application:
run from taskbar or application runner

B) from terminal using flatpak run <appname>

Expected Behavior

Application opens

Actual Behavior

A) Program simply doesn't run.

B)error output the following

error: ldconfig failed, exit status 34560

Additional Information

I've updated everything to the latest, run flatpak repair, purged and reinstalled flatpak and nothing new happened. I've searched for this error code on goggle and it found nothing.

@agoogleuser agoogleuser added the bug label Sep 5, 2022
@smcv smcv changed the title [Bug]: [Bug]: ldconfig failed, exit status 34560 Sep 5, 2022
@agoogleuser agoogleuser changed the title [Bug]: ldconfig failed, exit status 34560 [Bug]: can't run any flatpaks, ldconfig failed, exit status 34560 Sep 5, 2022
@agoogleuser
Copy link
Author

agoogleuser commented Sep 6, 2022

I fixed the issue by basically removing everything related to flatpaks then reinstalling,

  • Uninstall all flatpaks on my Kubuntu
flatpak uninstall --all
  • Removed flatpak and its dependencies doing the following
sudo apt --autoremove flatpak
sudo apt purge flatpak
sudo apt autoremove
sudo apt clean
  • Reinstalled flatpak
sudo apt install flatpak
  • added flathub and kdeapps flatpak repositories
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists kdeapps --from https://distribute.kde.org/kdeapps.flatpakrepo
  • Installed a small app from Discover in order to download required flatpaks to run application, such as KHangMan from kdeapps repo, then it ran after downloading multiple stuff.

@cyangalaxy
Copy link

cyangalaxy commented Mar 21, 2024

For anyone who has this (or similar) issue:

Make sure ~/.var/app and its subdirectories have Read+Write permission and that you (the user) are the owner.

If the folders have a little lock-icon, you need to fix the permissions by running:

sudo chown -R your_username:your_username /home/your_username/.var/app
sudo chmod -R 744 /home/your_username/.var/app

This will fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants