Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, Have an xml file that I would like to modify during a package install with configuration details that would be gleaned from a user during the installation process. Can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    19

    DEbian package installation


    Hi,

    Have an xml file that I would like to modify during a package install with configuration details that would be gleaned from a user during the installation process. Can this kind of thing be done during the installation of a debian package?


  2. #2
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    I think so, read up on debconf.
    Operating System: GNU Emacs

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Posts
    19

    debconf has limitations

    From the doco for debconf => 'Note that the config script is run before the package is unpacked. It should only use commands that are in essential packages. Also, it shouldn't actually edit files on the system, or affect it in any other way.'

    Sounds to me therefore that I cannot use it to edit a configuration file during the package install process.


    David

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •