| View previous topic :: View next topic |
| Author | Message |
|---|
Guest
| Posted: Thu Nov 16, 2006 7:02 am Post subject: cp: cycle detected error on Solaris 10 |
| 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 |
|
| Back to top | |
 |
Stefaan A Eeckels Guest
| Posted: Thu Nov 16, 2006 7:52 am Post subject: Re: cp: cycle detected error on Solaris 10 |
| On 16 Nov 2006 03:02:43 -0800 Richard.Warden@sma.co.uk wrote:
| Quote: | 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 |
|
| Back to top | |
 |
Guest
| Posted: Thu Nov 16, 2006 8:52 am Post subject: Re: cp: cycle detected error on Solaris 10 |
| 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:
| Quote: | On 16 Nov 2006 03:02:43 -0800 Richard.War...@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 |
|
|
| Back to top | |
 |
James Carlson Guest
| Posted: Thu Nov 16, 2006 9:06 am Post subject: Re: cp: cycle detected error on Solaris 10 |
| Richard.Warden@sma.co.uk writes:
| Quote: | 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 |
|
| Back to top | |
 |
Dave Hinz Guest
| Posted: Thu Nov 16, 2006 9:20 am Post subject: Re: cp: cycle detected error on Solaris 10 |
| On 16 Nov 2006 04:52:58 -0800, Richard.Warden@sma.co.uk <Richard.Warden@sma.co.uk> wrote:
| Quote: | It is indeed an application I am trying to unistall, using the appropriate uninstall routine shipped with the app.
|
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.
| Quote: | 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? |
|
| Back to top | |
 |
Casper H.S. Dik Guest
| Posted: Thu Nov 16, 2006 11:16 am Post subject: Re: cp: cycle detected error on Solaris 10 |
| James Carlson <james.d.carlson@sun.com> writes:
| Quote: | 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 |
|
| Back to top | |
 |
Bo Yang Guest
| Posted: Thu Nov 16, 2006 11:18 pm Post subject: Re: cp: cycle detected error on Solaris 10 |
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Casper H.S. Dik :
| Quote: | 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 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!
| Quote: | 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 iD8DBQFFXSn67tZp58UCwyMRAs4gAJ4gqh3IRhJQmoasFCkdqhQAJly3LACg0gdI HcXV36guD/SzLm4MU/48q+I= =wRFv -----END PGP SIGNATURE----- |
|
| Back to top | |
 |
|