RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 673174 - error: unpacking of archive failed: cpio: lstat failed - Resource temporarily unavailable
Summary: error: unpacking of archive failed: cpio: lstat failed - Resource temporarily...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: eclipse-mylyn
Version: 6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Aniszczyk
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
: 676233 (view as bug list)
Depends On:
Blocks: 670159
TreeView+ depends on / blocked
 
Reported: 2011-01-27 16:20 UTC by Alexander Todorov
Modified: 2014-07-25 05:53 UTC (History)
6 users (show)

Fixed In Version: eclipse-mylyn-3_4_2-9_el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 11:43:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (143.01 KB, image/png)
2011-01-27 16:20 UTC, Alexander Todorov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0568 0 normal SHIPPED_LIVE Low: eclipse security, bug fix, and enhancement update 2011-05-19 11:42:43 UTC

Description Alexander Todorov 2011-01-27 16:20:45 UTC
Created attachment 475633 [details]
screenshot

Description of problem:
During installation I get this error in install.log:

Installing eclipse-mylyn-3.4.2-8.el6.x86_64
error: unpacking of archive failed: cpio: lstat failed - Resource temporarily unavailable

Resource temporarily unavailable sounds like a networking issue but IIRC anaconda should be able to retry the download. Filing against anaconda to get more visibility to this issue.


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

How reproducible:
always

Steps to Reproduce:
1. Perform install with

%packages
*
-@conflicts-<variant>

2.
3.
  
Actual results:
When at 2133 of 2756 packages I get an error that eclipse-mylyn package can't be installed (see screenshot). The error above in in install.log.

Expected results:


Additional info:

Comment 2 RHEL Program Management 2011-01-27 16:28:20 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Ondrej Vasik 2011-01-27 16:41:28 UTC
Chris, could you please specify why do you think that the problem is in cpio? Alex, is there strace available?

Comment 4 David Cantrell 2011-01-27 17:53:17 UTC
The error is in install.log, which is from yum, so this is most likely an rpm bug.

Comment 5 Ondrej Vasik 2011-01-27 23:13:56 UTC
So ... let's try rpm guys ;)

Comment 6 Alexander Todorov 2011-01-28 08:13:36 UTC
(In reply to comment #3)
> Alex, is there strace available?

You can find all available logs in comment #1 but looking at them I don't see anything that tells me something is wrong.

Comment 7 Panu Matilainen 2011-01-28 10:05:56 UTC
lstat() returning EAGAIN? Oh well, there's first time for everything...

Too bad it's not saying anything about the failing file :-/ A strace log (with -elstat to limit the noise) would be helpful.

AFAICS there are network filesystems involved apart from the install method being nfs, unless some package is doing funky tricks in %post. It'd be interesting to know whether this is reproducable with non-nfs installation, and when did this error start occurring (eg is this reproducable with RHEL 6.0.0).

Comment 8 Panu Matilainen 2011-01-28 11:32:17 UTC
Actually ignore the above, no need for further information as I'm able to reproduce this locally with just 'yum install eclipse-mylyn' to a chroot from rhel6 repository.

Comment 9 Panu Matilainen 2011-01-28 13:00:11 UTC
Okay, the EAGAIN looks like it's "leaked" from somewhere (yum callback possibly), installing directly with rpm gives ENOTDIR which leads to the smoking gun:
eclipse-mylyn is trying to install stuff into %{_libdir}/eclipse/eclipse/dropins but %{_libdir}/eclipse/eclipse is a regular file from eclipse-platform package. I'm not at all familiar with eclipse tree structure but I'd suppose eclipse-mylyn should be putting its files into %{_libdir}/eclipse/dropins/ instead.

So apart from the error message being misleading and obscure, this is a packaging bug.

Comment 10 Michal Nowak 2011-02-02 15:36:50 UTC
Chris, what do you think about comment #9? Looks reasonable to me. Can we have a new spin to 6.1 erratum, please?

Comment 11 Chris Aniszczyk 2011-02-02 20:15:07 UTC
Investigating.

Comment 12 Chris Aniszczyk 2011-02-02 20:17:33 UTC
In the spec file we set...

%global install_loc         %{_datadir}/eclipse/dropins

Then when we install..


%install
rm -rf %{buildroot}
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/eclipse
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}/mylyn
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}/mylyn-java
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}/mylyn-pde
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}/mylyn-trac
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}/mylyn-webtasks
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}/mylyn-wikitext

Looks like we are doing the right thing?

Andrew, do you have some thoughts here?

Comment 13 Andrew Overholt 2011-02-02 21:08:48 UTC
Is it possible that install_loc being leaked from some other RPM in the transaction?

Comment 14 Michal Nowak 2011-02-03 09:50:30 UTC
It fails even when installing mylyn* packages only.

Comment 15 Andrew Overholt 2011-02-03 15:21:37 UTC
I will commit the following fix once I get the acks:

diff -u -r1.24 eclipse-mylyn.spec
--- eclipse-mylyn.spec	17 Jan 2011 18:09:05 -0000	1.24
+++ eclipse-mylyn.spec	3 Feb 2011 15:19:54 -0000
@@ -3,7 +3,7 @@
 %endif
 
 %global eclipse_base        %{_libdir}/eclipse
-%global install_loc         %{eclipse_base}/eclipse/dropins
+%global install_loc         %{eclipse_base}/dropins
 # Taken from update site so we match upstream
 # http://download.eclipse.org/tools/mylyn/update/e3.5/
 %global qualifier           v20100916-0100-e3x

Comment 16 Chris Aniszczyk 2011-02-03 15:59:12 UTC
Fixed in eclipse-mylyn-3_4_2-9_el6

https://brewweb.devel.redhat.com/brew/taskinfo?taskID=3085572

Comment 19 Michal Nowak 2011-03-09 14:23:05 UTC
*** Bug 676233 has been marked as a duplicate of this bug. ***

Comment 21 errata-xmlrpc 2011-05-19 11:43:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0568.html


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