FarisZR
(FarisZR)
24 يونيو 2023، 8:36م
1
تم اكتشاف علة جديدة في إصدار 2023.4 من مكتبة ostree-libs, العلة تتسبب بتعطل Flatpak بالكامل, بحيث لا يمكنك تنزيل او تحديث او حذف اي برنامَج.
الخطا الذي سيظهر لك عند تنزيل برنامَج سيكون مشابه لهذا:
while pullin xxx from remote flathub: Writing content object: Need more input
الحل
مازال لم يصدر تحديث يحل العلة, الحل الوحيد حاليا هو العودة لإصدار اقدم.
لمستخدمين Fedora هذا الأمر سوف يقوم تنزيل الإصدار السابق من ostree-libs تِلْقائيًا
sudo dnf downgrade ostree-libs
وهناك تقارير تشير المكانية تنزيل البرامج مع صلاحيات الجذر, لكن هذا لا ينصح به, لأنه يلغي احد اكبر ميزات Flatpak.
المصادر
مفتوحة 01:22PM - 23 Jun 23 UTC
As reported on https://github.com/flatpak/flatpak/issues/5452, multiple Fedora u… sers seem to be seeing Flatpak update failures since their OS was upgraded from libostree 2023.3 to 2023.4. @yuntaz0 reports in https://github.com/flatpak/flatpak/issues/5452#issuecomment-1604140400 that rolling back to a previous OS image resolves this for them; only a few packages were involved in that rollback, of which libostree seems like the most likely cause for a Flatpak regression.
I haven't packaged 2023.4 for my OS (Debian) yet, so I have no particular insight into this myself.
مفتوحة 02:30PM - 22 Jun 23 UTC
مغلقة 12:26PM - 28 Jun 23 UTC
bug
### Checklist
- [X] I agree to follow the [Code of Conduct](https://github.com/… flatpak/flatpak/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/flatpak/flatpak/issues) for a bug that matches the one I want to file, without success.
- [X] 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.
- [X] This issue is not a report of a security vulnerability (see [here](https://github.com/flatpak/flatpak/blob/main/SECURITY.md) if you need to report a security issue).
### Flatpak version
1.15.4
### What Linux distribution are you using?
Void Linux
### Linux distribution version
Linux 6.1.34_1
### What architecture are you using?
x86_64
### How to reproduce
1. `sudo xbps-install flatpak`
2. `flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo`
3. Reboot system
4. `flatpak install <any_application>`
### Expected Behavior
An app will be installed without any problems.
### Actual Behavior
```
flatpak install discord-screenaudio
Looking for matches…
Found ref ‘app/de.shorsh.discord-screenaudio/x86_64/stable’ in remote ‘flathub’ (system).
Use this ref? [Y/n]:
Required runtime for de.shorsh.discord-screenaudio/x86_64/stable (runtime/org.kde.Platform/x86_64/5.15-22.08) found in remote flathub
Do you want to install it? [Y/n]:
de.shorsh.discord-screenaudio permissions:
ipc network fallback-x11 pulseaudio wayland x11 devices file access [1] dbus access [2]
[1] xdg-config/kdeglobals:ro, xdg-download, xdg-pictures:ro, xdg-run/pipewire-0, xdg-videos:ro
[2] com.canonical.AppMenu.Registrar, org.freedesktop.Notifications, org.kde.KGlobalSettings, org.kde.StatusNotifierWatcher, org.kde.kconfig.notify, org.kde.kglobalaccel
ID Branch Op Remote Download
1. [✗] de.shorsh.discord_screenaudio.Locale stable i flathub 1.6 MB / 55.3 MB
2. [✗] org.freedesktop.Platform.GL.default 22.08 i flathub 46.4 MB / 143.1 MB
3. [✗] org.freedesktop.Platform.GL.default 22.08-extra i flathub 47.8 MB / 143.1 MB
4. [✗] org.freedesktop.Platform.openh264 2.2.0 i flathub 1.0 MB / 944.3 kB
5. [✗] org.kde.KStyle.Adwaita 5.15-22.08 i flathub 6.2 MB / 6.6 MB
6. [✗] org.kde.Platform.Locale 5.15-22.08 i flathub 66.6 MB / 355.0 MB
7. [✗] org.kde.PlatformTheme.QGnomePlatform 5.15-22.08 i flathub 10.5 MB / 10.6 MB
8. [✗] org.kde.WaylandDecoration.QGnomePlatform-decoration 5.15-22.08 i flathub 10.8 MB / 11.1 MB
9. [✗] org.kde.Platform 5.15-22.08 i flathub 116.3 MB / 323.9 MB
10. [ ] de.shorsh.discord-screenaudio stable i flathub < 74.0 MB
Warning: While pulling runtime/de.shorsh.discord_screenaudio.Locale/x86_64/stable from remote flathub: Writing content object: Need more input
Warning: While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 from remote flathub: Writing content object: Need more input
Warning: While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra from remote flathub: Writing content object: Need more input
Warning: While pulling runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 from remote flathub: Writing content object: Need more input
Warning: While pulling runtime/org.kde.KStyle.Adwaita/x86_64/5.15-22.08 from remote flathub: Writing content object: Need more input
Warning: While pulling runtime/org.kde.Platform.Locale/x86_64/5.15-22.08 from remote flathub: Writing content object: Need more input
Warning: While pulling runtime/org.kde.PlatformTheme.QGnomePlatform/x86_64/5.15-22.08 from remote flathub: Writing content object: Need more input
Warning: While pulling runtime/org.kde.WaylandDecoration.QGnomePlatform-decoration/x86_64/5.15-22.08 from remote flathub: Writing content object: Invalid compressed data
Error: While pulling runtime/org.kde.Platform/x86_64/5.15-22.08 from remote flathub: Writing content object: Need more input
error: Failed to install org.kde.Platform: While pulling runtime/org.kde.Platform/x86_64/5.15-22.08 from remote flathub: Writing content object: Need more input
```
### Additional Information
I'm using void linux with glibc, gnome, pipewire and wayland.
This bug works with any app, not only the `discord-screenaudio` (I've tried `Epiphany`, `ExtensionManager` and etc.)
Also I have tried to:
* Remove the remote and set it up again
* `flatpak repair`
* `sudo flatpak repair`
* `flatpak repair --user`
* `flatpak unsinstall --unsued`
* `flatpak update`
* `flatpak update --appstream`
* `sudo xbps-remove -R -O flatpak; sudo xbps-install flatpak`
* `sudo xbps-install -Suy`
lnx0
(Khalid)
27 يونيو 2023، 2:13م
2
تم اصلاح علة Flatpak على فيدورا.
يكفي تحديث التوزيعة عن طريق الأمر
sudo dnf update
سوف يتم تنزيل الإصدار ostree-libs-2023.4-2 تِلْقائيًا.