[Python-modules-team] Bug#821789: python{, 3}-django: fails to upgrade from 'jessie': mv: cannot move '/usr/lib/python*/dist-packages/django/conf/app_template/migrations' to '/usr/share/python-django-common/django/conf/app_template/migrations': Directory not empty

Andreas Beckmann anbe at debian.org
Tue Apr 19 09:58:05 UTC 2016


Package: python-django,python3-django
Version: 1.9.5-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + lava-dev 

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'jessie'.
It installed fine in 'jessie', then the upgrade to 'stretch' fails.

>From the attached log (scroll to the bottom...):

  Setting up python-django (1.9.5-1) ...
  mv: '/usr/lib/python2.7/dist-packages/django/conf/app_template/models.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/models.py-tpl' are the same file
  mv: '/usr/lib/python2.7/dist-packages/django/conf/app_template/apps.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/apps.py-tpl' are the same file
  mv: '/usr/lib/python2.7/dist-packages/django/conf/app_template/tests.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/tests.py-tpl' are the same file
  mv: '/usr/lib/python2.7/dist-packages/django/conf/app_template/admin.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/admin.py-tpl' are the same file
  mv: '/usr/lib/python2.7/dist-packages/django/conf/app_template/views.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/views.py-tpl' are the same file
  mv: '/usr/lib/python2.7/dist-packages/django/conf/app_template/__init__.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/__init__.py-tpl' are the same file
  mv: cannot move '/usr/lib/python2.7/dist-packages/django/conf/app_template/migrations' to '/usr/share/python-django-common/django/conf/app_template/migrations': Directory not empty
  dpkg: error processing package python-django (--configure):
   subprocess installed post-installation script returned error exit status 123

  Setting up python3-django (1.9.5-1) ...
  mv: '/usr/lib/python3/dist-packages/django/conf/app_template/models.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/models.py-tpl' are the same file
  mv: '/usr/lib/python3/dist-packages/django/conf/app_template/apps.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/apps.py-tpl' are the same file
  mv: '/usr/lib/python3/dist-packages/django/conf/app_template/tests.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/tests.py-tpl' are the same file
  mv: '/usr/lib/python3/dist-packages/django/conf/app_template/admin.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/admin.py-tpl' are the same file
  mv: '/usr/lib/python3/dist-packages/django/conf/app_template/views.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/views.py-tpl' are the same file
  mv: '/usr/lib/python3/dist-packages/django/conf/app_template/__init__.py-tpl' and '/usr/share/python-django-common/django/conf/app_template/__init__.py-tpl' are the same file
  mv: cannot move '/usr/lib/python3/dist-packages/django/conf/app_template/migrations' to '/usr/share/python-django-common/django/conf/app_template/migrations': Directory not empty
  dpkg: error processing package python3-django (--configure):
   subprocess installed post-installation script returned error exit status 123


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-django_1.9.5-1.log.gz
Type: application/gzip
Size: 34852 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160419/e46c87b7/attachment-0001.bin>


More information about the Python-modules-team mailing list