proot-distro icon indicating copy to clipboard operation
proot-distro copied to clipboard

[General]: Packages filesystem on fedora crashes updates(with suggestions)

Open pablo-fior opened this issue 6 months ago • 1 comments

Description

If you pd install fedora then pd login fedora and dnf update, the upgrade of the filesystem package returns:

[RPM] unpacking of archive failed on file /bin;6844b124: cpio: symlink failed - Directory not empty Unpack error: filesystem-0:3.18-42.fc42.aarch64

I have tried a solution posted on a fedora blog which recomments to sudo rpm -e --nodeps filesystem then dnf download filesystem but The First line excludes almost everything including The sbin directory where dnf is located. So The Second LINE doesn't work

I found that the latest release of the aaarch64 fedora imagem doesnt have this bug, build 20250602

Does anyone haver a fix for this issue?

Or

Can The fedora tarball be updated to bem built upon The latest build?

Thanks in advance

pablo-fior avatar Jun 07 '25 21:06 pablo-fior

Will try updating it

sylirre avatar Jun 20 '25 22:06 sylirre

I also have problem with Fedora 42 with proot. I just got segmentation fault when trying to install or upgrage with dnf. Here is my output:

~ $ proot-distro login fedora
[root@localhost ~]# dnf upgrade
Updating and loading repositories:
 Fedora 42 - aarch64 - Updates                          100% |   2.7 MiB/s |   7.6 MiB |  00m03s
 Fedora 42 openh264 (From Cisco) - aarch64              100% |   5.2 KiB/s |   5.8 KiB |  00m01s
 Fedora 42 - aarch64                                    100% |   7.3 MiB/s |  34.2 MiB |  00m05s
Repositories loaded.
Segmentation fault
[root@localhost ~]#
[root@localhost ~]# dnf install vim
Updating and loading repositories:
Segmentation fault
[root@localhost ~]# dnf clean all
Removed 19 files, 9 directories (total of 86 MiB). 0 errors occurred.
[root@localhost ~]# dnf install vim
Updating and loading repositories:
 Fedora 42 - aarch64 - Updates                          100% |   4.1 MiB/s |   7.3 MiB |  00m02s
 Fedora 42 openh264 (From Cisco) - aarch64              100% |   5.4 KiB/s |   5.8 KiB |  00m01s
 Fedora 42 - aarch64                                    100% |   8.0 MiB/s |  34.2 MiB |  00m04s
Repositories loaded.
Segmentation fault
[root@localhost ~]#

FoxKyong avatar Jul 26 '25 08:07 FoxKyong

@FoxKyong Are you using Android 15?

sylirre avatar Aug 03 '25 21:08 sylirre

@FoxKyong Are you using Android 15?

Yes. Precisely LineageOS 22.2 based on Android 15.

FoxKyong avatar Aug 04 '25 12:08 FoxKyong

I added this bug to Termux packages as well

https://github.com/termux/proot/issues/320

Android 15 on a Samsung One UI 7 Tab S9

tonyabc avatar Aug 04 '25 17:08 tonyabc

Proot-Distro now provides Fedora rootfs with package filesystem excluded from upgrading in /etc/dnf/dnf.conf.

sylirre avatar Aug 10 '25 20:08 sylirre

I just updated proot-distro to 4.28 and it still doesn'twork.

Image

FoxKyong avatar Aug 11 '25 07:08 FoxKyong

@FoxKyong I nowhere mentioned that Android 15 issue was solved (it can't be solved by proot-distro at all).

Only issue with filesystem package which this ticket is about.

Image

sylirre avatar Aug 11 '25 07:08 sylirre

Oh, ok. My bad.

FoxKyong avatar Aug 11 '25 08:08 FoxKyong

@sylirre I am having the same issue. It's Android 15. So is there any solution to it yet?

IshanKBG avatar Oct 02 '25 03:10 IshanKBG

This can't be solved on proot-distro side.

Proot-Distro is a shell script automating usage of proot utility. If proot doesn't work properly, the issues will occur when using the distribution. That's independent of proot-distro.

Soon or later all distributions will begin to fail, e.g. because of GNU libc updates or use of newer system calls.

So please report all issues to proot repo: https://github.com/termux/proot/issues

I do not accept or otherwise process issues of proot utility.

sylirre avatar Oct 02 '25 11:10 sylirre