Debian package management - how are debconf and dpkg-deb related?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.