Forum
[SOLVED] Python 2.7 upgrade issue - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: [SOLVED] Python 2.7 upgrade issue (/thread-2206.html)



Python 2.7 upgrade issue - IriDium - 26th Mar, 2014 02:37 AM

There is currently a problem when upgrading Python.

It errors with:
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u2_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

So for now, do not upgrade:

python2.7
python2.7-minimal
or
libpython2.7


RE: Python upgrade issue - belese - 26th Mar, 2014 02:48 AM

(26th Mar, 2014 02:37 AM)IriDium Wrote:  There is currently a problem when upgrading Python.

It errors with:
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u2_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

So for now, do not upgrade:

python2.7
python2.7-minimal
or
libpython2.7

http://forum.xbian.org/thread-2195-post-21660.html#pid21660


RE: Python upgrade issue - IriDium - 26th Mar, 2014 02:53 AM

@belese Thanks for that - I thought I was current on problems..... obviously not.


RE: Python 2.7 upgrade issue - IriDium - 6th Apr, 2014 01:06 AM

Upgrade all packages first - excluding the python 2.7 libraries specified above.

Then from a ssh shell issue.

Terminal
sudo apt-get -o Dpkg::Options::="--force-all" upgrade



RE: Python 2.7 upgrade issue - dharmabm - 6th Apr, 2014 01:25 AM

or just see THIS WIKI ARTICLE for the instructions to resolve the issue


RE: Python 2.7 upgrade issue - pit79 - 20th May, 2014 03:59 AM

Ok i updated everything after reboot pi hangs on network started screen


Python 2.7 upgrade issue - NitSuA - 20th May, 2014 06:29 AM

Hi, when it hangs, use ssh to connect to the device (for instance use putty) and continue the upgrade. Then it will boot again


Re: Python 2.7 upgrade issue - CurlyMo - 25th May, 2014 03:37 AM

Or use telnet if ssh hasn't started yet.