Re: [Fink-devel] renaming a package

2005-09-24 Thread Koen van der Drift

Hi,

I finally got around to look at this again. As a reminder, this is  
what I am trying to do:




I recently took over maintainership for the package
'python-biopython-py'. However, I think the name biopython-py  
would be

more appropriate.





Back in July, Dan MAcks suggested the following:



A second problem is how the user who has the old-name package
installed will know about this upgrade...his old-name-1.0-1 isn't
marked out-of-date when new-name-2.0-1 appears. One solution is to
create a final old-name-2.0-1:Depends:new-name(=2.0-1) but is
Type:bundle and has a Description noting that it's just a upgrade
compatibility game. That way his old old-name will be out-of-date, and
when he upgrades it he will get he'll get the new one.


Here's the info file for the old package I created:

Info2: 
Package: python-biopython-py%type_pkg[python]
Type: bundle, python (2.2 2.3 2.4)
Version: 1.40b
Revision: 1
Depends: biopython-py%type_pkg[python] (= 1.40b)
Description: Python tools for computational biology
Maintainer: Koen van der Drift [EMAIL PROTECTED]
DescPackaging: 
This is a convenience package for biopython-py, to ensure the
transition to a more consistant package name.






Unfortunaltely this doesn't work, here's the output in the terminal:


[EMAIL PROTECTED]:/sw/fink/dists/local/main/finkinfo/sci] $ fink  
install python-biopython-py24

Information about 4967 packages read in 2 seconds.
The package 'python-biopython-py24' will be installed.
Reading dependency for python-biopython-py24-1.40b-1...
The following package will be installed or updated:
python-biopython-py24
Resolving inconsistent dependencies...
Solution resolved. Will install extra packages:
  biopython-py24-1.40b-1
/sw/bin/dpkg-lockwait -i /sw/fink/dists/local/main/binary-darwin- 
powerpc/sci/python-biopython-py24_1.40b-1_darwin-powerpc.deb /sw/fink/ 
dists/local/main/binary-darwin-powerpc/sci/biopython- 
py24_1.40b-1_darwin-powerpc.deb

Selecting previously deselected package python-biopython-py24.
dpkg: regarding .../python-biopython-py24_1.40b-1_darwin-powerpc.deb  
containing python-biopython-py24:

biopython-py24 conflicts with python-biopython-py24
  python-biopython-py24 (version 1.40b-1) is to be installed.
/sw/bin/dpkg: error processing /sw/fink/dists/local/main/binary- 
darwin-powerpc/sci/python-biopython-py24_1.40b-1_darwin-powerpc.deb  
(--install):

conflicting packages - not installing python-biopython-py24
(Reading database ... 33496 files and directories currently installed.)
Preparing to replace biopython-py24 1.40b-1 (using .../biopython- 
py24_1.40b-1_darwin-powerpc.deb) ...

Unpacking replacement biopython-py24 ...
Setting up biopython-py24 (1.40b-1) ...
Errors were encountered while processing:
/sw/fink/dists/local/main/binary-darwin-powerpc/sci/python-biopython- 
py24_1.40b-1_darwin-powerpc.deb

### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't batch-install packages: /sw/fink/dists/local/main/ 
binary-darwin-powerpc/sci/python-biopython-py24_1.40b-1_darwin- 
powerpc.deb /sw/fink/dists/local/main/binary-darwin-powerpc/sci/ 
biopython-py24_1.40b-1_darwin-powerpc.deb

[EMAIL PROTECTED]:/sw/fink/dists/local/main/finkinfo/sci] $


Any suggestions how this might be fixed?

Package manager version: 0.24.99.cvs
Distribution version: 0.8.0.cvs


thanks,

- Koen.



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42 plasma tv or your very

own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] renaming a package

2005-09-24 Thread Dave Vasilevsky

Hi Koen,

Judging from your error messages, it looks like the biopython-py24  
you had installed and the one you had in a .deb were different, even  
though they had the same version/revision. (This can happen if you  
make changes and rebuild.) Could you try installing python-biopython- 
py24 again, and see if the error is the same or different? Also,  
please run fink with the -v flag, just in case there are any messages  
that Fink isn't printing.


Dave


PGP.sig
Description: This is a digitally signed message part