LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-02-2004, 04:45 AM   #1
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Rep: Reputation: 30
Patch installation problem


After unpacking man-1.5m2.tar into man-1.5m2 directory, I tried to install the patch man-1.5m2-80cols.patch and m-1.5m2-manpath.patch. I get similar errors with expect spawn patch 5.39 and procps patch. The rest of the patches installed fine. These are the errors I get:


[root@david sources]# patch -p0 <man-1.5m2-80cols.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur man-1.5l.orig/src/man.c man-1.5l/src/man.c
|--- man-1.5l.orig/src/man.c 2002-12-17 16:28:14.000000000 -0700
|+++ man-1.5l/src/man.c 2003-04-24 16:49:05.000000000 -0600
--------------------------
File to patch:



[root@david sources]# patch -p0 <man-1.5m2-manpath.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur man-1.5k.orig/src/man.conf.in man-1.5k/src/man.conf.in
|--- man-1.5k.orig/src/man.conf.in 2002-07-17 13:08:40.000000000 -0600
|+++ man-1.5k/src/man.conf.in 2002-09-28 17:43:41.000000000 -0600
--------------------------
File to patch:


Please advise.

Thanks !
 
Old 03-02-2004, 05:58 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Have you thought that "Perhaps you used the wrong -p or --strip option"?
I suggest you go back and actually read how to do it. You are using the wrong command, which is not written anywhere in either LFS-5.0 or LFS 5.1-pre1. Anything older than that uses a different version of man.
 
Old 03-02-2004, 06:38 AM   #3
yuray
Member
 
Registered: Apr 2003
Location: Russia, Khotkovo
Distribution: Debian
Posts: 146

Rep: Reputation: 15
cp man-1.5m2-manpath.patch man-1.5k
cd man-1.5k
patch -p0 <man-1.5m2-manpath.patch
?
 
Old 03-02-2004, 07:27 AM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Code:
patch -Np1 -i man-1.5m2-manpath

Last edited by 320mb; 03-02-2004 at 07:28 AM.
 
Old 03-03-2004, 12:31 AM   #5
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Original Poster
Rep: Reputation: 30
Thanks for the replies !
 
Old 03-14-2004, 12:03 AM   #6
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
sorry... not sure how this got into this post..

Last edited by Zero-0-Effect; 03-14-2004 at 02:57 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Verifying Patch installation ceyan Solaris / OpenSolaris 3 08-21-2004 05:02 AM
sendmail patch installation muks Linux - Networking 1 10-09-2003 07:58 PM
OpenSSH patch installation Obscure Linux - Security 6 09-22-2003 04:06 PM
6.14.2 glibc installation - patch command not found itsjustme Linux From Scratch 4 07-23-2003 05:04 PM
RPM Rollback (Patch installation) adme Linux - General 3 04-15-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:45 PM.

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