Bug 1919907 - impossible to install rpm: CPIO symlink error
Summary: impossible to install rpm: CPIO symlink error
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 34
Hardware: aarch64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-25 11:45 UTC by customercare
Modified: 2021-07-05 12:06 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-07-05 11:53:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot to illustrate (556.62 KB, image/png)
2021-01-25 11:45 UTC, customercare
no flags Details

Description customercare 2021-01-25 11:45:04 UTC
Created attachment 1750490 [details]
screenshot to illustrate

Device:

Pinephone

Description of problem:

the grub2-efi-aa64-1:2.04-34.fc34 rpm is not installable.

Error:

"Unpacking the archive has failed at file /boot/grub2/grubenv;60089395: cpio: symlink" 

see screenshot.


Version-Release number of selected component (if applicable):

2.04-34

Comment 1 customercare 2021-01-26 13:44:18 UTC
Problem:

[root@fedorapine boot]# rpm -U /var/cache/dnf/rawhide-135a69fc59e3201d/packages/grub2-efi-aa64-2.04-34.fc34.aarch64.rpm
Fehler: Entpacken des Archivs fehlgeschlagen bei Datei /boot/grub2/grubenv;60101be4: cpio: symlink fehlgeschlagen - Datei oder Verzeichnis nicht gefunden
Fehler: grub2-efi-aa64-1:2.04-34.fc34.aarch64: installieren fehlgeschlagen
Fehler: grub2-efi-aa64-1:2.04-31.fc34.aarch64: löschen übersprungen
[root@fedorapine boot]# ll /boot/
insgesamt 14164
drwxr-xr-x 2 root root     4096 24. Jan 20:27 allwinner
-rwxr-xr-x 1 root root      568 22. Jan 19:47 boot.cmd
-rwxr-xr-x 1 root root      640 22. Jan 19:47 boot.scr
drwxr-xr-x 4 root root     4096 16. Jan 18:58 efi
drwxr-xr-x 2 root root     4096 26. Jan 14:39 grub2
-rwxr-xr-x 1 root root 13672456 22. Jan 19:47 Image
drwxr-xr-x 2 root root     4096 16. Jan 19:00 loader
-rwxr-xr-x 1 root root   796915 12. Jan 18:55 u-boot-sunxi-with-spl.bin
-rwxr-xr-x 1 root root      194 12. Jan 18:55 update-uboot.sh

Fix:

[root@fedorapine boot]# touch /boot/grub2/grubenv
[root@fedorapine boot]# rpm -U /var/cache/dnf/rawhide-135a69fc59e3201d/packages/grub2-efi-aa64-2.04-34.fc34.aarch64.rpm
[root@fedorapine boot]#

Comment 2 customercare 2021-01-26 13:54:31 UTC
caused by a not existing grubenv file.

Comment 3 Ben Cotton 2021-02-09 16:13:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 4 Javier Martinez Canillas 2021-06-29 20:49:21 UTC
Is this issue still present with the latest grub2 2.06 version?

Comment 5 Javier Martinez Canillas 2021-07-05 11:53:43 UTC
I was not able to reproduce this issue and was not confirmed that is still present with the
latest grub2 package version. I'll just close it, but feel free to reopen and provide more
details if the problem persists.

Comment 6 customercare 2021-07-05 12:04:43 UTC
sorry for the late reply, the pinephone does not use grub at all, so we kicked the package from our image ;)

due to the 6 months this took, i son't think this bug is relevant anymore.

Comment 7 Javier Martinez Canillas 2021-07-05 12:06:17 UTC
(In reply to customercare from comment #6)
> sorry for the late reply, the pinephone does not use grub at all, so we
> kicked the package from our image ;)
>

Ok, thanks for the info.
 
> due to the 6 months this took, i son't think this bug is relevant anymore.

Yes, I think so. Since is the only bug reported for this issue.


Note You need to log in before you can comment on or make changes to this bug.