Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 03-28-2009, 03:20 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 18

Rep: Reputation: 0
tar-1.21 patches in Version SVN-200902017

Some of the patches I have used in LFS give me an output of : patch: **** Only garbage was found in the patch input. the one I am at now is the ones for tar-1.121. The book gives the following commands:
patch -Np1 -i ../tar-1.21-testsuite_fix-1.patch
patch -Np1 -i ../tar-1.21-remove_warning-1.patch
so I am not deviating from the commands. Here are my command with the error messages:

/mnt/lfs/sources/tar-1.21$ patch -Np1 -i tar-1.21-testsuite_fix-1.patch
patch: **** Only garbage was found in the patch input.

/mnt/lfs/sources/tar-1.21$ patch -Np1 -i tar-1.21-remove_warning-1.patch
patch: **** Only garbage was found in the patch input.

I guess my question is is this patch no longer need it or do I need to manipulate the patches? I am clueless on how to manipulate the patches.
Old 03-28-2009, 04:02 PM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
First, your actual commands are not the same as the commands in the book. Second, what to the patch files look like if you open them in your favorite text editor. That error generally means the patch file is not properly formatted as a patch. Maybe they got corrupted when you downloaded them or they were corrupted from the mirror you used.
Old 03-28-2009, 05:05 PM   #3
LQ Newbie
Registered: Mar 2009
Posts: 18

Original Poster
Rep: Reputation: 0
I took your advise and redownloaded them from another source other than the book since I already tried downloading them again from the book source. I open both sources patches and compared the two and they were different.I used the new source patches and the patches went well.


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
svn: Version mismatch in ... acanthus Linux - Software 3 02-12-2015 06:22 AM
Identifying SVN Driver Version number geno1234 Linux - General 1 03-26-2008 06:56 PM
patches for a release version or slackware/slackware-ver.#/patches acummings Slackware 2 07-05-2007 02:05 AM
This version of nuvexport requires either the cvs or svn version of ffmpeg?? zeltak Linux - Software 2 02-02-2007 05:54 AM
Misc. patches for rkhunter-1.2.7.tar.gz unSpawn Linux - Security 0 10-24-2005 11:58 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:37 AM.

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