LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-21-2004, 03:15 PM   #1
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
patching issues


i can usually patch just fine, but every now and then on some programs i will try to patch

patch -Np1 -i patchname.patch

and get an error like

HUNK 1 of 1 failed, all rejects are kept in filename

this happens only some of the time, on other machines the patch may work just fine. What causes this? is there a dependancy i dont have? i cant give specifics as to what patches do it, as any of them may on certain machines.
 
Old 06-21-2004, 03:37 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It means that the patch program wasn't able to find the place modified by the patch file. There are many possible reasons. Two most common ones are:
* source you're patching is in a different version that the one the patch was build for - probably even the patch is already included
* you have another patch that changed the same fragment, so it now looks differently
 
Old 06-21-2004, 11:54 PM   #3
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Original Poster
Rep: Reputation: 32
thank you very much
 
  


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
Patching 2.6 Biotachyonic Linux - Laptop and Netbook 2 08-24-2005 10:04 PM
Patching bong.mau Mandriva 4 04-25-2004 03:12 PM
patching ybaws Linux - Software 3 04-02-2004 04:52 PM
ucspi patching issues rh9 ewlnxnewB Programming 0 11-27-2003 02:44 AM
patching janu Linux - Software 1 01-06-2003 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:04 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