Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #336
Difficulty: Easy
sed -e 'r' /etc/passwd will recover lost password on a Unix system.
True or False?
Linux & Unix Commands - Search Man Pages

dh_gencontrol(1) [hpux man page]

DH_GENCONTROL(1)						     Debhelper							  DH_GENCONTROL(1)

NAME
dh_gencontrol - generate and install control file SYNOPSIS
dh_gencontrol [debhelperoptions] [--params] DESCRIPTION
dh_gencontrol is a debhelper program that is responsible for generating control files, and installing them into the DEBIAN directory with the proper permissions. This program is merely a wrapper around dpkg-gencontrol(1), which calls it once for each package being acted on (plus related dbgsym packages), and passes in some additional useful flags. Note that if you use dh_gencontrol, you must also use dh_builddeb(1) to build the packages. Otherwise, your build may fail to build as dh_gencontrol (via dpkg-gencontrol(1)) declares which packages are built. As debhelper automatically generates dbgsym packages, it some times adds additional packages, which will be built by dh_builddeb(1). OPTIONS
-- params Pass params to dpkg-gencontrol(1). -uparams, --dpkg-gencontrol-params=params This is another way to pass params to dpkg-gencontrol(1). It is deprecated; use -- instead. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_GENCONTROL(1)

Check Out this Related Man Page

DH_GENCONTROL(1)						     Debhelper							  DH_GENCONTROL(1)

NAME
       dh_gencontrol - generate and install control file

SYNOPSIS
       dh_gencontrol [debhelperoptions] [--params]

DESCRIPTION
       dh_gencontrol is a debhelper program that is responsible for generating control files, and installing them into the DEBIAN directory with
       the proper permissions.

       This program is merely a wrapper around dpkg-gencontrol(1), which calls it once for each package being acted on (plus related dbgsym
       packages), and passes in some additional useful flags.

       Note that if you use dh_gencontrol, you must also use dh_builddeb(1) to build the packages.  Otherwise, your build may fail to build as
       dh_gencontrol (via dpkg-gencontrol(1)) declares which packages are built.  As debhelper automatically generates dbgsym packages, it some
       times adds additional packages, which will be built by dh_builddeb(1).

OPTIONS
       -- params
	   Pass params to dpkg-gencontrol(1).

       -uparams, --dpkg-gencontrol-params=params
	   This is another way to pass params to dpkg-gencontrol(1).  It is deprecated; use -- instead.

SEE ALSO
       debhelper(7)

       This program is a part of debhelper.

AUTHOR
       Joey Hess <joeyh@debian.org>

11.1.6ubuntu2							    2018-05-10							  DH_GENCONTROL(1)

10 More Discussions You Might Find Interesting

1. HP-UX

unable to change kernel params?

i have hp-ux 11i on a rp2470 machine. i'd like to change some kernel params with SAM. i change the params, process new kernel and reboot the system. after reboot i found that params does not change. i have done the same things many times but i still have the pb. plz what to do? (1 Reply)
Discussion started by: nabil_boussetta
1 Replies

2. Shell Programming and Scripting

sed & awk--get section of file based 2 params

I need to get a section of a file based on 2 params. I want the part of the file between param 1 & 2. I have tried a bunch of ways and just can't seem to get it right. Can someone please help me out.....its much appreciated. Here is what I have found that looks like what I want....but doesn't... (12 Replies)
Discussion started by: Andy Cook
12 Replies

3. UNIX for Dummies Questions & Answers

FreeBSD7.0_BETA4 _ installing

About more half one part during installing my FreeBSD7.0_BETA4 , some thing wrong happened : "unable to open the packages files /INDEX selected from you media" so what should I do ,just tell me the way to deal with the problem ,thanks. (1 Reply)
Discussion started by: magic_dk
1 Replies

4. BSD

FreeBSD7.0_BETA4 installing

about more half one part during installing my FreeBSD7.0_BETA4 ,some thing wrong happened : "unable to open the packages files /INDEX selected from you media" so what should I do ,just tell me the way to deal with the problem ,thanks. (1 Reply)
Discussion started by: magic_dk
1 Replies

5. UNIX for Dummies Questions & Answers

Reading from a file(passing the file as input parameter)

hi I have a shell script say primary.sh . There is a file called params my scenario is primary.sh should read all the values and echo it for example i should pass like $primary.sh params output would be Abc ... (2 Replies)
Discussion started by: ssuresh1999
2 Replies

6. Linux

OFED Compliation for Non running Kernel

Has anyone configured OFED packages for a non running kernel? In my case, I need to integrate the OFED packages to a kernel which is built but not installed. (0 Replies)
Discussion started by: diptajeet
0 Replies

7. UNIX for Advanced & Expert Users

dpkg wildcards

Are there different rules with wildcards in dpkg? I was looking at this. Getting information about packages % dpkg -l \*apt\* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/... (1 Reply)
Discussion started by: cokedude
1 Replies

8. Shell Programming and Scripting

Check params for number

I have 2 and three params, both I should make sure thay numbers at one single line insted of checking for each one . Example I wroote the following way.. checking for 2 and three seperately but I shud be able to do it at on statement echo $2 | egrep '^+$' >/dev/null 2>&1 if ; then echo... (2 Replies)
Discussion started by: raopatwari
2 Replies

9. Emergency UNIX and Linux Support

Urgent request "remove all packages with dpkg"

Hi, this might sound somewhat weird, but I need a command to remove all packages on my machine with dpkg. I know dpkg -l will list all packages, but the troublemaker isn't on the list, and the problems started as I updated the program :wall:. Thanks in advance, I REALLY appreciate it :b: (8 Replies)
Discussion started by: pasc
8 Replies

10. AIX

Application packages

Hello, I just build an AIX 7.1 box. I'm trying to install the following packages: BASH APACHE CVS ZIP I tired to download them searching on google, but unfortunately I dint find any packages concerned with aix7.1. I got stuck at this point and dont know where to download those packages... (5 Replies)
Discussion started by: pjeedu2247
5 Replies

Featured Tech Videos