- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: rpm2cpio - extracting rpm contects : cannot r...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2005 11:10 PM
тАО11-06-2005 11:10 PM
rpm2cpio - extracting rpm contects : cannot re-open payload
rpm2cpio
as well as other combinations. However it keeps failing with the error :
----------------------------
cannot re-open payload:
End of volume
errno: 25, Can't read input
----------------------------
I have worked out the rpm2cpio is either not creating a correct cpio header or cpio is not working correctly.
Can you help with the correct command or an alternative way to extract the rpm please ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2005 11:15 PM
тАО11-06-2005 11:15 PM
Re: rpm2cpio - extracting rpm contects : cannot re-open payload
rpm2cpio file.rpm > file.cpio
Then try various cpio options against file.cpio. If you can successfuly create file.cpio then the cpio command is probably to blame.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2005 12:16 AM
тАО11-07-2005 12:16 AM
Re: rpm2cpio - extracting rpm contects : cannot re-open payload
I have been able to create the cpio file but when i use cpio is gives the error
------------------------------
bash-2.05b# cpio -id < a.cpio
Out of phase--get help
Perhaps the "-c" option should be used
------------------------------
I used the c,b,s options to see if the file format was different but I am still stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2005 12:43 AM
тАО11-07-2005 12:43 AM
Re: rpm2cpio - extracting rpm contects : cannot re-open payload
You could try
# rpm -i --test file.rpm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2005 01:53 AM
тАО11-07-2005 01:53 AM
Re: rpm2cpio - extracting rpm contects : cannot re-open payload
--------------------------------------------cpio -idR < a.cpio
cpio: Out of phase; resyncing.
cpio: Re-synced after skipping 5622042 bytes.
Archive file is incorrect or pathname exceeds MAXPATHLEN
--------------------------------------------
I have not been able to work out the error. Is it related to the rpm size ? the rpm is 768MB but well within the 2gb limit.
I also tried the rpm -i --test file.rpm command, it only advised I would need 603MB of space to install the rpm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2005 08:22 PM
тАО11-07-2005 08:22 PM
Re: rpm2cpio - extracting rpm contects : cannot re-open payload
# rpm -qlp file.rpm
(from memory - I don't have access to a Linux box at present). Check for unusually long file names, or Unicode or something unusual that might upset cpio?