| Summary: | Rpm cpio unpack error when installing freedroidrpg or texlive-collection-basic on btrfs (-ENOSPC strikes back) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Otto Leipälä <ottoleipala1> |
| Component: | RPM Packages | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | kernel, marja11, ngompa13, pterjan, rpmstack, rverschelde, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://btrfs.wiki.kernel.org/index.php/FAQ#How_much_free_space_do_I_have.3F | ||
| Whiteboard: | |||
| Source RPM: | kernel | CVE: | |
| Status comment: | |||
|
Description
Otto Leipälä
2016-11-07 17:38:34 CET
I can _not_ reproduce this on a 64bit system with updated rpm-4.13.0-3.mga6 and with cpio-2.12-3.mga6 Installing freedroid + freedroidrpg-data works fine, without error. @ Otto Did you hit this on a 32bit, or on a 64bit system? What is the output of: rpm -qa | grep cpio CC:
(none) =>
marja11 This is 64bit system and cpio-2.12-3.mga6. (In reply to Otto Leipälä from comment #2) > This is 64bit system and cpio-2.12-3.mga6. So you seem to have everything the same as I have. Can you start, as root, journalctl -af 2>&1 | tee journal.txt and then again try to install those packages. If it fails again, then please attach journal.txt to this bug report. (I'm not sure it'll contain more information than you already gave, but it won't harm) This is only in journal localhost [RPM][3193]: install freedroidrpg-data-0.16.1-1.mga6.noarch: failure. (In reply to Otto Leipälä from comment #4) > This is only in journal localhost [RPM][3193]: install > freedroidrpg-data-0.16.1-1.mga6.noarch: failure. So it still fails :-( @ rpmstack maintainers @ Akien I don't have a clue why Otto can't install freedroidrpg-data, do you have any ideas? Keywords:
NEEDINFO =>
(none) @ Otto Btw, what is the output of: ll -d /usr/share/games Priviledges is this: drwxr-xr-x 1 root root. Maybe remi have idea what cause this as he builds most of games. Could be the usual packaging bug where a directory is replaced by a file or a symlink (or vice versa) Was it an install or a package update? (aka was an older version previously installed?) Keywords:
(none) =>
NEEDINFO It was install not update from previous version. (In reply to Thierry Vignaud from comment #8) > Could be the usual packaging bug where a directory is replaced by a file or > a symlink (or vice versa) > Was it an install or a package update? (aka was an older version previously > installed?) (In reply to Otto Leipälä from comment #9) > It was install not update from previous version. I did clean install, too (after first removing the package, and verifying that /usr/share/games/freedroidrpg/ had been removed, too), when I could _not_ reproduce the issue :-/ Next packages fails with same error texlive-collection-basic and poppler.
error: archive file /usr/share/texmf-dist/fonts/tfm/urw35vf/helvetic/uhvbo8c.tfm
failed to uncompress: cpio: rename
ERROR: 'unpack' failed for texlive-collection-basic-20160523-6.mga6.noarch
virhe: texlive-collection-basic-20160523-6.mga6.noarch: install failed
45/51: xsltproc ##################################################################################
46/51: mutagen ##################################################################################
47/51: libwpd-tools ##################################################################################
48/51: poppler ##################################################################################
warning: %posttrans(texlive-20160523-1.mga6.x86_64) skript fails, returned 127
ERROR: 'script' failed for poppler-0.47.0-1.mga6.x86_64
@ Otto How much free space do you have on the partition where /usr lives? 21 gigas btrfs from 30g / partition should not be size problem. Please post: ls -l /usr/share/games/freedroidrpg/graphics/items/weapons/mace/portrait_0002.jpg /usr/share/texmf-dist/fonts/tfm/urw35vf/helvetic/uhvbo8c.tfm CC:
(none) =>
pterjan And while we are at it, ls -ld /usr/share/games/freedroidrpg /usr/share/games/freedroidrpg/graphics /usr/share/games/freedroidrpg/graphics/items /usr/share/games/freedroidrpg/graphics/items/weapons /usr/share/games/freedroidrpg/graphics/items/weapons/mace (In reply to Otto Leipälä from comment #13) > 21 gigas btrfs from 30g / partition should not be size problem. Indeed it can. Btrfs is prone to -ENOSPC errors despite having lots of free space... Source RPM:
freedroidrpg-data =>
freedroidrpg-data, kernel? btrfs fi show
Label: none uuid: 10844522-ec7b-4017-a3ff-1d8f6e8e4419
Total devices 1 FS bytes used 8.05GiB
devid 1 size 29.30GiB used 10.52GiB path /dev/sda2
btrfs fi df /
Data, single: total=10.01GiB, used=7.86GiB
System, single: total=4.00MiB, used=16.00KiB
Metadata, single: total=520.00MiB, used=196.78MiB
GlobalReserve, single: total=18.56MiB, used=0.00B
@Pascal Terjan ld can't show any information something is not installed.
Yes, hence my question. I wanted to know what exists and what doesn't. Freedroidrpg main meta package installs but not -data package what install files to /usr/share/games. CC'ing kernel maintainers. I don't know how to read the information Otto gave in comment 17, nor do I know whether more information is needed to rule out or confirm) the problem is with Btrfs. Summary:
Rpm cpio unpack error when installing freedroidrpg on btrfs =>
Rpm cpio unpack error when installing freedroidrpg or texlive-collection-basic on btrfs
Thierry Vignaud
2016-11-08 13:25:13 CET
URL:
(none) =>
https://btrfs.wiki.kernel.org/index.php/FAQ#How_much_free_space_do_I_have.3F It's btrfs i did rule my main install to see if ext4 works,it install all packages without no any errors as i have 50mb 4g connection speed is quite good 1-5mb/s to do mini install. I did even backported freedroidrpg some time ago to Mageia 5 with same amount of packages installed,only expection was i did have compress-force=zlib added in stage2 custom lines in expert partitioning.
Thierry Vignaud
2016-11-08 14:02:47 CET
Summary:
Rpm cpio unpack error when installing freedroidrpg or texlive-collection-basic on btrfs =>
Rpm cpio unpack error when installing freedroidrpg or texlive-collection-basic on btrfs (-ENOSPC strikes back) There is a patch pending in the btrfs ML related to ENOSPC issues with compression enabled[1]. Aside from the btrfs dedupe work, I don't know of any other pending ENOSPC issues that need to be addressed. Most of the ENOSPC issues should be resolved with the landing of the rework in Linux kernel 4.8[2] aside from the one targeted at compressed filesystems. [1]: https://patchwork.kernel.org/patch/9411743/ [2]: http://www.phoronix.com/scan.php?page=news_item&px=Btrfs-Linux-4.8-ENOSPC CC:
(none) =>
ngompa13 Should that affect if no compression is enabled ? as that system where that fails happening was not compressed at all. I think it's good time to stick with ext4 it's way more stable and usable filesystem right now i see btrfs have potential but it's in year 2040 or later. (In reply to Otto Leipälä from comment #23) > Should that affect if no compression is enabled ? as that system where that > fails happening was not compressed at all. > > I think it's good time to stick with ext4 it's way more stable and usable > filesystem right now i see btrfs have potential but it's in year 2040 or > later. What kernel are you running? I am running 4.8.6-desktop-1.mga6.
Marja Van Waes
2016-11-11 20:38:53 CET
Assignee:
bugsquad =>
kernel I'll close this as resolved as bug is too old... Status:
NEW =>
RESOLVED |