[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg/apt-get madness



On Tue, Nov 03, 1998 at 12:39:30PM +0100, Helge Hafting wrote:
> how to I make the package management system believe that package
> emacs20 no longer exist?

Perhaps hack /var/lib/dpkg/status, changing "install reinstall
conffiles" [or whatever] to "install ok not-installed"?  Note: I am
not on a Debian box now so I can't check the file name or the
suggestion.  This is a kluge, but I remember using it successfully
about year and a half ago.

Another possible solution would be the following:
  1 remove everything related to Emacsen, except emacs20 (do not
    purge them if you want to retain config)
  2 reinstall emacs20
  3 reinstall everything you removed in Step 1

Try this first.

> Unable to even remove a package (that nothing depends on anymore)
> because of a "very bad inconsistent state?"

If the databases get very broken, it's best that a program does not
try to fix it.  Since the package is in very bad inconsistent state,
dpkg can no longer assume anything about which files it can remove and
which it cannot.



        Antti-Juhani
-- 
Antti-Juhani Kaijanaho A7 <gaia@iki.fi> ** <URL:http://www.iki.fi/gaia/> **

                       The FAQ is your friend.
                            Trust the FAQ.


Reply to: