apt-clone dist-upgrade from NCP1 to NCP2 failed due to python-setuptools
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-
Unpacking replacement python-all-dev ...
Preparing to replace python-dev 2.4.3-11nexenta5 (using .../python-
Unpacking replacement python-dev ...
Preparing to replace python2.4-dev 2.4.3-0nexenta6 (using .../python2.
Unpacking replacement python2.4-dev ...
Preparing to replace python2.4 2.4.3-0nexenta6 (using .../python2.
Unpacking replacement python2.4 ...
Selecting previously deselected package python2.4-minimal.
Preparing to replace python2.4-minimal 2.4.3-0nexenta6 (using .../python2.
Unpacking replacement python2.4-minimal ...
Setting up python2.4-minimal (2.4.5-
pycentral: pycentral rtinstall: package python-setuptools: Not overwriting local files:
dpkg: /usr/lib/
pycentral rtinstall: package python-setuptools: Not overwriting local files:
dpkg: /usr/lib/
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_
Unpacking replacement python ...
Preparing to replace python-minimal 2.4.3-11nexenta5 (using .../python-
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-
Preparing to replace ssl-cert 1.0.13 (using .../ssl-
Unpacking replacement ssl-cert ...
Preparing to replace postfix 2.2.10-1nexenta3 (using .../postfix_
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/
dpkg: warning - unable to delete old directory `/etc/network/
dpkg: warning - unable to delete old directory `/etc/network': File exists
dpkg: warning - unable to delete old directory `/etc/ppp/
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