Creating custom deb package with conffiles overrides



Hi,
I am trying to create a custom configuration package which among
other things installs an snmpd.conf into /etc/snmp/. Is there a way in my
package declaration to tell apt to override the previously installed snmpd
package that "owns" /etc/snmp/snmpd.conf? Or should I be going about this
another way?

dpkg: error processing
/var/cache/apt/archives/fci-newos-base_1.1-1_i386.deb (--unpack):
trying to overwrite `/etc/snmp/snmpd.conf', which is also in package
snmpd


Thanks,

Atle
-
Flying Crocodile Inc, Unix Systems Administrator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Errors Installing SQL 2005 Enterprise on Windows 2008 Failover cluster
    ... therefore Report Server feature ... Breaking wait state and aborting package due to cancel code received: ... All installs have been cancelled, so package: ...
    (microsoft.public.sqlserver.setup)
  • Re: What do you LISPers think of Haskell?
    ... misleading at best given that there are only 10,911 installs of FFTW ... These wild variations are due to new package releases so this does not ... of course, written in OCaml. ...
    (comp.lang.lisp)
  • Re: =?iso-8859-1?q?can=B4t_get_kde=2C_can=B4t_get_gnome=2E=2E=2Ew?= =?iso-8859-1?q?h
    ... You can remove a package or a group of packages via yum. ... The last two installs that fell apart on me just this week I changed nothing at all in yum. ... In one of the installs, I tried to update everything at once, and was subsequently advised not to do so. ... Updating kde-base and various other essential kde libs. ...
    (Fedora)
  • Configuration file and auxiliary packages
    ... Having hundreds of machines means ... For many packages we have site-specific configuration files we want set up ... install of a package. ... installs, etc.) but these complicate package installation considerably. ...
    (Debian-User)
  • Re: which Linux versions?
    ... you can extract the contents of an RPM as if it were ... but I've never had conflicts. ... I recall there was one package which tried to overwrite an existing ... RPM and tar.gz) is to distribute an RPM which installs all files ...
    (comp.lang.fortran)