Find the answer to your Linux question:
Results 1 to 3 of 3
This has been bugging me for a couple days and I can't remember nor find the answer. I'm trying to reverse an old patch so I can apply a newer ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Jun 2003
    Location
    Huntington Beach, CA
    Posts
    390

    unpatching a patch


    This has been bugging me for a couple days and I can't remember nor find the answer. I'm trying to reverse an old patch so I can apply a newer one. I THOUGHT patch -R bootsplash-3.1.4-2.6.10.diff would do the trick but it doesn't, it just hangs like its waiting for a new command. And patch -R < bootsplash-3.1.4-2.6.10.diff says it can't find files. So yeah I've been searching forums and the web and I can't seem to find anything to tell me how to unpatch a patch, so I implore you oh wise users of the Linux, cure my idiocy.

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Are you in the proper directory? Have you tried specifying the same -p option that you used with the patch?

    Code:
    patch -p1 < blah.diff
    patch -R -p1 < blah.diff
    That should work.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Linux User
    Join Date
    Jun 2003
    Location
    Huntington Beach, CA
    Posts
    390
    DOH

    Hehe thanks man, forgot about that.

    ps I'm back in the IRC, talk to you soon!

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •