Description of problem: Installation fails with error: "unpack failed for java-openjdk" Version-Release number of selected component (if applicable): Mageia-3-beta4-x86_64-DVD How reproducible: Quite easy. Happened both times I tested. Steps to Reproduce: 1. Boot installer 2. Choose NZ language 3. Setup enough disk space (10 GB) 4. Select custom package selection 5. Tick all the checkboxes for the package groups, including KDE, GNOME, development, etc. etc. (but not, individual package selection) 6. Part way through installation, it will fail. Screenshot and bug report attached. Reproducible: Steps to Reproduce:
Created attachment 3667 [details] screenshot
Created attachment 3668 [details] bug report
release blocker, because it's within the installer, and actually quite easy to trigger.
Priority: Normal => release_blockerWhiteboard: (none) => 3beta4
confirmed in the ml
Assignee: bugsquad => ennael1
* urpmi error: ERROR: 'unpack' failed for java-1.7.0-openjdk-1.7.0.6-2.3.8.2.mga3.x86_64: * java-1.7.0-openjdk not installed, unpacking of archive failed on file /usr/lib/jvm/jre-1.7.0-openjdk.x86_64: cpio: rename failed - Resource temporarily unavailable maybe something for thierry or dmorgan too
CC: (none) => dmorganec, thierry.vignaudHardware: x86_64 => All
I just test an iso that Anne pushed on the server, it worked in a VM. If someone can test in a physical machine, it would be great ! Thanks
CC: (none) => cazzaniga.sandro
I think this will be fixed when dmorgan syncs this change from Fedora: http://pkgs.fedoraproject.org/cgit/java-1.7.0-openjdk.git/commit/?id=b4ca7f6419531b155313ebc75fb159621e88d5aa
CC: (none) => luigiwalser
CC: (none) => wilcal.int
This is obviously _NOT_ an installer bug but a package one! Stop affecting everything to the installer And it's easily reproducible with urpmi (both 32 & 64bit): Preparing... ############################################# 1/2: liblcms2_2 ############################################# 2/2: java-1.7.0-openjdk ############################################# error: unpacking of archive failed on file /usr/lib/jvm/jre-1.7.0-openjdk: cpio: rename failed - Is a directory ERROR: 'unpack' failed for java-1.7.0-openjdk-1.7.0.6-2.3.8.2.mga3.i586: error: java-1.7.0-openjdk-1:1.7.0.6-2.3.8.2.mga3.i586: install failed file being replaced by a directory or viceversa has always needed special handling in %pre
Component: Installer => RPM PackagesSource RPM: (none) => java-1.7.0-openjdk-1.7.0.6-2.3.8.2.mga3
Maybe a bug in %post/%postuninstall that plays with /usr/lib/jvm/jre-1.7.0-openjdk Why the fsck is it done when that location is already packaged (as a symlink)???? Even on initial install, we can see that it packages some files in a directory and a parent directory as a symlink (worse to a subdirectory!!!): # ls -o T/usr/lib/jvm total 8 drwxr-xr-x 3 root 4096 Meu 28 07:04 java-1.7.0-openjdk-1.7.0.6/ drwxr-xr-x 3 root 4096 Meu 28 07:04 jre-1.7.0-openjdk/ lrwxrwxrwx 1 root 30 Meu 28 07:04 jre-1.7.0-openjdk;5153dd56 -> java-1.7.0-openjdk-1.7.0.6/jre/ (jre-1.7.0-openjdk containing an empty lib/i386/server/ subdirectory) Thus after having installed some files in a directory, rpm is asked to replace this directory by a symlink (which is known to be impossible for as long as mdk/mdv/mga existed) which is related to: %global jrelnk jre-%{javaver}-%{origin}.%{_arch} %global jredir %{sdkdir}/jre (...) # Install versionless symlinks. pushd $RPM_BUILD_ROOT%{_jvmdir} ln -sf %{jredir} %{jrelnk} ln -sf %{sdkdir} %{sdklnk} popd pushd $RPM_BUILD_ROOT%{_jvmjardir} ln -sf %{sdkdir} %{jrelnk} ln -sf %{sdkdir} %{sdklnk} popd
Summary: Installation of packages from DVD fails => java-1.7.0-openjdk fails to install
>This is obviously _NOT_ an installer bug but a package one! >Stop affecting everything to the installer Well, sorry it's hard to know sometimes (for me at least) if the bug is in rpm/in the rpm/or in the installer. Thanks anyway.
Keywords: (none) => TriagedAssignee: ennael1 => dmorganec
Please test java package. It should fix this issue. Rebuilding isos at the moment with this package
CC: (none) => ennael1
Tested installation, works as expected now. All packages installed OK. Plus, tested that after installation, java-1.7.0-openjdk was installed OK.
Status: NEW => RESOLVEDResolution: (none) => FIXED