I couldn't find any of these self-contradictory lines.
I snipped out a suspicius section from /sw/var/lib/apt/lists/_sw_fink_dists_unstable_main_binary-darwin-i386_Packages the section for libiconv-dev seems to lack not only the Package name but virtually everything. 8<------*snip*------(line nubers come from vi) 683 Package: libiconv-bin 684 Essential: yes 685 Priority: required 686 Section: base 687 Installed-Size: 236 688 Maintainer: Fink Core Group <[email protected]> 689 Architecture: darwin-i386 690 Source: libiconv 691 Version: 1.12-4 692 Replaces: libiconv (<= 1.7-6) 693 Depends: libiconv (= 1.12-4), darwin (>= 10-1) 694 Filename: dists/unstable/main/binary-darwin-i386/base/libiconv-bin_1.12-4_darwin-i386.deb 695 Size: 61032 696 MD5sum: 131caf44af291876d1c1bdd386aa1a5b 697 Description: Executables for libiconv package 698 GNU libiconv provides an iconv() implemententation for systems that lack 699 it, or whose implementation cannot convert from/to Unicode. 700 . 701 Web site: http://www.gnu.org/software/libiconv/ 702 . 703 Maintainer: Fink Core Group <[email protected]> 704 BuildDependsOnly: Undefined 705 706 Filename: dists/unstable/main/binary-darwin-i386/base/libiconv-dev_1.12-4_darwin-i386.deb 707 Size: 32392 708 MD5sum: 65a93d1d6da268d533d6ab9ab9abf964 709 710 Package: libiconv 711 Essential: yes 712 Priority: required 713 Section: base 714 Installed-Size: 1360 715 Maintainer: Fink Core Group <[email protected]> 716 Architecture: darwin-i386 717 Source: libiconv 718 Version: 1.12-4 719 Depends: base-files, darwin (>= 10-1) 720 Filename: dists/unstable/main/binary-darwin-i386/base/libiconv_1.12-4_darwin-i386.deb 721 Size: 815500 722 MD5sum: 6baad0cfaa7b1e64e8b68247f0940564 723 Description: Character set conversion library 724 GNU libiconv provides an iconv() implemententation for systems that lack 725 it, or whose implementation cannot convert from/to Unicode. 726 . 727 Web site: http://www.gnu.org/software/libiconv/ 728 . 729 Maintainer: Fink Core Group <[email protected]> 730 BuildDependsOnly: Undefined 8<------*snap*--- The corresponding section in /sw/var/lib/dpkg/status reads like this: 8<------*snip*--- 19571 19572 Package: libiconv-dev 19573 Status: install ok installed 19574 Priority: optional 19575 Section: base 19576 Installed-Size: 128 19577 Maintainer: Fink Core Group <[email protected]> 19578 Architecture: darwin-i386 19579 Source: libiconv 19580 Version: 1.12-4 19581 Replaces: libiconv (<= 1.7-6) 19582 Depends: libiconv (= 1.12-4), darwin (>= 10-1) 19583 Description: Developer files for libiconv package 19584 GNU libiconv provides an iconv() implemententation for systems that lack 19585 it, or whose implementation cannot convert from/to Unicode. 19586 . 19587 Web site: http://www.gnu.org/software/libiconv/ 19588 . 19589 Maintainer: Fink Core Group <[email protected]> 19590 BuildDependsOnly: True 19591 8<------*snap*---- Am 13.03.11 20:00, schrieb Alexander Hansen: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/13/11 2:11 PM, Moritz Kaiser wrote: >> I encounter strange problems with apt-get update. >> >> **** >> E: Encountered a section with no Package: header >> E: Problem with MergeList >> /sw/var/lib/apt/lists/_sw_fink_dists_unstable_main_binary-darwin-i386_Packages >> E: The package lists or status file could not be parsed or opened. >> **** >> >> In fact the mentioned file seems to contain sections without "Package". >> If I delete the defective sections manually, and re-execute apt-get >> update, the defective sections appear in an instant, and the error is >> the same again. Any clues? >> >> System is: >> Intel CoreDuo >> MacOS 10.6.6 >> >> > The error is actually generated from /sw/var/lib/dpkg/status . Look for > sections which contain the self-contradictory > > Status: install ok not-installed > > and fix those to > > Status: purge ok not-installed > > and remove the Version line from those as well. > > - -- > Alexander Hansen, Ph.D. > Fink User Liaison > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk19FFQACgkQB8UpO3rKjQ9TLACfeX0m+pA+JyLTdnFjMYzZq67n > eKAAn3WghXTnzGG0GOi98AzWp3FCptc7 > =apA/ > -----END PGP SIGNATURE----- > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
