Tom Harris wrote:
After installing Zope 2.5.1-14 and having it run very well, I ran into some
dependency problems installing other stuff and had to use "fink -f install"
to fix things, which forced me to remove zope and a few other packages. I
then tried to reinstall later with apt-get (as before) and the install
seemed to go fine but when I tried to run zope again I got an error message
that it couldn't find zope.cnf. After trying everything I know short of
creating the file myself (I can't remember it's default contents off hand) I
thought I'd let you know about it and see if anyone can offer a quick fix.
I have the impression there have been similar reports for other packages that lead to the conclusion that there is a bug somewhere preventing the installation of ConfFiles with a reinstallation.

I could imagine the following scenario, but I have not verified yet if this is what happens: The removal command somehow (and this is the bug) removes the cnf file, but doesn't tell dpkg that the package has been *purged*, not only *removed* (dpkg --remove does not remove config files, only dpkg --purge does). Then a subsequent install does not reinstall the config files, because dpkg thinks they are still installed.

What would then help is to do a "sudo dpkg --purge zope" before the fink reinstall.

Any idea why the reinstall doesn't put the file back the way the original
install does? Also, any idea how I can get the file?
You can unpack the deb file somewhere else and copy the file manually:

dpkg -x /sw/fink/debs/zope_2.5.1-14_darwin-powerpc.deb /tmp/TMP
sudo cp /tmp/TMP/sw/etc/zope.cnf /sw/etc/

(or wherever zope.cnf is supposed to live, "dpkg -L zope |grep zope.cnf")

--
Martin








-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to