Re: Bug#632322: libudev0: missing copyright file
On 2011-07-11 03:10 +0200, Marco d'Itri wrote:
> On Jul 01, Sven Joachim <svenjoac@gmx.de> wrote:
>
>> The copyright file is present in the udev package instead, but libudev0
>> does not depend on udev.
> No, actually it is there. The problem is that, after fixing #632321,
> this happens:
>
> libudev0 is upgraded
>
> udev preinst is run
> [/usr/share/doc/udev is deleted by preinst to fix #632321]
You should do the symlink conversion in the postinst instead when the
directory is supposed to be empty.
> udev is unpacked
> [/usr/share/doc/udev is created again as a symlink to libudev0]
> old files of udev are deleted
> [/usr/share/doc/udev/changelog.gz etc are deleted, but thanks to the
> symlink these are actually libudev0's files and the only copy]
The real problem is that udev _also_ ships
/usr/share/doc/libudev0/copyright and has an unversioned Replaces on
libudev0. That's why "dpkg -L libudev0" does not list the file.
Regards,
Sven
Reply to: