Issues with previous operation not finishing

杀马特。学长 韩版系。学妹 提交于 2020-01-14 14:57:06

问题


I'm fairly new to linux and I'm trying to install the openCV software. I was installing some stuff when I lost power and it was interrupted. When I went to reinstall it, I kept getting this error:

svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted

So I ran this and tried to restart the download but I got the same error.

/opencv$ svn cleanup
/opencv$ svn co https://opencvlibrary.svn.sourceforge.net/svnroot/opencvlibrary/trunk opencv
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted

I'm sure this is an easy fix, but I can't seem to find the answer anywhere. Does anyone know how to fix this. Please keep it as simple as possible.


回答1:


This happened to me when I had checked out a few files as root (using sudo) and then tried to run svn update again under the user who owned the domain.

Because certain files had ownership and group of root:root, I was unable to update using the user and group that I was logged in under (in this case it was wcl:psacln, psacln being a default group for Plesk users).

To fix the issue, while logged in as root, I simply deleted the file that was causing the issue, ran svn cleanup, and then ran svn up to get the file back. Worked like a charm!



来源:https://stackoverflow.com/questions/15265144/issues-with-previous-operation-not-finishing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!