LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-08-2010, 12:29 AM   #1
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 219

Rep: Reputation: 27
Debian package management - how are debconf and dpkg-deb related?


hi,

I am studying the Debian package management system. I am having trouble figuring out how debconf and dpkg-deb are related.

Heres how i understand the package management system:
dpkg-deb does the actual installation/removal of packages
dpkg is a frontend to dpkg-deb
apt is front end to dpkg
Synaptic,aptitude etc are frontends to apt.

So where exactly does debconf fit in?

thanks in advance
 
Old 03-08-2010, 12:50 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
debconf is the tool/system that manages how packages are configured. For example for some pacakges, debconf will ask the user questions, store the answers in a database, and then use that database to write a configuration file.

Cheers,

Evo2.
 
Old 03-08-2010, 01:41 AM   #3
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 219

Original Poster
Rep: Reputation: 27
hi Evo2 thanks for the reply.

Does that mean debconf and dpkg are separate entities? with debconf handling the configuration on packages and dpkg handling the actual installation?
 
Old 03-08-2010, 01:43 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by austinium View Post
Does that mean debconf and dpkg are separate entities? with debconf handling the configuration on packages and dpkg handling the actual installation?
Yeah, I think that is basically correct. Except that during installation (and perhaps removal), the pre and/post install (remove) scripts that are run by dpkg may trigger debconf to be run, so they are in fact linked.

debconf is very well documented ... hint ;-)

Cheers,

Evo2.

Last edited by evo2; 03-08-2010 at 01:46 AM.
 
Old 03-08-2010, 05:16 AM   #5
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 219

Original Poster
Rep: Reputation: 27
thanks again Evo2
I am trying to understand how debconf fits into the Debian-installer. From what i understand so far, debconf configures udebs based on user input and main-menu does the configuration.

Is this correct?
 
Old 03-08-2010, 05:25 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Ohh, I'm not a good person to discuss the installer: the number of years I've been using Debian is probably greater than the number of times I've installed it ;-)

My reference to installation in post #4 was about package, not system installation.

Cheers,

Evo2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Java to install a package with dpkg in Debian basis1980 Linux - Newbie 4 12-06-2007 02:45 AM
.deb install script fails - How to I completely reset the package and related files? kramed Debian 3 08-13-2007 10:34 AM
LXer: Debian/Ubuntu Package management Using dpkg LXer Syndicated Linux News 0 04-19-2007 09:47 PM
deb package management on lfs r£vilo Linux From Scratch 5 10-06-2006 06:55 PM
Confused on how to remove a deb package with dpkg dr_zayus69 Debian 5 06-04-2006 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration