Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2001 10:05:26 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
Cc:        David Gilbert <dgilbert@velocet.ca>, freebsd-hubs@FreeBSD.ORG
Subject:   Re: cvsup can't delete file.
Message-ID:  <20010606100526.A18735@ringworld.oblivion.bg>
In-Reply-To: <20010606072944.A34482@dcse.fee.vutbr.cz>; from cejkar@dcse.fee.vutbr.cz on Wed, Jun 06, 2001 at 07:29:44AM %2B0200
References:  <15133.43478.140374.322288@trooper.velocet.net> <20010606072944.A34482@dcse.fee.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 06, 2001 at 07:29:44AM +0200, Cejka Rudolf wrote:
> David Gilbert wrote (2001/06/05):
> > Here's the problem:  When I cvsup against the server, I get
> > 
> >  Delete ports/www/jakarta-tomcat/files
> > Updater failed: Cannot delete "/usr/ports/www/jakarta-tomcat/files": Directory not empty
> 
> Similar problem occurs from time to time. I don't know, how it comes
> into existence (John, do you?), but it prevents from pure automatic
> updates and you have to check updates periodically and delete client's
> file in sup directory sup/cvs-all/checkouts.cvs (or similar) by hand,
> if there is any problem.
> 
> > ... I have on my occaisions "rm -rf" on that directory on the client.
> > The next cvsup will complete, but the cvsup following that one will
> > fail.  Out of frustration, I deleted that directory in the cvs
> > repository and ran the update.sh (which runs the cvsup to update the
> > cvs respository).  The problem persists.
> 
> Rather focus on checkouts.* files. Sometimes, cvsup writes
> "Delete ...", however, in this case not.

This has been discussed at great length on the -ports and -bugs lists.
See http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27495 for a detailed
analysis and workaround by John D. Polstra.

Also, newer versions of the net/cvsup and net/cvsup-devel (I don't think
there's a binary-only version yet) have patches to avoid this problem.

G'luck,
Peter

-- 
because I didn't think of a good beginning of it.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hubs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010606100526.A18735>