So I'm not sure how but the old dpkg seemed to not check version of 
fink-virtuals, the patch I'm using is pretty much identical and it should have 
checked, but somehow it allowed things to install that I can't get in my new 
dpkg.

when trying to install test-simple-pm5123 for example, dpkg is right 
fink-virtual-pkgs returns test-harness-pm5123 as 0-0 but test-simple-pm5123 
requires test-harness-pm5123 <= 3.21-104, see example below.  So dpkg is 
functioning properly the problem is that some how in dpkg 1.10 the same code 
would pass.  So the question is how do we solve this?

a) add version to fink-virtual-pkgs
b) rewrite fink-virtual-pkgs to get the version it's self (this seems like a 
great option but the extra time without a cache would be terrible)
c) assume 0-0 means it's good to go and ignore the version test

justin@tracer [/sw/fink/dists/local/main/finkinfo]$ fink-virtual-pkgs --dpkg | 
grep test-harness-pm
test-harness-pm5123     0       0       0

justin@tracer [/sw/fink/dists/local/main/finkinfo]$ sudo dpkg -D663 -i 
/sw/fink/debs/test-simple-pm5123_0.98-1_darwin-x86_64.deb
(Reading database ... 195742 files and directories currently installed.)
Preparing to replace test-simple-pm5123 0.98-1 (using 
.../test-simple-pm5123_0.98-1_darwin-x86_64.deb) ...
D000001: process_archive oldversionstatus=unpacked but not configured
D000002: maintainer_script_new nonexistent preinst 
'/sw/var/lib/dpkg/tmp.ci/preinst'
Unpacking replacement test-simple-pm5123 ...
D000002: fork/exec /sw/var/lib/dpkg/info/test-simple-pm5123.postrm ( upgrade 
0.98-1 )
D000001: process_archive updating info directory
D000002: process_archive info installed /sw/var/lib/dpkg/tmp.ci/postrm as 
/sw/var/lib/dpkg/info/test-simple-pm5123.postrm
D000002: process_archive info installed /sw/var/lib/dpkg/tmp.ci/postinst as 
/sw/var/lib/dpkg/info/test-simple-pm5123.postinst
D000002: process_archive info unlinked 
/sw/var/lib/dpkg/info/test-simple-pm5123.md5sums
D000002: process_archive tmp.ci script/file '.' contains dot
D000002: process_archive tmp.ci script/file '..' contains dot
D000002: process_archive tmp.ci script/file '/sw/var/lib/dpkg/tmp.ci/control' 
is control
D000002: process_archive tmp.ci script/file 'package.info' contains dot
D000001: generating infodb hashfile
D000040: checking dependencies of test-simple-pm5123:darwin-x86_64 (- <none>)
D000400:   checking group ...
D000400:     checking possibility  -> perl5123-core
D000400:         virtual version 0-0 >= <none>, PASS
D000400:         is fink-virtual, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> file-spec-pm5123
D000400:         virtual version 0-0 >= <none>, PASS
D000400:         is fink-virtual, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> test-harness-pm5123
D000400:         virtual version 0-0 < 3.21-104, FAIL

---
TS
http://www.southofheaven.org/
Life begins and ends with chaos, live between the chaos!


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to