Package: lcl-utils
Version: 0.9.30.4-1.1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during an upgrade test with piuparts I noticed your package installs
files over an existing symlink, overwriting files from another package
in a way that is not detected by dpkg:

0m44.0s INFO: dirname part contains a symlink:
  /etc/lazarus/environmentoptions.xml != 
/etc/lazarus-0.9.30.4/environmentoptions.xml (lcl-utils)
  /etc/lazarus/helpoptions.xml != /etc/lazarus-0.9.30.4/helpoptions.xml 
(lcl-utils)

Looks like /etc/lazarus was a symlink in squeeze and is a
directory in wheezy. Note that dpkg intentionally does not replace
directories with symlinks and vice versa.

This creates a serious mess with the conffiles in /etc ...

There are also some obsolete conffiles (could be false positives due to
this symlinkmess), look at dpkg-maintscript-helper for easy cleanup:

  OBSOLETE CONFFILE /etc/lazarus/helpoptions.xml REGISTERED BY lcl-utils 
(MODIFIED)
  OBSOLETE CONFFILE /etc/lazarus/environmentoptions.xml REGISTERED BY lcl-utils 
(MODIFIED)

and there are files left on the system after purge:

0m46.6s INFO: Warning: Package purging left files on system:
  /etc/lazarus.bak/      not owned
  /etc/lazarus.bak/environmentoptions.xml        not owned
  /etc/lazarus.bak/helpoptions.xml       not owned


I didn't look at the maintainer scripts or the package to analyze what's
going on (or what was intended to happen).


Cheers,

Andreas

Attachment: lcl-utils_0.9.30.4-1.1.log.gz
Description: GNU Zip compressed data

Reply via email to