On 5/9/07, Koen van der Drift <[EMAIL PROTECTED]> wrote:
>
> On May 4, 2007, at 5:55 PM, [EMAIL PROTECTED]
> wrote:
>
> > On Thu, May 03, 2007 at 09:27:13PM -0400, Koen van der Drift wrote:
> >>
> >> Package: python-biopython-py%type_pkg[python]
> >> Type: NoSource
> >
> > Where's the "python" type/subtype list?
> >
> > dan
> >
>
>
> Ah, of course - thanks ;-)
>
> So, now I have the following:
>
> Info2: <<
> Package: python-biopython-py%type_pkg[python]
> Type: python (2.3 2.4 2.5)
> Source: none
> Version: 1.40
> Revision: 2
> Depends: biopython-py%type_pkg[python] (>= 1.40b), fink-obsolete-
> packages
> Description: OBSOLETE, - use biopython-py%type_pkg[python] instead
> Maintainer: Koen van der Drift <[EMAIL PROTECTED]>
> CompileScript: echo "%N is an obsolete package. Install biopython-py%
> type_pkg[python] instead." > README
> InstallScript: true
> DocFiles: README
> License: OSI-Approved
> <<
>
> My understanding of this mechanism (of getting rid of obsolete
> packages) is that it is supposd to give me a warning, and install the
> newer package instead. But when I try to install the obsolete
> package, it will still make a deb file. So, is the above correct, or
> do I still need to change something?
>
> Here's the terminal output:
>
> koen$ fink install python-biopython-py25
> Information about 7195 packages read in 1 seconds.
> The package 'python-biopython-py25' will be installed.
> Reading dependency for python-biopython-py25-1.40-2...
> The package 'biopython-py25' will be installed.
> Reading dependency for biopython-py25-1.43-1001...
> The following package will be installed or updated:
> python-biopython-py25
> The following additional package will be installed:
> biopython-py25
> Do you want to continue? [Y/n]
> Reading buildlock packages...
>          All buildlocks accounted for.
> /sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-
> powerpc/sci/biopython-py25_1.43-1001_darwin-powerpc.deb
> Selecting previously deselected package biopython-py25.
> (Reading database ... 73830 files and directories currently installed.)
> Unpacking biopython-py25 (from .../biopython-py25_1.43-1001_darwin-
> powerpc.deb) ...
> Setting up biopython-py25 (1.43-1001) ...
> Reading buildlock packages...
>          All buildlocks accounted for.
> /sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-
> powerpc/sci/python-biopython-py25_1.40-2_darwin-powerpc.deb
> Selecting previously deselected package python-biopython-py25.
> (Reading database ... 75403 files and directories currently installed.)
> Unpacking python-biopython-py25 (from .../python-biopython-
> py25_1.40-2_darwin-powerpc.deb) ...
> Setting up python-biopython-py25 (1.40-2)
>
>
>
> thanks,
>
> - Koen.
>
>

It's not that fancy.  If you tag a package as obsolete, it causes the
validator to gripe for packages that depend on it, as well as a
warning if it is to be installed as part of a dependency chain.  It
also becomes subject to removal by "fink cleanup" for current fink
vintage.  But it's still treated as a normal package by dpkg and fink
otherwise, so it still gets installed.

So what you've shown above is the normal course of action.

-- 
Alexander K. Hansen
(akh)
Fink User Liaison and Documenter

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to