Tech Support > Operating Systems > Linux / Variants > patch
patch
Posted by Mike on August 15th, 2003




Posted by Mike on August 15th, 2003


Joël Bourquard wrote:
typing "Enter"

Posted by Ed Murphy on August 15th, 2003


On Fri, 15 Aug 2003 20:09:22 +0300, Mike wrote:

[Both of you, please don't top-post. Fixed.]

Unix/Linux commands are often silent if they encounter no errors.

Try this: tar -xvz patch_browsehelp.tar.gz -C /usr/bin/scilab

The "v" is for "verbose".

More to the point, what files are supposed to be added/changed
in /usr/bin/scilab by this patch, and have they actually been
added/changed? Try this: ls -l /usr/bin/scilab | more


Posted by Ed Murphy on August 16th, 2003


On Sat, 16 Aug 2003 18:31:34 +0300, Mike wrote:

The command still should have said *something*, either "I did foo"
or "I couldn't do foo because bar""

That's a symbolic link. (man ln) Type this:
ls -l /usr/lib/scilab-2.7/bin/scilab | more


Posted by Mike on August 16th, 2003


Ed Murphy wrote:
-rwxrwxr-x 1 root root 5622 July 27 19:12 /usr/lib/scilab-2.7/bin/scilab


Posted by Ed Murphy on August 16th, 2003


On Sat, 16 Aug 2003 20:51:57 +0300, Mike wrote:

Okay, type this:
file /usr/bin/scilab-2.7/bin/scilab

This will probably reveal that /usr/bin/scilab-2.7/bin/scilab is an
executable. I was thinking that it might be a directory containing
one or more executables. (I really should have guessed otherwise.)

You're probably supposed to install the patch somewhere else in the
/usr/lib/scilab-2.7 directory. Ask Inria exactly where! Send them
the contents of this discussion.


Posted by Jonathan A. on August 17th, 2003


On Sat, 16 Aug 2003 16:54:20 GMT, Ed Murphy
<emurphy42@socal.rr.com> appears to have said:

A day late, but...

Tar says nothing because it is patiently waiting for input that's not
going to come. You need an "f" for file.

tar -zxvf patch_browsehelp.tar.gz

But first, I would do "tar -tzf patch_browsehelp.tar.gz" to verify
without extracting the contents... get a view of the structure of
the tar archive so you can see that the files are going to go where
you expect them to.

And I wouldn't apply the "patch" without backing up the directory
in question first. Better to be able to revert to a known state that
was broken than to be presented with a new, unknown, and maybe *more*
broken state that you don't know how to recover from.

HTH,
Jonathan

--
Don't just hit reply. Email address is broken. Thank
your friendly neighborhood spammer. Email replies to:
user: jnthn1 domain: earthlink<dot>net


Similar Posts