先前操作未完成的问题 [英] Issues with previous operation not finishing

查看:199
本文介绍了先前操作未完成的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对linux还是很陌生,我正在尝试安装openCV软件.断电时我正在安装一些东西,但它被打断了.当我去重新安装它时,我不断收到此错误:

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.

推荐答案

当我以root身份签出了几个文件(使用sudo),然后试图在拥有该文件的用户下再次运行svn update时,这发生在我身上域.

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.

因为某些文件具有所有权和root:root组,所以我无法使用我所登录的用户和组进行更新(在本例中为wcl:psacln,psacln是Plesk用户的默认组)

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).

要解决此问题,以root用户身份登录时,我只是删除了引起该问题的文件,先运行svn cleanup,然后再运行svn up以取回该文件.像魅力一样工作!

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!

这篇关于先前操作未完成的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆