Bug#951692: fusioninventory-agent: Does not purge ucf when purging package

Erwan David edavid at oceanet-technology.com
Thu Feb 20 08:25:28 GMT 2020


Package: fusioninventory-agent
Version: 1:2.5.2-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

After the package is purged, the ucf database still has data on it which prevents reinstalling the config files.

Running

    for conf in agent inventory-server-plugin ssl-server-plugin server-test-plugin \
        proxy-server-plugin proxy2-server-plugin
    do
        ucf --purge /etc/fusioninventory/$conf.cfg
        ucfr --purge fusioninventory-agent /etc/fusioninventory/$conf.cfg
    done

solves the problem.


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fusioninventory-agent depends on:
ii  hwdata                      0.290-1
ii  libfile-which-perl          1.23-1
ii  libhttp-daemon-perl         6.06-1
ii  libnet-cups-perl            0.64-1+b2
ii  libnet-ip-perl              1.26-2
ii  libparse-edid-perl          1.0.7-1
ii  libproc-daemon-perl         0.23-1
ii  libsocket-getaddrinfo-perl  0.22-3
ii  libtext-template-perl       1.58-1
ii  libuniversal-require-perl   0.18-1
ii  libwww-perl                 6.43-1
ii  libxml-treepp-perl          0.43-1
ii  libxml-xpath-perl           1.44-1
ii  libyaml-perl                1.29-1
ii  libyaml-tiny-perl           1.73-1
ii  lsb-base                    11.1.0
ii  perl [libjson-pp-perl]      5.30.0-9
ii  ucf                         3.0038+nmu1

Versions of packages fusioninventory-agent recommends:
ii  dmidecode              3.2-3
ii  fdisk                  2.34-0.1
ii  hdparm                 9.58+ds-4
ii  libio-socket-ssl-perl  2.067-1
ii  net-tools              1.60+git20180626.aebd88e-1
ii  util-linux             2.34-0.1

Versions of packages fusioninventory-agent suggests:
pn  read-edid      <none>
ii  smartmontools  7.1-1

-- no debconf information



More information about the pkg-perl-maintainers mailing list