On 2018-12-17 04:48, أحمد المحمودي wrote:
> On Wed, Dec 05, 2018 at 03:15:59AM +0100, Andreas Beckmann wrote:
>>   Setting up python3 (3.7.1-2) ...
>>   [Errno 2] No such file or directory: '/usr/share/dicoweb/settings.py'
> ---end quoted text---
> 
> '/usr/share/dicoweb/settings.py' is a symlink to 
> /etc/dicoweb/settings.py , could this be the cause of the problem ? If 
> so, what should be done?

I think I now understood what is happening here.
Both python3 and dicoweb are being installed in the same run.
At the time python3 gets configured, dicoweb is already unpacked, but
not yet configured and therefore /etc/dicoweb/settings.py does not yet
exist (dpkg has only unpacked it as /etc/dicoweb/settings.py.dpkg-new).
As part of the python3 configuration step the rtupdate hook is being run
... and explodes while accessing the dangling symlink.

You should probably ask the python maintainers for help, since you are
exploiting a corner case in their packaging helpers ...


Andreas

Reply via email to