No such file or directory message when extracting the linux cpio file on window vista
GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No such file or directory message when extracting the linux cpio file on window vista
Hi, Not able to proceed with following command. could somebody help? Thank you.
Eugene
c:\Program Files\GnuWin32\bin>cpio -i < "c:\Temp\hme\mobilsync.cpio" -v
cpio: etc/databases/mobilsync.conf: No such file or directory
etc/databases/mobilsync.conf
cpio: etc/mobilsync-message.properties: No such file or directory
etc/mobilsync-message.properties
cpio: etc/mobilsync.conf: No such file or directory
etc/mobilsync.conf
cpio: lib/war/mobilsync-mind.war: No such file or directory
lib/war/mobilsync-mind.war
cpio: lib/war/mobilsync.war: No such file or directory
lib/war/mobilsync.war
cpio: sql/golden/mobilsync.sql: No such file or directory
sql/golden/mobilsync.sql
cpio: .checksum not created: newer or same age version exists
.checksum
7059 blocks
Upmmm....you're trying to run Linux..in ***dows... (rofl)
To do what you want to do, you need a Linux machine up and running...what you're trying yo do is putting dreadlocks in your hair and hoping you're in Jamaica.
If I'm not mistaken, GnuWin32 is a port of Linux stuff to ***dows. What's the use of that?
Elaborate. What's your goal? Maybe there's a beter wat yo reach the Emerald City
>> What's your goal? Maybe there's a better way yo reach the Emerald City.
Actually I just want to be able to read the code of some files, in text format, within this cpio (for example, mobilsync.conf, mobilsync.sql) after extracting. Is the error message complains about etc\*** directory not created?
Not sure if there is any other, besides build up a linux machine..
-rw-r--r-- 1 eugene 0 1849572 Dec 31 1969 lib/war/mobilsync.war
-rw-r--r-- 1 eugene 0 7165 Dec 31 1969 sql/golden/mobilsync.sql
-rw------- 1 eugene 0 353 Dec 31 1969 .checksum
7059 blocks
c:\Program Files\GnuWin32\bin>cpio -i < "c:\Temp\hme\mobilsync.cpio" -v
cpio: etc/databases/mobilsync.conf: No such file or directory
etc/databases/mobilsync.conf
cpio: etc/mobilsync-message.properties: No such file or directory
etc/mobilsync-message.properties
cpio: etc/mobilsync.conf: No such file or directory
etc/mobilsync.conf
cpio: lib/war/mobilsync-mind.war: No such file or directory
lib/war/mobilsync-mind.war
cpio: lib/war/mobilsync.war: No such file or directory
lib/war/mobilsync.war
cpio: sql/golden/mobilsync.sql: No such file or directory
sql/golden/mobilsync.sql
cpio: .checksum not created: newer or same age version exists
.checksum
7059 blocks
Not sure if there is any other, besides build up a linux machine.
Yes there is, and it's not gonna cost ya! Use a Live CD...does NOT come near your harddrive and you have a fully funtional system in memory.
But...if reading the contents is what you're after...maybe just extracting files into a folder and opening them with notepad (is that still in there? **dows is ancient history for me) should be possible, Linux is OPEN, as in: all is readable by the simplest editor...that should be possible with notepad...
Of course, conf files are the result of an install and a read of the machine's capacities...maybe a dedicated Linux box would'nt be such a bad idea after all...
c:\Program Files\GnuWin32\bin
that it looks like a royally messed up Mingw install
mingw dose NOT like the "program files" folder
( the "space" in the name ) and missing two directories
MinGW should be
C:\\GnuWin32/MinGW/bin
C:\\GnuWin32/MinGW/lib
C:\\GnuWin32/MinGW/include
--- and so on----
C:\\GnuWin32/Msys/bin
C:\\GnuWin32/Msys/lib
C:\\GnuWin32/Msys/etc
if all you want to do is extract files and "read" them
then 7zip should not have a problem extracting the files in the archive
and the text editor" SciTE " will be able to read it
( notepad will show you EVERYTHING on one line - one VERY long SINGLE line of text )
MinGW and GnuWin32 are different projects, although you can use GnuWin32 stuff with MinGW + Msys. I'm completely Windowless now, so I can't test the cpio problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.