-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/18/10 6:55 PM, Michael Hanna wrote: > I want to install mercurial-server, so I did: > > dpkg -i /Users/michael/Downloads/mercurial-server_1.0.1-1.1_all.deb >
You can't install arbitrary .debs (e.g. Ubuntu or Debian packages) via Fink. Even though this isn't for a particular OS version, it's not a Fink package. > however this install had failed and now it's in an indeterminate state. > Neither can I install debconf(which should help me, right?) Not in this case. because of > "inconsistent dependencies". > > I've tried > > sudo dpkg -r --force-remove-reinstreq mercurial-server > > and > > dpkg -i /Users/michael/Downloads/mercurial-server_1.0.1-1.1_all.deb > > again but neither help me out of this state with this package. I am > completely stuck! Any suggestions? > > here are some samples of what I've tried: > > sidha% fink install debconf > Information about 3559 packages read in 0 seconds. > > fink needs help picking an alternative to satisfy a virtual dependency. > The candidates: > > (1) debconf-english: small footprint English-only debconf > (2) debconf-i18n: full internationalization support for debconf > > Pick one: [1] > > fink needs help picking an alternative to satisfy a virtual dependency. > The candidates: > > (1) locale-gettext-pm5100: Perl module for string internationalization > (2) text-iconv-pm5100: The iconv() character set conversion function > > Pick one: [1] > The following package will be installed or updated: > debconf > The following 13 additional packages will be installed: > anacron daemonic debconf-english findutils libgettext3-dev libxml2 > libxml2-bin libxml2-shlibs locale-gettext-pm5100 pkgconfig po-debconf > readline5 readline5-shlibs > Do you want to continue? [Y/n] > Reading buildlock packages... > Could not resolve inconsistent dependencies! > > Fink isn't sure how to install the above packages safely. You may be > able to fix things by running: > > fink scanpackages > sudo apt-get update > sudo apt-get install libgettext3-dev=0.14.5-2 > > Failed: Fink::SysState: Could not resolve inconsistent dependencies > This is in the FAQ: http://www.finkproject.org/faq/upgrade-fink.php?phpLang=en#stuck-gettext > sidha% sudo apt-get update > Reading Package Lists... Done > Building Dependency Tree... Done > sidha% sudo apt-get install libgettext3-dev=0.14.5-2 > Reading Package Lists... Done > Building Dependency Tree... Done > E: The package mercurial-server needs to be reinstalled, but I can't > find an archive for it. > > > sidha% dpkg -r --force-remove-reinstreq mercurial-server > dpkg: requested operation requires superuser privilege > sidha% sudo !! > sudo dpkg -r --force-remove-reinstreq mercurial-server > dpkg - warning, overriding problem because --force enabled: > Package is in a very bad inconsistent state - you should > reinstall it before attempting a removal. > (Reading database ... 5821 files and directories currently installed.) > Removing mercurial-server ... > /sw/var/lib/dpkg/info/mercurial-server.postrm: line 7: > /usr/share/debconf/confmodule: No such file or directory > /sw/bin/dpkg: error processing mercurial-server (--remove): > subprocess post-removal script returned error exit status 1 > Errors were encountered while processing: > mercurial-server > sidha% > > > sidha% dpkg -i /Users/michael/Downloads/mercurial-server_1.0.1-1.1_all.deb > dpkg: requested operation requires superuser privilege > sidha% sudo !! > sudo dpkg -i /Users/michael/Downloads/mercurial-server_1.0.1-1.1_all.deb > Selecting previously deselected package mercurial-server. > (Reading database ... 5788 files and directories currently installed.) > Preparing to replace mercurial-server 1.0.1-1.1 (using > .../mercurial-server_1.0.1-1.1_all.deb) ... > Unpacking replacement mercurial-server ... > /sw/var/lib/dpkg/info/mercurial-server.postrm: line 7: > /usr/share/debconf/confmodule: No such file or directory > dpkg: warning - old post-removal script returned error exit status 1 > dpkg - trying script from the new package instead ... > /sw/var/lib/dpkg/tmp.ci/postrm <http://tmp.ci/postrm>: line 7: > /usr/share/debconf/confmodule: No such file or directory > /sw/bin/dpkg: error processing > /Users/michael/Downloads/mercurial-server_1.0.1-1.1_all.deb (--install): > subprocess new post-removal script returned error exit status 1 > /sw/var/lib/dpkg/tmp.ci/postrm <http://tmp.ci/postrm>: line 7: > /usr/share/debconf/confmodule: No such file or directory > dpkg: error while cleaning up: > subprocess post-removal script returned error exit status 1 > Errors were encountered while processing: > /Users/michael/Downloads/mercurial-server_1.0.1-1.1_all.deb > > > Try the following: 1) Edit /sw/var/lib/dpkg/status as root and remove the entire entry for mercurial-server so that dpkg forgets about it. 2) Manually remove any scripts that refer to mercurial-server from /sw/var/lib/dpkg/info/ 3) Run dpkg -c /Users/michael/Downloads/mercurial-server_1.0.1-1.1_all.deb to find all of the files that might have gotten installed, and then remove those manually if they're present, to avoid problems later. 4) Don't try to install this .deb again. Fink has its own package for mercurial, in the form of the mercurial-py2X packages. - -- Alexander Hansen Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAky81WYACgkQB8UpO3rKjQ9BDACfWwsI1cRXqmgD0lAfZsB3qToJ S4EAn19JbU62CUrFmA4DTvaHJ0iahc9c =plio -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
