[Linux Station] Fatal Python error on update
-
- New here
- Posts: 8
- Joined: Mon Nov 03, 2014 10:19 pm
[Linux Station] Fatal Python error on update
I was trying to update my Linux Station Ubuntu today however I am getting
"Fatal Python error: getrandom() failed" when installing packages.
I tried searching on the internet and first thought it was due to Python3.5 and low entropy
So I installed haveged and entropy_avail now reports >3000
However the same error occurred and I am stuck
I tried resetting the Ubuntu but the problem is still there
"Fatal Python error: getrandom() failed" when installing packages.
I tried searching on the internet and first thought it was due to Python3.5 and low entropy
So I installed haveged and entropy_avail now reports >3000
However the same error occurred and I am stuck
I tried resetting the Ubuntu but the problem is still there
-
- First post
- Posts: 1
- Joined: Sun Oct 04, 2015 2:24 am
Re: [Linux Station] Fatal Python error on update
Have the same problem. Two packets failed on update - python3.5 and python3.5-minimal.
-
- New here
- Posts: 7
- Joined: Sun Dec 07, 2014 5:31 am
Re: [Linux Station] Fatal Python error on update
Same here ...
Therefore I reverted to Python 5.2.1-10 to avoid any unpredictable behavior with setup
scripts called during package updates.
- GMo -
Therefore I reverted to Python 5.2.1-10 to avoid any unpredictable behavior with setup
scripts called during package updates.
- GMo -
-
- Starting out
- Posts: 17
- Joined: Fri Mar 02, 2012 4:06 pm
Re: [Linux Station] Fatal Python error on update
im having the same issue to on kylin but it wont let me open terminal or software and updates ive reinstalled kylin 3 time and after I update this happends. i can get xterm open but i get the python errors on updates so no packages get updated. If anyone has a fix it would be greatly appreciated.
-
- First post
- Posts: 1
- Joined: Fri Feb 18, 2011 9:27 pm
Re: [Linux Station] Fatal Python error on update
Having the same problem here.
I also tried resetting
Update:
Ubuntu 14.04 doesn't have this issue.
(You can choose the version in linux station)
I also tried resetting
Update:
Ubuntu 14.04 doesn't have this issue.
(You can choose the version in linux station)
-
- New here
- Posts: 4
- Joined: Mon Dec 14, 2015 9:40 am
Re: [Linux Station] Fatal Python error on update
I'm having the same problem. I'm using Ubuntu 16.04 LTS. Do you have a solution?
Thanks
Thanks
-
- Starting out
- Posts: 10
- Joined: Tue Sep 29, 2015 7:06 am
Re: [Linux Station] Fatal Python error on update
Not sure what happened by I am having the same problem. Don't really want to move to Ubuntu 14!
Re: [Linux Station] Fatal Python error on update
Hi GMo,gmo18t wrote:Same here ...
Therefore I reverted to Python 5.2.1-10 to avoid any unpredictable behavior with setup
scripts called during package updates.
- GMo -
could you explain how you did that in detail?
Thanks!
-
- New here
- Posts: 7
- Joined: Sun Dec 07, 2014 5:31 am
Re: [Linux Station] Fatal Python error on update
Hi,
i searched INet for the following deb packages
and after (manually) dowloading I installed it via command:
- GMo -
i searched INet for the following deb packages
Code: Select all
libpython3.5_3.5.1-10_amd64.deb
libpython3.5-minimal_3.5.1-10_amd64.deb
libpython3.5-stdlib_3.5.1-10_amd64.deb
python3.5_3.5.1-10_amd64.deb
python3.5-minimal_3.5.1-10_amd64.deb
Code: Select all
sudo dpkg -i *.deb
-
- New here
- Posts: 8
- Joined: Mon Nov 03, 2014 10:19 pm
Re: [Linux Station] Fatal Python error on update
gmo18t, did downloading and installing from other source solve the problem?
i dont want to reset the system again
i am currenly using apt-mark to hold off the update
edit: I think I get what you mean now
download the older version and install them manually to overwrite the one with problem
which is the same version as I got now with 3.5.2-16.01 held off
i dont want to reset the system again
i am currenly using apt-mark to hold off the update
edit: I think I get what you mean now
download the older version and install them manually to overwrite the one with problem
which is the same version as I got now with 3.5.2-16.01 held off
-
- New here
- Posts: 7
- Joined: Sun Dec 07, 2014 5:31 am
Re: [Linux Station] Fatal Python error on update
Yes right, i did overswrite the problematic version with the older 3.5.1-10.
Afterwards i also marked these packages as “HOLD“.
- GMo -
Afterwards i also marked these packages as “HOLD“.
- GMo -
Re: [Linux Station] Fatal Python error on update
That worked just fine. Thank you GMo!
-
- Starting out
- Posts: 11
- Joined: Fri Mar 27, 2015 10:59 am
Re: [Linux Station] Fatal Python error on update
Is there a different long term solution for this?
-
- New here
- Posts: 9
- Joined: Sat Jun 20, 2015 7:49 pm
Re: [Linux Station] Fatal Python error on update
I've created an issue on python bug tracker.
https://bugs.python.org/issue27955
In the meantime, you can replace broken python 3.5.2 binary with the patched one.
Do this at your own risk!!
If you want to build the package directly, use this patch file.
https://www.dropbox.com/s/3cexzqf2yj0ov0p/random.diff
https://bugs.python.org/issue27955
In the meantime, you can replace broken python 3.5.2 binary with the patched one.
Do this at your own risk!!
Code: Select all
$ sudo -i
root@ubuntu_1604:~# apt update && apt upgrade
...
Errors were encountered while processing:
/var/cache/apt/archives/language-selector-gnome_0.165.4_all.deb
/var/cache/apt/archives/language-selector-common_0.165.4_all.deb
/var/cache/apt/archives/python3-uno_1%3a5.1.4-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu_1604:~# mkdir deb && cd deb
root@ubuntu_1604:~/deb# wget "https://www.dropbox.com/s/rvrea63oue4brum/python3.5-minimal_3.5.2-2~16.01ubuntu1_amd64.deb"
root@ubuntu_1604:~/deb# ar vx python3.5-minimal_3.5.2-2~16.01ubuntu1_amd64.deb
root@ubuntu_1604:~/deb# tar xvfJ data.tar.xz
root@ubuntu_1604:~/deb# cp -p usr/bin/python3.5 /usr/bin
root@ubuntu_1604:~/deb# cp -p usr/bin/python3.5m /usr/bin
root@ubuntu_1604:~/deb# apt upgrade -f
https://www.dropbox.com/s/3cexzqf2yj0ov0p/random.diff
-
- New here
- Posts: 8
- Joined: Mon Nov 03, 2014 10:19 pm
Re: [Linux Station] Fatal Python error on update
iwings, thanks for the patch.
It works for me, hope they will put out an update soon.
It works for me, hope they will put out an update soon.