home *** CD-ROM | disk | FTP | other *** search
/ Amiga GigaPD 3 / Amiga_GigaPD_v3_3of3.iso / netbsd / docs / mailinglist-archive / 1993-12 / text0363.txt < prev    next >
Encoding:
Text File  |  1993-06-25  |  3.3 KB  |  82 lines

  1.  
  2. >>>>> mtk == Markus Wild <mw@eunet.ch> wrote:
  3.  
  4. >         Cannot create link file or directory exist!
  5.  
  6.     mtk> If you're overwriting existing stuff, these warnings can
  7.     mtk> happen..
  8.  
  9. >         File (tar, compress, gzip, mount-????, init) busy cannot extract!
  10.  
  11.     mtk> Happens if you're trying to overwrite a currently
  12.     mtk> running executable. This means that this executable
  13.     mtk> wasn't updated in your filesystem, so take care!
  14.  
  15. >         Could not create directory: it exists!
  16.  
  17.     mtk> Harmless.
  18.  
  19. >         Something else, I was using my /opt directory for my transfer area and 
  20. > this wasn't formated. Could this have been creating any of my above problems 
  21. > with tar. Perhaps something was looking to put files on the /opt directory.
  22.  
  23.     mtk> Directory or partition? I don't see how you'd want to
  24.     mtk> format a directory...
  25.  
  26. As an aside... I had none of these problems.  What I had done was
  27. to build tar and gzip again and had them installed in /usr/local/bin.
  28. For some reason, I could never get the older tar+gzip to do xzvfp -
  29. I always got "stdin not in compressed format" error message...  I
  30. noticed the same problem with pjotr's system when I telnetted there
  31. and built some stuff for him.
  32.  
  33. Because I had tar+gzip in /usr/local/bin, and /usr/local/bin is on
  34. my path, I was able to do: rm /bin/* and then tar xzvfp /tmp/usr-bin.tgz
  35. (and the same for each of the bin-*.tgz files.
  36.  
  37. For what it's worth, I'm paranoid.  I do not trust to simply untar
  38. the new bin-*.tgz over the existing filesystem (already installed /bin
  39. for example).  If you had an old /bin/foo and the new archive does
  40. not have a new /bin/foo, then you have the new bin-bin.tgz installed
  41. plus the old /bin/foo.  My paranoia is that I neither want the old
  42. /bin/foo nor do I wish to risk the old /bin/foo being incompatible
  43. with new bins that it works with.  When I imagine running a mixture
  44. of old tcp/nfs daemons with new tcp/nfs daemons, I can only see
  45. problems.
  46.  
  47. Now, I must point out that before you rm /usr/lib/*, you should
  48. consider that if you had installed X11 or built your own libraries
  49. to install there, then you would be erasing these too.  I had
  50. links to the X11 libs in /usr/lib that I wanted to preserve.  So
  51. I did: cd /usr/lib and then rm individual files by hand to keep
  52. what I wanted.
  53.  
  54. I should also point out that mtk's bin-*.tgz have links made in them
  55. that did not work on my system.  His X11 links point to some odd
  56. place that my X11 isn't at :-)  A good thing about tar is that it
  57. will not overwrite your links.  If you keep your /usr/lib/X11 link
  58. in place, when you untar the usr-usrlib.tgz file, it won't destroy
  59. the perfectly good link you already made.
  60.  
  61. Another thing I remember is that the new bin-bin.tgz file did not
  62. have a /bin/sh in it!  TO fix that, I simply made a link to bash
  63. for it: ln -s /bin/bash /bin/sh.
  64.  
  65. Lastly, I had problems building a kernel from the bsdsyssrc720.tgz,
  66. but the src0712.tgz file had all the files needed, in the right
  67. places, to build kernels.  A word of advice: use the AMIGA config
  68. file as a starting point.  The GODZILLA one will not build a working
  69. kernel.  (makes me wonder how mtk does it :-)  Apply chopps' patches
  70. if you want X to work.
  71.  
  72.  
  73.  
  74.     mtk> -Markus
  75.     mtk> --
  76.     mtk> CHUUG/EUnet Switzerland Markus Wild
  77.     mtk> Zweierstrasse 35 Tel: +41 1 291 45 80 mw@eunet.ch
  78.     mtk> CH-8004 Zuerich Fax: +41 1 291 46 42
  79.     mtk> S=mw;P=EUnet;A=EUnet;C=CH
  80.  
  81.  
  82.