Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

got some problems while creating metapackages

tried to create a meta package containing forensic toolkits, on ubuntu i even got problems creating an .deb file. dpkg-source: error: can't build with source format '3.0 (quilt)': no orig.tar file found dpkg-buildpackage: error: dpkg-source -b forensics-0.1 gave error exit status 255

later i tried it using debian 5, creating the deb works, but there i got into some problems with Depends

debian:/home/matthias/Desktop/meta# dpkg --install *.deb
Wähle vormals abgewähltes Paket meta.
(Lese Datenbank ... 96897 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke meta (aus meta_0.1-1_i386.deb) ...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von meta:
 meta hängt ab von python (>= 2.6.6-2); aber:
  Version von python auf dem System ist 2.5.2-3.
dpkg: Fehler beim Bearbeiten von meta (--install):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
Fehler traten auf beim Bearbeiten von:

the file control looks like this:

Source: meta
Section: unknown
Priority: extra
Maintainer: root <>
Build-Depends: debhelper (>= 7)
Standards-Version: 3.7.3
Homepage: <insert the upstream URL, if relevant>
Package: meta
Architecture: any
Depends: python (>= 2.6.6-2)
Description: short description
 forensic toolkits

any ideas?

kind regards

share|improve this question
Although most of us are familiar with the output of dpkg, i think you may benefit from setting LC_ALL to en_US before posting excerpts from the shell... – bubu Jan 4 '11 at 14:30

On Debian there is a package called 'equivs' that should exist on Ubuntu too. Equivs sole purpose is to assist in creating meta packages or empty packages to meet a dependency you don't want to install.

To use it run equivs-control filename, and it will create a template file named filename. Edit filename to change the details. Finally run equivs-build filename to create the package and then install it.

share|improve this answer
SOLVED installation: – olpanis Jan 7 '11 at 12:01
up vote 0 down vote accepted


$ mkdir -p ~/packages/<package-name>/DEBIAN 
$ cd ~/packages/<package-name>/DEBIAN
$ touch postinst
$ touch control

example of an control file:

Package: forensic-tool-collection
Version: 0.1
Section: main
Priority: optional
Architecture: all
Depends: python-pyside, sleuthkit, dcfldd, python-elixir, python-urwid, python-imaging, libsvn-java, python-qt4, autopsy, xfce4-xkb-plugin, python-poppler, python-magic, libpoppler-qt4-dev, poppler-utils, python-mpmath, python-matplotlib, python-scitools, audacity, mediainfo, mediainfo-gui, octave, octave-image, qtoctave, octave-signal, pdftk, disktype, scalpel, uudeview, python-opencv, ewf-tools, xmount, testdisk, parted, outguess, avidemux, aimage, afflib-tools, icocom, wine, readpst, libimage-exiftool-perl, hexedit, steghide, fotoxx, serna, antiword, hdparm, python-setuptools, python-elixir, python-dev, python2.6-dev
Maintainer: 4en'sicks 
Description: collection of forensic-tools

postinst file:

# postinstall script for forensic toll collection
# see: dh_installdeb(1)
set -e

case "$1" in 
## pherhaps something has to be changed in future 
echo "Congrats..."


echo "postinst called with unknown argument `$1'" > &2


exit 0

next steps:

$ cd ~/packages/
$ chmod 555 forensic/DEBIAN/postinst
$ dpkg-deb -b forensic forensic.deb


$ dpkg -i forensic.deb
$ apt-get -f install
share|improve this answer
It means, we can't include version information on the depends list of meta package – Anwar Aug 9 '12 at 11:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .