Il 28/07/2021 13:38, Andreas Beckmann ha scritto:
Hi,

an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.

This was observed on the following upgrade paths:

   wheezy -> jessie -> stretch -> buster -> bullseye
   squeeze -> wheezy -> jessie -> stretch -> buster -> bullseye

...


The attached patch seems to fix the problematic upgrade paths
(tested only on libipmidetect0).


cheers,

Andreas

Thanks for your report and patch, I tested it on buster system with more freeipmi packages installed and seems ok, upgrade success and symlinks replaced by directory (/usr/share/doc/PACKAGE) not empty

I don't have systems with freeipmi installed upgraded from wheezy or squeeze (I have only vm upgraded from them to buster without freeipmi) where do fast test to be sure is all ok also in that case

I suppose your test with one package can be enought as other freeipmi pakcages are similar (on that part) or more tests should be done? I' don't know a fast way to test it, only a long installing clean wheezy with freeipmi packages and do multiple dist-upgrade before install testing packages


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to