On Tue, 19 Mar 2002, dstubb wrote:

> Been trying to update gnumeric from the unstable tree...but I keep getting
> this message on my "fink update-all" attempts:
> 
> [localhost:~] name% fink update-all
> sudo /sw/bin/fink update-all
> Reading package info...
> Information about 353 packages read in 1 seconds.
> WARNING: While resolving dependency "gal19-shlibs" for package
> "gnumeric-1.0.2-5", package "gal19-shlibs" was not found.
> Failed: Can't resolve dependency "gal19-shlibs" for package
> "gnumeric-1.0.2-5" (no matching packages/versions found)
> 
> Any ideas?  This happens every time I try it.
 
The thing about installing packages from unstable is that they may depend
on *other* packages from unstable. So, you need to grab everything related
to what you're trying to install, preferably by copying your stuff into
the local tree. (NB you can also add unstable to your /sw/etc/fink.conf
file, which is a hell of a lot shorter than the process I describe below,
but it forces you to have to keep abreast of micro-updates more than you
might want to (or then again maybe that's your thing (your call))).

To figure out what other packages you need, examine the line beginning
with "Depends" in the .info file you're interested in. So, in this case:

    % find /sw/fink/dists/unstable | grep gnumeric | xargs grep '^Depends'
    /sw/fink/dists/unstable/main/finkinfo/gnome/gnumeric-1.0.2-5.info:Depends:
      gettext (>= 0.10.40-2), glib, gtk+, gnome-libs, libglade,
      gal19-shlibs, gnome-print, libxml, bonobo (>= 1.0.9),
      libole2 (>= 0.2.4-1)
    %

(That grep statement only returns one line, but I've reformatted it for
clarity here.) So, you need to examine that list, determine what you
already have in stable/ or local/ (probably blib, gtk+, gnome-libs,
libglade, others?), what you might need to upgrade (bonobo?), and what you
might not have at all. If nothing else, all of these packages should be
available somewhere within the unstable branch, so if you want you can
just grab all of them, but if you're a little more careful you can avoid
getting everything that way. 

Once you figure out what packages need to be made available, find any
files with the corresponding names (info, patch, others?) and copy all of
them over to the local/ branch. So, for example:

    % find /sw/fink/dists/unstable | grep libxml
    /sw/fink/dists/unstable/main/finkinfo/libs/libxml++-0.13-1.info
    /sw/fink/dists/unstable/main/finkinfo/libs/libxml-1.8.14-1.info
    /sw/fink/dists/unstable/main/finkinfo/libs/libxml-1.8.17-1.info
    /sw/fink/dists/unstable/main/finkinfo/libs/libxml-1.8.17-1.patch
    /sw/fink/dists/unstable/main/finkinfo/libs/libxml2-2.4.13-1.info
    /sw/fink/dists/unstable/main/finkinfo/libs/libxml2-2.4.13-1.patch
    /sw/fink/dists/unstable/main/finkinfo/libs/perlmods/libxml-pm-0.07-2.info
    % cd /sw/fink/dists
    % sudo cp unstable/main/finkinfo/libs/libxml* \
                 local/main/finkinfo/libs

...making do without the Perl modules for now. 

Once you've repeated this step for everything you want / need to upgrade,
*then* go back and try "fink install gnumeric". Now it should find the
packages you have made available for it, and will proceed normally. 



-- 
Chris Devers                                [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/


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

Reply via email to