Alexander Hansen wrote:
[]
Your .cshrc appears to me to be harmless. Martin may contradict me, though. :-)

I don't know. There is an awful lot of stuff in the PATH variable that ends up *before* /sw/bin, for example the macports directories and some user directories with unknown contents. But how this could produce the result we have been seeing, I cannot imagine. But then I can still not imagine *anything* to produce the effect we have seen, namely an existing fink-0.28.5 package description apparently being ignored by the installed fink-0.27.16.

I still would have liked to see whether running "fink list fink" while that ~/.cshrc was moved out of the way gives a different result.

Also

fink dumpinfo fink

would perhaps reveal some useful informations.

--
Martin



Although: if the Trees: line in /sw/etc/fink.conf is misconfigured, then a selfupdate-cvs would download new package descriptions, but fink wouldn't see them.

It would be worth looking at that, too.

So, as requested by Martin, I moved my .cshrc and put a new one containing only:

source /sw/bin/pathsetup.sh
test -r /sw/bin/init.csh && source /sw/bin/init.csh

The result of the comands  fink index; fink list index is:

------------------
[apcmc147:~] blanc% /sw/bin/fink index
Password:
Scanning package description files..........
[apcmc147:~] blanc% /sw/bin/fink list index
Scanning package description files..........
Information about 4069 packages read in 0 seconds.
------------------

Same thing with my own .cshrc.

But, before changing the .cshrc (then with my own one), I run these comands and got:

------------------
/sw/bin/fink index
Password:
Scanning package description files..........
[apcmc147:~] blanc% /sw/bin/fink list fink
Scanning package description files..........
Information about 4069 packages read in 0 seconds.
 i   fink             0.27.16-41   The Fink package manager
 i   fink-mirrors     0.28.5.2-1   Mirror infrastructure
     fink-obsolet...  0.1-1        Base package for obsolete packages
------------------
I cannot reproduced it after the moving exercice above.


The result of fink dumpinfo fink is below. The file /sw/etc/fink.conf is attached.

Guillaume

-------------
[apcmc147:~] blanc% fink dumpinfo fink
Scanning package description files..........
Information about 4069 packages read in 0 seconds.
infofile: /sw/fink/dists/stable/main/finkinfo/base/fink-10.5.info
debfile: /sw/fink/10.5/stable/main/binary-darwin-i386/base/ fink_0.27.16-41_darwin-i386.deb
package: fink
epoch: 0
version: 0.27.16
revision: 41
family: fink
status: latest have-deb installed
allversions:
 bi     0.27.16-41
trees: stable/main
description: The Fink package manager
type: [undefined]
license: GPL
maintainer: Fink Core Group <[EMAIL PROTECTED]>
depends: base-files
replaces: gcc3.1 (= 1175-6)
conflicts: gcc3.1 (= 1175-6)
recommends: apt (>= 0.5.4-41)
essential: true
builddependsonly: [undefined]
custommirror:
 Primary: http://west.dl.sourceforge.net/sourceforge/
 Secondary: http://easynews.dl.sourceforge.net/sourceforge/
 nam-US: http://us.dl.sourceforge.net/sourceforge/
 eur: http://eu.dl.sourceforge.net/sourceforge/

source: mirror:custom:fink/fink-0.27.16.tar.gz
source-md5: 3956a3b9bdd5f79bd7e777a7688cbb23
nosourcedirectory: [undefined]
updateconfigguess: [undefined]
updatelibtool: [undefined]
updatepomakefile: [undefined]
env:
 CCACHE_DIR=/sw/var/ccache
 CPPFLAGS=-I/sw/include
HOME=/var/folders/U+/U+W2y0j7GMi6qE7Q3bBVAU+++TI/-Tmp-/fink-build- HOME.55J7ZrBpc1
 INFOPATH=/sw/share/info:/sw/info:/usr/share/info
 LDFLAGS=-L/sw/lib
 MACOSX_DEPLOYMENT_TARGET=10.5
MANPATH=/sw/share/man:/usr/share/man:/usr/X11/man:/sw/lib/ perl5/5.8.8/man:/usr/X11R6/man
 PATH=/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
 PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
 PINECONF=/sw/etc/pine.conf
 PWD=/Users/blanc
 SGML_CATALOG_FILES=/sw/etc/sgml/catalog
 SHLVL=2
 TERM=xterm-color
XDG_CACHE_HOME=/var/folders/U+/U+W2y0j7GMi6qE7Q3bBVAU+++TI/-Tmp-/ fink-build-HOME.55J7ZrBpc1/.cache
 XDG_CONFIG_DIRS=/sw/etc/xdg
XDG_CONFIG_HOME=/var/folders/U+/U+W2y0j7GMi6qE7Q3bBVAU+++TI/-Tmp-/ fink-build-HOME.55J7ZrBpc1/.config
 XDG_DATA_DIRS=/sw/share
XDG_DATA_HOME=/var/folders/U+/U+W2y0j7GMi6qE7Q3bBVAU+++TI/-Tmp-/fink- build-HOME.55J7ZrBpc1/.local/share
 XML_CATALOG_FILES=/sw/etc/xml/catalog
configureparams: --prefix=/sw
compilescript:
 make test PREFIX=/sw
 ./setup.sh /sw
noperltests: [undefined]
updatepod: [undefined]
installscript:
 ./install.sh /sw/src/fink.build/root-fink-0.27.16-41/sw
install -c -p -m 644 fink.shlibs "/sw/src/fink.build/root- fink-0.27.16-41/DEBIAN/shlibs"
splitoffs:
postinstscript:
 /sw/lib/fink/postinstall.pl
 /sw/bin/fink --no-use-binary-dist index

 # try to clean up left-overs from previous versions (old location)
 rm -f /sw/var/db/fink.db
 rm -f /sw/var/db/shlibs.db
 rm -f /sw/var/lib/fink/fink.db
prermscript:
 # clean up package indexes
[ \! -d /sw/var/lib/fink/finkinfodb ] || touch /sw/var/lib/fink/ finkinfodb/invalidate
 rm -f /sw/var/lib/fink/index.db
 rm -f /sw/var/lib/fink/index.db.lock
 rm -f /sw/var/lib/fink/infolist
 rm -f /sw/var/lib/fink/shlibs.db
 rm -f /sw/var/lib/fink/shlibs.db.lock
homepage: http://www.finkproject.org/
descdetail:
 fink is the Fink project's package manager. It is responsible for
 downloading and compiling source and building binary packages from
 it. Binary package handling is then delegated to dpkg.
descpackaging:
 Don't use mirror:sourceforge so that older package manager versions
 which do not know that mirror can still selfupdate.
 .
 Must put "make test" before "./setup.sh %p", because make test runs
 the setup script itself, but pointed at the testing directory.
 The second run of setup.sh properly points fink at the installed
 configuration file.
 .
 We are using Conflicts/Replaces against gcc3.1 so that the Fink gcc3.1
 package is removed (in favor of an Apple-supplied gcc 3.1, represented
 by a virtual package).
---------------------


Attachment: fink.conf
Description: Binary data





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to