Ошибка ldconfig статус ошибки 256


0

1

Текст ошибки

$ flatpak run com.jetbrains.CLion
bwrap: Can't mount proc on /newroot/proc: Operation not permitted
error: ldconfig failed, exit status 256

Стоит KDE neon (ubuntu 20.04). Ядро 5.8. Установлен flatpak 1.11.1 из PPA. С коробочным 1.6.5 такая же ошибка.

$ apt-cache policy flatpak
flatpak:
  Installed: 1.11.1-0flatpak1~focal
  Candidate: 1.11.1-0flatpak1~focal
  Version table:
 *** 1.11.1-0flatpak1~focal 500
        500 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
     1.6.5-0ubuntu0.2 500
        500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
     1.6.3-1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages

Как починить запуск?

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.10.7

What Linux distribution are you using?

ChromeOS

Linux distribution version

5.4.157

What architecture are you using?

x86_64

How to reproduce

  1. Install Flatpak
  2. Get Flathub setup
  3. Try to run an app
  4. Throws you an error: ldconfig failed, exit status 256

Expected Behavior

Run the god damn program

Actual Behavior

Throws you that stupid error

Additional Information

This happens to me EVERY TIME! I’ve uninstalled and reinstalled it, i’ve uninstalled the program and reinstalled it. EVERY TIME WITH EVERY APP. Can someone tell me how to fix this? (also, i need debian codes)

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.10.7

What Linux distribution are you using?

ChromeOS

Linux distribution version

5.4.157

What architecture are you using?

x86_64

How to reproduce

  1. Install Flatpak
  2. Get Flathub setup
  3. Try to run an app
  4. Throws you an error: ldconfig failed, exit status 256

Expected Behavior

Run the god damn program

Actual Behavior

Throws you that stupid error

Additional Information

This happens to me EVERY TIME! I’ve uninstalled and reinstalled it, i’ve uninstalled the program and reinstalled it. EVERY TIME WITH EVERY APP. Can someone tell me how to fix this? (also, i need debian codes)

Skip to content

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert

  • Help

    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next

    Projects
    Groups
    Snippets


  • Sign up now
  • Login

  • Sign in / Register

Closed


Open


Issue created Jan 10, 2021 by CHJ85@CHJ85

ERROR: ldconfig failed, exit status 256

Hi there. I just installed the latest version of LibreWolf using your flatpak package.
Tried to open LibreWolf, but it gave me this error:
ldconfig failed, exit status 256
Not sure what this means or what I can do to fix it.
I’m running Ubuntu 20.10 btw and Linux kernel 5.10.0-5.1-liquorix-amd64.
Thanks in advance!

и как её решить?
bwrap: setting up uid map: Permission denied
ошибка: Ошибка ldconfig, статус ошибки 256

Мой make.conf:
COMMON_FLAGS=»-O2 -pipe»
CFLAGS=»${COMMON_FLAGS}»
CXXFLAGS=»${COMMON_FLAGS}»
FCFLAGS=»${COMMON_FLAGS}»
FFLAGS=»${COMMON_FLAGS}»
CONFIG_PROTECT=»-*»

CFLAGS=»-march=native -O2 -pipe»
CXXFLAGS=»$CFLAGS»
CPU_FLAGS_X86=»aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3″
VIDEO_CARDS=»intel i965 iris»

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR=»/var/db/repos/gentoo»
DISTDIR=»/var/cache/distfiles»
PKGDIR=»/var/cache/binpkgs»

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
ACCEPT_LICENSE=»*»
GENTOO_MIRRORS=»https://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/»
GRUB_PLATFORMS=»efi-64″

FEATURES=»parallel-fetch preserve-libs»
VIDEO_CARDS=»vmware intel»
ACCEPT_KEYWORDS=»~amd64″
AUTOCLEAN=»yes»
CPU_FLAGS_X86=»3dnow 3dnowext aes avx avx2 fma3 fma4 sse3 sse4_1 sse4_2 ssse3 xop»
PHP_TARGETS=»php5-7″

ENABLE=»openh264 7zip systemd gnome gtk3 bluetooth networkmanager
a52 aac aalib acpi apache2
bash-completion blas bluray bmp bzip2 cairo cddb cdr cgi cleartype corefonts crypt css cuda cups curl
dbus device-mapper djvu dri dri2 dts dvd dvdr
enca encode exif faac faad ffmpeg fftw fits flac fontconfig fuse
gedit ghostscript gif glut gnuplot gost gsl gtk gtk2 hddtemp icewm iconv id3tag imagemagic imlib2 jack jpeg jpeg2k
lame lapack latex libass libcaca libnotify libsamplerate lm_sensors logrotate
mad matroska mencoder midi mime mmx mmxext mng motif mp3 mp4 mpeg mpeg2 mplayer multilib
nautilus ntfs nvidia ogg openmp openssl optimisation pch pdf png pnm postgres postgresql proftp
rar real sftp sockets sox spell sqlite sqlite3 squid sse sse2 sse3 ssse3 ssse4 svg
tga theora threads tiff timidity truetype ttf type1 udev usb v4l2 vdpau vorbis vlc
wav win32codecs wmf X x264 xinerama xinetd xorg xosd xscreensaver xvid
gnome-keyring vnc ssh»
USE=»${USE} pypy3 python3_8 python3_9 python3_10 introspection seccomp quicktime real gif jpeg mpeg matroska xanim png tiff svg a52 aac exif mp3 ogg vorbis theora xpm wmf win32codecs x264 flac postscript xvid mad mp2 divx encode»
# VirtualBox
USE=»${USE} gd truetype exif cli cgi fpm apache2 embed phpdbg linux alsa debug doc java opus pam pulseaudio opengl python qt5 vnc java»

# All that must be disabled
DISABLE=»-abiword -gstreamer -consolekit -doc -eds -handbook
-joystick -kde -perl -phonon -policykit -pulseaudio
-qt3 -sdl -udisks -upower -wallpapers»

USE=»${ENABLE} ${DISABLE}»

PORTDIR_OVERLAY=»/var/lib/layman/jorgicio $PORTDIR_OVERLAY»


2

ответов

И так, решение: sudo emerge -av sys-apps/bubblewrap (т.е всё решилось переустановкой bubblewrap)

стоп я не понял зачем pulseaudio и -pulseaudio в одном

Похожие вопросы

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

Comments

@LinuxOnTheDesktop

To (try to?) reproduce: install Mint 20; after that, do and see the following.

$ flatpak install fwupd
Looking for matches…
Found similar ref(s) for ‘fwupd’ in remote ‘flathub’ (system).
Use this remote? [Y/n]: y
Found ref ‘app/org.freedesktop.fwupd/x86_64/stable’ in remote ‘flathub’ (system).
Use this ref? [Y/n]: y
Info: org.freedesktop.Platform.Icontheme.Paper is end-of-life, with reason: The Icontheme extensions are not used anymore.

org.freedesktop.fwupd permissions:
    network      devices      file access [1]      system dbus access [2]

    [1] /boot, /sys, xdg-download
    [2] org.freedesktop.UPower, org.freedesktop.fwupd


        ID                                     Branch           Op          Remote           Download
 1. [✓] org.freedesktop.fwupd.Locale           stable           i           flathub          3.2 kB / 1.8 MB
 2. [✓] org.freedesktop.fwupd                  stable           i           flathub          2.4 MB / 3.1 MB

Installation complete.
$ flatpak run org.freedesktop.fwupd
ldconfig: Can't create temporary cache file /run/ld-so-cache-dir/0ae87624ea5c37aef5b1af8b02de5d49a0d1a8543eeb68e20af02d14ac848e3c~: Permission denied
error: ldconfig failed, exit status 256
$ sudo flatpak run org.freedesktop.fwupd
error: "flatpak run" is not intended to be ran with sudo

Postscript

So I decided to try the repository version . .

$ sudo apt install fwupd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Recommended packages:
  bolt fwupd-signed
The following NEW packages will be installed
  fwupd
0 to upgrade, 1 to newly install, 0 to remove and 6 not to upgrade.
Need to get 0 B/2,089 kB of archives.
After this operation, 5,784 kB of additional disk space will be used.
Selecting previously unselected package fwupd.
(Reading database ... 444208 files and directories currently installed.)
Preparing to unpack .../fwupd_1.3.9-4ubuntu0.1_amd64.deb ...
Unpacking fwupd (1.3.9-4ubuntu0.1) ...
Setting up fwupd (1.3.9-4ubuntu0.1) ...
fwupd-offline-update.service is a disabled or a static unit not running, not starting it.
fwupd-refresh.service is a disabled or a static unit not running, not starting it.
fwupd.service is a disabled or a static unit not running, not starting it.
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
$ fwupdmgr
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.2' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.2' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.3' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.7' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.9' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.3' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.1' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.2' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.8' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.7' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.6' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.1' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.4' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.5' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.4' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.1' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.3' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.4' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.2' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.5' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.6' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)

@hughsie

fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.2′ not found (required by fwupdmgr)

Did you also install the source version to /usr/local/? I think fwupdmgr is being sourced from /usr/local/ for some reason.

@LinuxOnTheDesktop

Not that I recall. How should I check and/or correct, please?

@superm1

If you have stuff in /usr/local, you’ve manually installed at some point. Remove it to use your packaged stuff.

@superm1

And btw after you’ve cleared out your stuff in /usr/local, you probably need to run ldconfig

@LinuxOnTheDesktop

I tried again to install the Flatpak version (in order to try to . . fix another problem). The Flatpak still will not run. Would you please advise? Here is what happened.

$ flatpak run org.freedesktop.fwupd
error: While opening repository /home/<myUserName>/.local/share/flatpak/repo: /home/<myUserName>/.local/share/flatpak/repo: opendir(/home/<myUserName>/.local/share/flatpak/repo): Permission denied
<myUserName>@x1 ~ $ sudo flatpak run org.freedesktop.fwupd
error: "flatpak run" is not intended to be ran with sudo
<myUserName>@x1 ~ $ flatpak run org.freedesktop.fwupd
error: While opening repository /home/<myUserName>/.local/share/flatpak/repo: /home/<myUserName>/.local/share/flatpak/repo: opendir(/home/<myUserName>/.local/share/flatpak/repo): Permission denied
<myUserName>@x1 ~ $ chown -R <myUserName>:<myUserName> /home/<myUserName>/.local/share/flatpak/repo
chown: cannot read directory '/home/<myUserName>/.local/share/flatpak/repo': Permission denied
<myUserName>@x1 ~ $ sudo chown -R <myUserName>:<myUserName> /home/<myUserName>/.local/share/flatpak/repo
<myUserName>@x1 ~ $ flatpak run org.freedesktop.fwupd
error: mkdir(/home/<myUserName>/.var/app/org.freedesktop.fwupd/data): Permission denied
<myUserName>@x1 ~ $ sudo chown -R <myUserName>:<myUserName> /home/<myUserName>/.var/app/org.freedesktop.fwupd
<myUserName>@x1 ~ $ flatpak run org.freedesktop.fwupd
This program may only work correctly as root
Command not found

Use fwupdtool --help for help

@LinuxOnTheDesktop

And now . . this, which is . . sub-optimal. Note that I had installed the Flatpak, just now, via Mint’s (horribly broken?) Software Manager.

$ flatpak remove org.freedesktop.fwupd


        ID                                   Branch         Op
 1. [-] org.freedesktop.fwupd                stable         r
 2. [-] org.freedesktop.fwupd.Locale         stable         r

Uninstall complete.
<myUserName>@x1 ~ $ flatpak install org.freedesktop.fwupd
Looking for matches…
Found similar ref(s) for ‘org.freedesktop.fwupd’ in remote ‘flathub’ (system).
Use this remote? [Y/n]: 
Info: org.freedesktop.Platform.Icontheme.Paper is end-of-life, with reason: The Icontheme extensions are not used anymore.

org.freedesktop.fwupd permissions:
    network      devices      file access [1]      system dbus access [2]

    [1] /boot, /sys, xdg-download
    [2] org.freedesktop.UDisks2, org.freedesktop.UPower, org.freedesktop.fwupd


        ID                                     Branch           Op          Remote           Download
 1.     org.freedesktop.fwupd.Locale           stable           i           flathub          < 344.6 kB (partial)
 2.     org.freedesktop.fwupd                  stable           i           flathub            < 4.9 MB

Proceed with these changes to the system installation? [Y/n]:

Info: org.freedesktop.Platform.Icontheme.Paper is end-of-life, with reason: The Icontheme extensions are not used anymore.

org.freedesktop.fwupd permissions:
    network      devices      file access [1]      system dbus access [2]

    [1] /boot, /sys, xdg-download
    [2] org.freedesktop.UDisks2, org.freedesktop.UPower, org.freedesktop.fwupd


        ID                                     Branch           Op          Remote           Download
 1. [✓] org.freedesktop.fwupd.Locale           stable           i           flathub          3.3 kB / 344.6 kB
 2. [✓] org.freedesktop.fwupd                  stable           i           flathub          4.1 MB / 4.9 MB

Installation complete.
$ flatpak run org.freedesktop.fwupd
This program may only work correctly as root
Command not found

Use fwupdtool --help for help
$ sudo flatpak run org.freedesktop.fwupd
error: "flatpak run" is not intended to be ran with sudo

@LinuxOnTheDesktop

Cf. this report of woe, by someone else, and where no remedy was forthcoming, on the Linux Mint forum.

@hughsie

error: «flatpak run» is not intended to be ran with sudo

I think you want sudo -i flatpak run ...

@LinuxOnTheDesktop

I lack the time to test this. For, I removed the Flatpak. But: presuming you are right, then you need to have instructions that say that. Others should not have to waste as much time as I did.

@hughsie

then you need to have instructions that say that

Where did you read the flatpak instructions from, out of interest?

@LinuxOnTheDesktop

I read no instructions. Do you provide any?

EDIT: Initially I used Mint’s Software Manager to install the flatpak. Well, I tried to — the installation seemed not to work. (See here.) So then — if I recall correctly — I did this: I removed as much of that borked installation as I could; I searched the web on how to install the fwupd flatpak via terminal; and then I used whatever instructions I found (I’m afraid I do not recall them, but perhaps I could retrieve them from a log or from a bash cache) to install the flatpak via terminal.

@hughsie

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

Comments

@LinuxOnTheDesktop

To (try to?) reproduce: install Mint 20; after that, do and see the following.

$ flatpak install fwupd
Looking for matches…
Found similar ref(s) for ‘fwupd’ in remote ‘flathub’ (system).
Use this remote? [Y/n]: y
Found ref ‘app/org.freedesktop.fwupd/x86_64/stable’ in remote ‘flathub’ (system).
Use this ref? [Y/n]: y
Info: org.freedesktop.Platform.Icontheme.Paper is end-of-life, with reason: The Icontheme extensions are not used anymore.

org.freedesktop.fwupd permissions:
    network      devices      file access [1]      system dbus access [2]

    [1] /boot, /sys, xdg-download
    [2] org.freedesktop.UPower, org.freedesktop.fwupd


        ID                                     Branch           Op          Remote           Download
 1. [✓] org.freedesktop.fwupd.Locale           stable           i           flathub          3.2 kB / 1.8 MB
 2. [✓] org.freedesktop.fwupd                  stable           i           flathub          2.4 MB / 3.1 MB

Installation complete.
$ flatpak run org.freedesktop.fwupd
ldconfig: Can't create temporary cache file /run/ld-so-cache-dir/0ae87624ea5c37aef5b1af8b02de5d49a0d1a8543eeb68e20af02d14ac848e3c~: Permission denied
error: ldconfig failed, exit status 256
$ sudo flatpak run org.freedesktop.fwupd
error: "flatpak run" is not intended to be ran with sudo

Postscript

So I decided to try the repository version . .

$ sudo apt install fwupd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Recommended packages:
  bolt fwupd-signed
The following NEW packages will be installed
  fwupd
0 to upgrade, 1 to newly install, 0 to remove and 6 not to upgrade.
Need to get 0 B/2,089 kB of archives.
After this operation, 5,784 kB of additional disk space will be used.
Selecting previously unselected package fwupd.
(Reading database ... 444208 files and directories currently installed.)
Preparing to unpack .../fwupd_1.3.9-4ubuntu0.1_amd64.deb ...
Unpacking fwupd (1.3.9-4ubuntu0.1) ...
Setting up fwupd (1.3.9-4ubuntu0.1) ...
fwupd-offline-update.service is a disabled or a static unit not running, not starting it.
fwupd-refresh.service is a disabled or a static unit not running, not starting it.
fwupd.service is a disabled or a static unit not running, not starting it.
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
$ fwupdmgr
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.2' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.2' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.3' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.7' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.9' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.3' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.1' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.2' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.8' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.7' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.6' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.1' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.4' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.5' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.4' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.1' not found (required by fwupdmgr)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.3' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.4' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.2' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.5' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)
fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.3.6' not found (required by /usr/lib/x86_64-linux-gnu/libfwupdplugin.so.1)

@hughsie

fwupdmgr: /usr/local/lib/x86_64-linux-gnu/libfwupd.so.2: version `LIBFWUPD_1.1.2′ not found (required by fwupdmgr)

Did you also install the source version to /usr/local/? I think fwupdmgr is being sourced from /usr/local/ for some reason.

@LinuxOnTheDesktop

Not that I recall. How should I check and/or correct, please?

@superm1

If you have stuff in /usr/local, you’ve manually installed at some point. Remove it to use your packaged stuff.

@superm1

And btw after you’ve cleared out your stuff in /usr/local, you probably need to run ldconfig

@LinuxOnTheDesktop

I tried again to install the Flatpak version (in order to try to . . fix another problem). The Flatpak still will not run. Would you please advise? Here is what happened.

$ flatpak run org.freedesktop.fwupd
error: While opening repository /home/<myUserName>/.local/share/flatpak/repo: /home/<myUserName>/.local/share/flatpak/repo: opendir(/home/<myUserName>/.local/share/flatpak/repo): Permission denied
<myUserName>@x1 ~ $ sudo flatpak run org.freedesktop.fwupd
error: "flatpak run" is not intended to be ran with sudo
<myUserName>@x1 ~ $ flatpak run org.freedesktop.fwupd
error: While opening repository /home/<myUserName>/.local/share/flatpak/repo: /home/<myUserName>/.local/share/flatpak/repo: opendir(/home/<myUserName>/.local/share/flatpak/repo): Permission denied
<myUserName>@x1 ~ $ chown -R <myUserName>:<myUserName> /home/<myUserName>/.local/share/flatpak/repo
chown: cannot read directory '/home/<myUserName>/.local/share/flatpak/repo': Permission denied
<myUserName>@x1 ~ $ sudo chown -R <myUserName>:<myUserName> /home/<myUserName>/.local/share/flatpak/repo
<myUserName>@x1 ~ $ flatpak run org.freedesktop.fwupd
error: mkdir(/home/<myUserName>/.var/app/org.freedesktop.fwupd/data): Permission denied
<myUserName>@x1 ~ $ sudo chown -R <myUserName>:<myUserName> /home/<myUserName>/.var/app/org.freedesktop.fwupd
<myUserName>@x1 ~ $ flatpak run org.freedesktop.fwupd
This program may only work correctly as root
Command not found

Use fwupdtool --help for help

@LinuxOnTheDesktop

And now . . this, which is . . sub-optimal. Note that I had installed the Flatpak, just now, via Mint’s (horribly broken?) Software Manager.

$ flatpak remove org.freedesktop.fwupd


        ID                                   Branch         Op
 1. [-] org.freedesktop.fwupd                stable         r
 2. [-] org.freedesktop.fwupd.Locale         stable         r

Uninstall complete.
<myUserName>@x1 ~ $ flatpak install org.freedesktop.fwupd
Looking for matches…
Found similar ref(s) for ‘org.freedesktop.fwupd’ in remote ‘flathub’ (system).
Use this remote? [Y/n]: 
Info: org.freedesktop.Platform.Icontheme.Paper is end-of-life, with reason: The Icontheme extensions are not used anymore.

org.freedesktop.fwupd permissions:
    network      devices      file access [1]      system dbus access [2]

    [1] /boot, /sys, xdg-download
    [2] org.freedesktop.UDisks2, org.freedesktop.UPower, org.freedesktop.fwupd


        ID                                     Branch           Op          Remote           Download
 1.     org.freedesktop.fwupd.Locale           stable           i           flathub          < 344.6 kB (partial)
 2.     org.freedesktop.fwupd                  stable           i           flathub            < 4.9 MB

Proceed with these changes to the system installation? [Y/n]:

Info: org.freedesktop.Platform.Icontheme.Paper is end-of-life, with reason: The Icontheme extensions are not used anymore.

org.freedesktop.fwupd permissions:
    network      devices      file access [1]      system dbus access [2]

    [1] /boot, /sys, xdg-download
    [2] org.freedesktop.UDisks2, org.freedesktop.UPower, org.freedesktop.fwupd


        ID                                     Branch           Op          Remote           Download
 1. [✓] org.freedesktop.fwupd.Locale           stable           i           flathub          3.3 kB / 344.6 kB
 2. [✓] org.freedesktop.fwupd                  stable           i           flathub          4.1 MB / 4.9 MB

Installation complete.
$ flatpak run org.freedesktop.fwupd
This program may only work correctly as root
Command not found

Use fwupdtool --help for help
$ sudo flatpak run org.freedesktop.fwupd
error: "flatpak run" is not intended to be ran with sudo

@LinuxOnTheDesktop

Cf. this report of woe, by someone else, and where no remedy was forthcoming, on the Linux Mint forum.

@hughsie

error: «flatpak run» is not intended to be ran with sudo

I think you want sudo -i flatpak run ...

@LinuxOnTheDesktop

I lack the time to test this. For, I removed the Flatpak. But: presuming you are right, then you need to have instructions that say that. Others should not have to waste as much time as I did.

@hughsie

then you need to have instructions that say that

Where did you read the flatpak instructions from, out of interest?

@LinuxOnTheDesktop

I read no instructions. Do you provide any?

EDIT: Initially I used Mint’s Software Manager to install the flatpak. Well, I tried to — the installation seemed not to work. (See here.) So then — if I recall correctly — I did this: I removed as much of that borked installation as I could; I searched the web on how to install the fwupd flatpak via terminal; and then I used whatever instructions I found (I’m afraid I do not recall them, but perhaps I could retrieve them from a log or from a bash cache) to install the flatpak via terminal.

@hughsie

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.10.7

What Linux distribution are you using?

ChromeOS

Linux distribution version

5.4.157

What architecture are you using?

x86_64

How to reproduce

  1. Install Flatpak
  2. Get Flathub setup
  3. Try to run an app
  4. Throws you an error: ldconfig failed, exit status 256

Expected Behavior

Run the god damn program

Actual Behavior

Throws you that stupid error

Additional Information

This happens to me EVERY TIME! I’ve uninstalled and reinstalled it, i’ve uninstalled the program and reinstalled it. EVERY TIME WITH EVERY APP. Can someone tell me how to fix this? (also, i need debian codes)


0

1

Текст ошибки

$ flatpak run com.jetbrains.CLion
bwrap: Can't mount proc on /newroot/proc: Operation not permitted
error: ldconfig failed, exit status 256

Стоит KDE neon (ubuntu 20.04). Ядро 5.8. Установлен flatpak 1.11.1 из PPA. С коробочным 1.6.5 такая же ошибка.

$ apt-cache policy flatpak
flatpak:
  Installed: 1.11.1-0flatpak1~focal
  Candidate: 1.11.1-0flatpak1~focal
  Version table:
 *** 1.11.1-0flatpak1~focal 500
        500 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
     1.6.5-0ubuntu0.2 500
        500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
     1.6.3-1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages

Как починить запуск?

Skip to content

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert

  • Help

    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next

    Projects
    Groups
    Topics
    Snippets


  • Register

  • Sign in

Closed


Open


Issue created Jan 10, 2021 by CHJ85@CHJ85

ERROR: ldconfig failed, exit status 256

Hi there. I just installed the latest version of LibreWolf using your flatpak package.
Tried to open LibreWolf, but it gave me this error:
ldconfig failed, exit status 256
Not sure what this means or what I can do to fix it.
I’m running Ubuntu 20.10 btw and Linux kernel 5.10.0-5.1-liquorix-amd64.
Thanks in advance!

Flathub Discourse

Loading

So I was building Chrome again, but once I tried redirecting all my pkg-config calls into the sandbox, I kept seeing this happen over and over again. That’s when I was able to figure out how to reliably reproduce this:

for x in {1..50}; do flatpak run org.freedesktop.Platform//19.08 -c 'echo 123' & done

This just runs 50 short-lived Flatpak processes in parallel. Upon running this, you can see a plethora of errors appear:

ldconfig: ldconfig: Renaming of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c failedChanging access rights of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to 0644 failed: No such file or directory
: No such file or directory
ldconfig: Renaming of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c failed: No such file or directory
error: ldconfig failed, exit status 256
error: ldconfig failed, exit status 256
error: ldconfig failed, exit status 256
ldconfig: Changing access rights of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to 0644 failed: No such file or directory
error: ldconfig failed, exit status 256
ldconfig: Renaming of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c failed: No such file or directory
error: ldconfig failed, exit status 256
ldconfig: Renaming of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c failed: No such file or directory
error: ldconfig failed, exit status 256
ldconfig: Changing access rights of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to 0644 failed: No such file or directory
error: ldconfig failed, exit status 256
ldconfig: Changing access rights of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to 0644 failed: No such file or directory
error: ldconfig failed, exit status 256
ldconfig: Renaming of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c failed: No such file or directory
error: ldconfig failed, exit status 256
ldconfig: Renaming of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c failed: No such file or directory
error: ldconfig failed, exit status 256
ldconfig: Changing access rights of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to 0644 failed: No such file or directory
error: ldconfig failed, exit status 256
ldconfig: Renaming of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c failed: No such file or directory
error: Can't open generated ld.so.cache
error: ldconfig failed, exit status 256
ldconfig: Changing access rights of /run/ld-so-cache-dir/112bb263f675d03860a13039cd49f7b27bc1750a1838021ad617121117e4ff2c~ to 0644 failed: No such file or directory
error: ldconfig failed, exit status 256
...

Понравилась статья? Поделить с друзьями:
  • Ошибка ldap что это
  • Ошибка ldap 49 0x31 неправильные учетные данные
  • Ошибка ldap при смене пароля
  • Ошибка ldap invalid credentials 49
  • Ошибка ldap 82 0x52 локальная ошибка