cp: cycle detected error on Solaris 10
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > cp: cycle detected error on Solaris 10




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    cp: cycle detected error on Solaris 10  
Richard.Warden@sma.co.uk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-16-06 12:29 PM

Dear all,

I am trying to uninstall software and I get the following error:-

cp: cycle detected: /apps/SNL/SNL/Swiftnet50/lib/lb1

What does this "cp: cycle detected" relate to?

Thanks






[ Post a follow-up to this message ]



    Re: cp: cycle detected error on Solaris 10  
Stefaan A Eeckels


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-16-06 12:29 PM

On 16 Nov 2006 03:02:43 -0800
Richard.Warden@sma.co.uk wrote:

> I am trying to uninstall software and I get the following error:-
>
> cp: cycle detected: /apps/SNL/SNL/Swiftnet50/lib/lb1
>
> What does this "cp: cycle detected" relate to?

Is this a package you're trying to un-install?

The message comes from the cp command, not from pkgrm. IMHO it's
specific to the uninstall script of the software, and has little if
anything to do with Solaris 10.

--
Stefaan A Eeckels
--
The one thing IT really needs to outsource is the freakin' clueless
managers that don't understand that there are more possibilities than
chaos on the one hand and the reduction of alternatives to zero on the
other.                    -- Richard Hamilton in comp.sys.sun.hardware





[ Post a follow-up to this message ]



    Re: cp: cycle detected error on Solaris 10  
Richard.Warden@sma.co.uk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-16-06 12:29 PM

It is indeed an application I am trying to unistall, using the
appropriate uninstall routine shipped with the app.

I think this might be something to do with the link behind this file,
in that the cp command is trying to copy the file twice. Does that
sound plausable?



On 16 Nov, 11:52, Stefaan A Eeckels <hoend...@ecc.lu> wrote:
> On 16 Nov 2006 03:02:43 -0800
>
> Richard.War...@sma.co.uk wrote: 
> 
> 
>
> The message comes from the cp command, not from pkgrm. IMHO it's
> specific to the uninstall script of the software, and has little if
> anything to do with Solaris 10.
>
> --
> Stefaan A Eeckels
> --
>    The one thing IT really needs to outsource is the freakin' clueless
>  managers that don't understand that there are more possibilities than
> chaos on the one hand and the reduction of alternatives to zero on the
> other.                    -- Richard Hamilton in comp.sys.sun.hardware






[ Post a follow-up to this message ]



    Re: cp: cycle detected error on Solaris 10  
James Carlson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-16-06 12:29 PM

Richard.Warden@sma.co.uk writes:
> I am trying to uninstall software and I get the following error:-
>
> cp: cycle detected: /apps/SNL/SNL/Swiftnet50/lib/lb1
>
> What does this "cp: cycle detected" relate to?

It's related to the 'cp' command.  The "cycle detected" message means
that someone is doing a recursive copy ("cp -r"; perhaps as part of a
packaging script) and the cp command ended up visiting the same
directory more than once.

I don't _think_ that should happen unless the file system is corrupt
-- e.g., by creating a hard link to a directory.  (But I'm not
certain.)

--
James Carlson, KISS Network                    <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677





[ Post a follow-up to this message ]



    Re: cp: cycle detected error on Solaris 10  
Dave Hinz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-16-06 12:29 PM

On 16 Nov 2006 04:52:58 -0800, Richard.Warden@sma.co.uk <Richard.Warden@sma.co.uk> wrote:[vb
col=seagreen]
> It is indeed an application I am trying to unistall, using the
> appropriate uninstall routine shipped with the app.[/vbcol]

1. Don't top-post.  It makes us have to scroll down to see what the heck
you're answering.

2. If you'd give the actual command you used, that would help.

> I think this might be something to do with the link behind this file,
> in that the cp command is trying to copy the file twice. Does that
> sound plausable?

Hard to say.  Need more info.  What does the vendor say?






[ Post a follow-up to this message ]



    Re: cp: cycle detected error on Solaris 10  
Casper H.S. Dik


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-16-06 06:17 PM

James Carlson <james.d.carlson@sun.com> writes:

>I don't _think_ that should happen unless the file system is corrupt
>-- e.g., by creating a hard link to a directory.  (But I'm not
>certain.)


Nope:

mkdir a
ln -s . a/foo
cp -r a b
cp: cycle detected: a/foo

cp follows symlinks.

use cp -rH

Casper





[ Post a follow-up to this message ]



    Re: cp: cycle detected error on Solaris 10  
Bo Yang


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-17-06 06:25 AM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Casper H.S. Dik :
> James Carlson <james.d.carlson@sun.com> writes:
> 
>
>
> Nope:
>
> 	mkdir a
> 	ln -s . a/foo
> 	cp -r a b
> 	cp: cycle detected: a/foo
I do this in gentoo Linux, It is ok!

mkdir a
ln -s . a/foo
cd a
ls -l
lxwrxwrxwr .........   foo -> .
cd foo
pwd
a/foo
ls
foo
cd foo
pwd
a/foo/foo
...
It is such a thing!
>
> cp follows symlinks.
>
> use cp -rH
>
> Casper

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFFXSn67tZp58UCwyMRAs4gAJ4gqh3IRhJQ
moasFCkdqhQAJly3LACg0gdI
HcXV36guD/SzLm4MU/48q+I=
=wRFv
-----END PGP SIGNATURE-----





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:44 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register