Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

edit-patch(1) [netbsd man page]

EDIT-PATCH(1)						      General Commands Manual						     EDIT-PATCH(1)

edit-patch, add-patch - tool for preparing patches for Debian source packages SYNOPSIS
edit-patch path/to/patch add-patch path/to/patch DESCRIPTION
edit-patch is a wrapper script around the Quilt, CDBS, and dpatch patch systems. It simplifies the process of preparing and editing patches to Debian source packages and allows the user to not have to be concerned with which patch system is in use. Run from inside the root directory of the source package, edit-patch can be used to edit existing patches located in debian/patches. It can also be used to incorporate new patches. If pointed at a patch not already present, it will copy the patch to debian/patches in the correct format for the patch system in use. Next, the patch is applied and a subshell is opened in order to edit the patch. Typing exit or pressing Ctrl-d will close the subshell and launch an editor to record the debian/changelog entry. edit-patch is integrated with the Bazaar and Git version control systems. The patch will be automatically added to the tree, and the debian/changelog entry will be used as the commit message. If no patch system is present, the patch is applied inline, and a copy is stored in debian/patches-applied. add-patch is the non-interactive version of edit-patch. The patch will be incorporated but no editor or subshell will be spawned. AUTHORS
edit-patch was written by Daniel Holbach <>, Michael Vogt <>, and David Futcher <>. This manual page was written by Andrew Starr-Bochicchio <>. Both are released under the terms of the GNU General Public License, version 3. DEBIAN
Debian Utilities EDIT-PATCH(1)

Check Out this Related Man Page

CDBS-EDIT-PATCH(1)                                              CDBS Documentation                                              CDBS-EDIT-PATCH(1)

cdbs-edit-patch - create or edit a CDBS patch SYNOPSIS
cdbs-edit-patch patchname DESCRIPTION
cdbs-edit-patch creates or edits patches for use by the CDBS patch system. For more information about CDBS please see the documentation under /usr/share/doc/cdbs/. When patchname exists, cdbs-edit-patch will set up a temporary working source tree, apply all patches up to and including patchname in lex- icographic order, and spawn an interactive shell for the developer. The developer can then edit files in this working tree. When the developer is done and exits the shell, cdbs-edit-patch updates patchname to reflect the changes made. To abort the process from the inter- active shell, exit with a nonzero exit value. When patchname does not exist, cdbs-edit-patch will assume that a new patch should be created. As with the above scenario, cdbs-edit-patch will first create a temporary working source tree and apply all patches up to the new patch in lexicographic order. When the shell is quit, cdbs-edit-patch will create patchname. AUTHOR
CDBS was written by Colin Walters and others. cdbs-edit-patch was written by Martin Pitt. This manual page was written by Peter Eisen- traut based on the dpatch-edit-patch(1) manual page. SEE ALSO
CDBS documentation in /usr/share/doc/cdbs/, /usr/share/cdbs/1/rules/, dpatch-edit-patch(1), quilt(1) Debian 5 Feb 2006 CDBS-EDIT-PATCH(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help to edit a large file

I am trying to edit a file that has 33k+ records. In this file I need to edit each record that has a 'Y' in the 107th position and change the 10 fields before the 'Y' to blanks. Not all records have a 'Y' in the 107th field. ex: ... (8 Replies)
Discussion started by: jxh461
8 Replies

2. UNIX for Advanced & Expert Users

Solaris Package Manager problem

i'm trying to run Patch Manager, but i'm getting the following problem when i try and run "pprosvc" with either the -l, -d, or -i options. Assessing patches needed for your system...... (8 Replies)
Discussion started by: xyyz
8 Replies

3. UNIX for Dummies Questions & Answers


Dear All , I have Sun Solaries 7 sparc server ... am runing perl , CGI , MD5 ... etc for new web mail am setting up . now i have to install the patch ( ) against a perl file for ex. what exact command i have to use ,,, also i do not want to make damage for my system... (6 Replies)
Discussion started by: tamemi
6 Replies

4. Solaris

Installing patches

I'm attempting to install a Sun patch and keep getting an error: # patchadd /tmp/patches/110722-03 Checking installed patches... One or more patch packages included in 110722-03 are not installed on this system. Patchadd is terminating. # How can I find out what are the "One or... (7 Replies)
Discussion started by: FredSmith
7 Replies

5. UNIX for Dummies Questions & Answers

How to add patches to solaris 10?

I am seeking help to add patches to Sloris 10 on 64 bit Sparc server. This is to prepare the server for the installation of oracle 10g. Please list command and the directory (If needed). Thanks. (7 Replies)
Discussion started by: duke0001
7 Replies

6. Solaris

patch update instructions

Hi All, I need to update my solaris with a particular patch. When reading the instruction on the sun web site, I got this: Installation Requirements: Reboot immediately after installing this patch on an active boot environment to bring the system to a consistent state. An alternative may... (8 Replies)
Discussion started by: itik
8 Replies

7. Solaris

sendmail failed after patch update

Hi, I was troubleshooting H/W issue on a Ultra 5 workstation, whereby the system kept rebooting. In the course of isolating the issue, I patched the system with the latest Recommended cluster patch for solaris 7. SInce then, sendmail is not working and am getting the following errors. Kindly check... (6 Replies)
Discussion started by: incredible
6 Replies

8. Solaris

difference between patches and packages

Hi, Can anyone what is the major difference between patch and packages. Both are used to update/add files and directories to the existing one. Correct me if am wrong. /var/sadm/install/contents - contains all the installed package information. Is there is any file for patch information. (8 Replies)
Discussion started by: rogerben
8 Replies

9. Solaris

Problem with patch bundle installation on Solairs 10

:mad: :mad: Hello, Could some help me to resolve why i am geting the below errors... :( Just tried installing patch bundle on solairs 10. many patches are been failed. wen i am trying to install it manualy i am geting the below errors.. ... (8 Replies)
Discussion started by: bullz26
8 Replies

10. UNIX for Dummies Questions & Answers

edit _config files

Hi, I am trying to edit sshd_config file through the vi editor. logged on as a root. when I try to write the file I get: Read-only file, not written; use ! to override when i type :w!, I get: Error: etc/ssh/sshd_config Permission denied. I want to change: #PermitRootLogin no to yes freeBDS... (6 Replies)
Discussion started by: emosms
6 Replies

11. Solaris

Update Solaris patch

Hi All I had update the solaris version, and now wish to update the patch. but when i check my patch version, i cant find any version for that. any idea? root@leo # showrev Hostname: leo Hostid: 839b58a3 Release: 5.10 Kernel architecture: sun4u Application architecture: sparc... (8 Replies)
Discussion started by: SmartAntz
8 Replies

12. Solaris

10 Recommended Patch Not Working

Hello, The 10_Recommended update failed on 3 of 191, which was patch 119254-73 (the 1st 2 patches were skipped). I looked up the patch on Sunsolve (, which stated that 121133-02 was a required patch for 119254-73. I did a "showrev... (7 Replies)
Discussion started by: stringman
7 Replies

13. Solaris

cannot label 'c0t5000CCA0251EF65Cd0': EFI labeled devices are not supported on root pools

I'm running Solaris 10 u9. I just applied the April quarterly patch cluster. I'm trying to mirror the boot disk which is using zfs, something I've done before w/o problems prior to the patch cluster install. disk=c0t5000CCA0251D9514d0;mirrordisk=c0t5000CCA0251EF65Cd0;echo $disk $mirrordisk... (7 Replies)
Discussion started by: TKD
7 Replies

14. Red Hat

RHEL patching questions

Hi, We have RHEL 4, 5 and 6. What patching plan is supposed to be? How often do we need to patch these systems? Thank you in advance! I'll give you my Thanks for any helpful info! (9 Replies)
Discussion started by: aixlover
9 Replies

15. Solaris

Hardware raid patching

Dear All , we have hardware raid 1 implemented on Solaris Disks. We need to patch the Servers. Kindly let me know how to patch hardware raid implemented Servers. Thanks... Rj (7 Replies)
Discussion started by: jegaraman
7 Replies