FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 05-26-2011, 03:48 PM
Jonathan Nieder
 
Default dependencies relation to the "config" file within contol.tar.gz in .deb?

Hi Otto,

Otto Kekäläinen wrote:

> *Does the config file within a deb package execute before the
> dependencies of a package is configured?*

See dpkg-preconfigure(8), debconf-devel(7), and [1]. In general, the
answer is that no, you can't rely on the order that .config scripts
are run.

> Can I install settings and dependencies with one deb, or do I need to
> make two packages: one that first runs a lot of debconf switches and a
> second meta-package that (as dependencies) actually install all the
> packages I want and that was preconfigured with the first package?

Yes, I think something like that makes sense. The first package could
just be a file you pass to debconf-set-selections(1), though. That
way, you can even use it before the package manager is installed:

http://wiki.debian.org/DebianInstaller/Preseed

Hope that helps,
Jonathan

[1] http://www.debian.org/doc/packaging-manuals/debconf_specification.html#AEN275
>
>
> --
> Otto Kekäläinen
> +358 44 566 2204
> http://seravo.fi/
>
>
> --
> To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/1306421319.5348.10.camel@Latitude-E5420
>


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110526154823.GB24931@elie">http://lists.debian.org/20110526154823.GB24931@elie
 

Thread Tools




All times are GMT. The time now is 12:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org