Creating Empty Debian Package

http://wiki.debian.org” says “creating empty package is easy job”. But I got errors while creating it.

First choose a name for a file which is not used by any other package.

Screenshot from 2013-06-07 13:46:33

Aptitude is an the Debian package manager.

Screenshot from 2013-06-07 13:47:44

Install equivs by giving following command on terminal:

sudo apt-get install equivs

$ equivs-control package-minimal
$ ls
package-minimal

equivs-control generates a file which is close to debian/control in a debian source package.

You have to edit the file to modify and uncomment some lines.

Screenshot from 2013-06-07 13:52:03

create an empty Debian binary package.

$ equivs-build package-minimal 
$ ls
package-minimal  package-minimal_1.0_all.deb


you can control that it is lintian clean!

$ lintian package-minimal_1.0_all.deb


 
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s