apt-clone dist-upgrade from NCP1 to NCP2 failed due to python-setuptools

Bug #475053 reported by Zooko Wilcox-O'Hearn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nexenta Operating System
New
Undecided
Unassigned

Bug Description

Preparing to replace python-all-dev 2.4.3-11nexenta5 (using .../python-all-dev_2.5.2-0nexenta2_all.deb) ...
Unpacking replacement python-all-dev ...
Preparing to replace python-dev 2.4.3-11nexenta5 (using .../python-dev_2.5.2-0nexenta2_all.deb) ...
Unpacking replacement python-dev ...
Preparing to replace python2.4-dev 2.4.3-0nexenta6 (using .../python2.4-dev_2.4.5-1nexenta7-build1_solaris-i386.deb) ...
Unpacking replacement python2.4-dev ...
Preparing to replace python2.4 2.4.3-0nexenta6 (using .../python2.4_2.4.5-1nexenta7-build1_solaris-i386.deb) ...
Unpacking replacement python2.4 ...
Selecting previously deselected package python2.4-minimal.
Preparing to replace python2.4-minimal 2.4.3-0nexenta6 (using .../python2.4-minimal_2.4.5-1nexenta7-build1_solaris-i386.deb) ...
Unpacking replacement python2.4-minimal ...
Setting up python2.4-minimal (2.4.5-1nexenta7-build1) ...
pycentral: pycentral rtinstall: package python-setuptools: Not overwriting local files:
   dpkg: /usr/lib/python2.4/site-packages/setuptools.pth not found.
pycentral rtinstall: package python-setuptools: Not overwriting local files:
   dpkg: /usr/lib/python2.4/site-packages/setuptools.pth not found.
dpkg: error processing python2.4-minimal (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python2.4-minimal
***********************************************************************
* *
* Upgrade sequence returned an error. To enter NLU protected *
* environment please type 'source /tmp/nlubin/env.sh' *
* *
***********************************************************************
E: Sub-process /usr/bin/dpkg returned an error code (1)
Upgrade failed. Would you like to rollback changes now? (y/n)

So then I sudo apt-get remove python-setuptools and then it gets further on the next attempt:

Preparing to replace python 2.4.3-11nexenta5 (using .../python_2.5.2-0nexenta2_all.deb) ...
Unpacking replacement python ...
Preparing to replace python-minimal 2.4.3-11nexenta5 (using .../python-minimal_2.5.2-0nexenta2_all.deb) ...
Unpacking replacement python-minimal ...
Setting up python-minimal (2.5.2-0nexenta2) ...
Selecting previously deselected package openssl-blacklist.
(Reading database ... 68091 files and directories currently installed.)
Unpacking openssl-blacklist (from .../openssl-blacklist_0.3.3+0.4-0nexenta1.9_all.deb) ...
Preparing to replace ssl-cert 1.0.13 (using .../ssl-cert_1.0.14-0nexenta3.2_all.deb) ...
Unpacking replacement ssl-cert ...
Preparing to replace postfix 2.2.10-1nexenta3 (using .../postfix_2.5.2-1nexenta6_solaris-i386.deb) ...
Stopping Postfix Mail Transport Agent: postfix.
sh: line 1: 14639 Killed hostname --fqdn 2>/dev/null
sh: line 1: 14641 Killed hostname --domain 2>/dev/null
Stopping Postfix Mail Transport Agent: postfix.
Unpacking replacement postfix ...
dpkg: warning - unable to delete old directory `/etc/network/if-down.d': File exists
dpkg: warning - unable to delete old directory `/etc/network/if-up.d': File exists
dpkg: warning - unable to delete old directory `/etc/network': File exists
dpkg: warning - unable to delete old directory `/etc/ppp/ip-down.d': File exists
dpkg: warning - unable to delete old directory `/etc/ppp/ip-up.d': File exists
dpkg: warning - unable to delete old directory `/etc/ppp': File exists

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.