Followup-For: Bug #733239
Control: severity -1 serious

Same problem here, although it did not reproduce in piuparts so far. But
that may depend other packages being installed as well (for the
diversions to take place) while piuparts does minimal setups usually.

Bumping severity since upgrades from wheezy+wheezy-backports to jessie
are a mandantory upgrade path.

Preparing to replace dh-python 1.20131021-1~bpo70+1 (using 
.../dh-python_1.20131021-1_all.deb) ...
Unpacking replacement dh-python ...
Removing 'diversion of /usr/bin/dh_python3 to /usr/bin/dh_python3.real by 
dh-python'
Removing 'diversion of /usr/share/man/man1/dh_python3.1.gz to 
/usr/share/man/man1/dh_python3.real.1.gz by dh-python'
Removing 'diversion of /usr/bin/dh_python2 to /usr/bin/dh_python2.real by 
dh-python'
dpkg-divert: error: rename involves overwriting `/usr/bin/dh_python2' with
  different file `/usr/bin/dh_python2.real', not allowed
dpkg: warning: subprocess old post-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/dh-python_1.20131021-1_all.deb 
(--unpack):
 there is no script in the new version of the package - giving up

I haven't looked at it, but removing the diversions in
  'old-postrm' upgrade
sounds error prone.

Andreas

-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 
'stable-updates'), (130, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to