At 23:14 Uhr -0500 30.01.2002, David R. Morrison wrote:
>Kyle, your /etc directory is not actually gone.
>
>On darwin/Mac OS X, /etc is actually a symbolic link to /private/etc.
>So if you do:
>   cd /; sudo ln -s private/etc .
>everything will be back to normal.
>
>The reason this happened is that your dhcp package had the directory "/etc"
>in the .deb file (as I warned you on the package submission tracker).
>When you removed it, dpkg removed /etc...since this was a symlink, only
>the symlink was removed.  No warning needed, because the thing being
>removed WAS empty.
>
>Anyway, this should be a warning to all of us to be careful about what
>goes in the .deb file.  When I am testing a new package, I always
>build it before installing, and then run "dpkg --contents foo.deb" to
>see what is there before I install.

In addition, you shoul also run:

  fink check foo.deb

to let the validator check you are not using evil directories like 
/sw/man or are even going outside of /sw.


Cheers,

Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

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

Reply via email to