LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-02-2012, 11:06 AM   #1
echang
LQ Newbie
 
Registered: Oct 2012
Posts: 0

Rep: Reputation: Disabled
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
 
Old 10-02-2012, 11:18 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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

Thor
 
Old 10-02-2012, 11:37 AM   #3
echang
LQ Newbie
 
Registered: Oct 2012
Posts: 0

Original Poster
Rep: Reputation: Disabled
>> 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..

================


c:\Program Files\GnuWin32\bin>cpio -t < "c:\Temp\hme\mobilsync.cpio" -v
-rw-r--r-- 1 eugene 0 69 Dec 31 1969 etc/databases/mobilsync.co
nf
-rw-r--r-- 1 eugene 0 6797 Dec 31 1969 etc/mobilsync-message.prop
erties
-rw-r--r-- 1 eugene 0 3380 Dec 31 1969 etc/mobilsync.conf
-rw-r--r-- 1 eugene 0 1745481 Dec 31 1969 lib/war/mobilsync-mind.war

-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
 
Old 10-02-2012, 11:44 AM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
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...

Thor
 
Old 10-02-2012, 08:28 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Moved: This thread is more suitable in <Non-*NIX/General> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 10-02-2012, 11:12 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
echang
from

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 )
 
Old 10-03-2012, 06:39 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
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.

http://mingw.org/

http://gnuwin32.sourceforge.net/
 
Old 10-05-2012, 02:19 PM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
cpio -id
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
0511-169 extracting tar file: A directory checksum error on media GoBieN AIX 9 07-14-2012 01:58 AM
Extracting File Names from Long Listing of Directory in UNIX Hi_This_is_Dev Programming 15 08-31-2010 11:32 PM
Keep getting the message No such file or directory myhanguk Programming 6 06-30-2007 03:54 AM
extracting cpio.gz file? kushalkoolwal Linux - Desktop 1 11-03-2006 01:54 PM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration