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

On Thursday, March 28, 2002, at 09:26  PM, James J. Sorenson wrote:

> I have been getting occasional errors when installing certain packages 
> that use "rm -rf."  For instance, the netpbm package from the current 
> unstable distribution will always error out when it tries:
> rm -rf /sw/src/root-netpbm-9.24-3/sw/share/man/man1
>
> I get "Directory not empty" errors.  This makes no sense!  With the -r 
> option, rm should be clearing the subdirectories and files as well.  
> When I clear the debian package and source files, the error will always 
> occur at the same spot.  In other words, "rm- rf" works fine multiple 
> times until it reaches "/sw/src/root-
> netpbm-9.24-3/sw/share/man/man1."   I added the following line above it 
> to get around this error:
> rm -f /sw/src/root-netpbm-9.24-3/sw/share/man/man1/*

there was a thread about this a while ago on the devel list i think. 
basically gnu's rm command sometimes has problems with large numbers of 
files...you probably installed fileutils at some point. do a "which rm". 
if you get anything but /bin/rm, move it or remove it so you get /bin/rm 
for your rm. the other thing you could do is change the order of your 
$PATH, but that is not encouraged, because most of the time people want 
the programs in /usr/local to be run instead of the default.



- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070
========================================================

"Twice blessed is help unlooked for." --Tolkien

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8o9bt+/mCMqKrwHARAvNrAJ9p2cRJ+QTNMnPxKoFEmwQH9k1NbwCgjq+s
NGuvebULE5pXcrzvpDI1WkA=
=JmKn
-----END PGP SIGNATURE-----


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to