~/..cache/upstart/unity7.log在7-10小时内消耗整个磁盘~130 10。
如果我跟踪文件,我会得到:
xxxxx@xxxx-xxxxxxxx:~/.cache/upstart$ tail -f unity7.log
extern "Python": function Cryptography_rand_bytes() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0.
extern "Python": function Cryptography_rand_status() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0.我在Kodi.bin (第17节)中找到了一些共同点,但我还不知道这是定性的还是定量的。如有任何故障排除提示或已知错误,我将不胜感激:)
发布于 2017-03-01 11:10:55
从Ubuntu包存储库手动下载和安装python-cryptography和python-openssl可能是将将来发行版的存储库添加到源列表中的更安全的选择。
为此,我从这里和这里下载了适当的软件包,然后使用dpkg安装它们:
sudo dpkg -i python-cryptography_1.7.1-2_amd64.deb
sudo dpkg -i python-openssl_16.2.0-1_all.deb
sudo apt-get -f install注意:仔细阅读最后一个命令的输出。当我运行它时,它威胁要删除大量的包,因为没有满足依赖关系--我最初尝试安装没有python-openssl的python-cryptography。
了解有关手动安装软件包的更多信息:如何通过命令行安装.deb文件?
重新启动之后,我的Unity文件的大小不再以每秒10 MB的速度递增。
发布于 2017-02-25 17:49:17
发现了一个已知的bug,需要更新python-openssl。
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1636573,会回来的。
编辑:升级python密码解决了以下问题:)
您可以做的是安装python-加密版本1.7.1-2和python版本16.2.0-1从发行版Z校(Ubuntu17.04)。我所做的:
编辑/etc/apt/sources.list:
添加:
#Zesty
deb http://se.archive.ubuntu.com/ubuntu zesty main
deb-src http://se.archive.ubuntu.com/ubuntu zesty main(对于瑞典,你当然可以更改你的国家的存储库,在http://之后的第一个字母)
sudo aptitude update
sudo aptitude install python-cryptography=1.7.1-2这也将将python-openssl升级到最新版本。
https://askubuntu.com/questions/887220
复制相似问题