"Package is in a very bad inconsistent state" and j2sdk1.4

From: H. S. (greatexcalibur_at_yahoo.com)
Date: 02/01/05

  • Next message: Adam Porter: "Re: xwindows ati rage 128 pro"
    To: debian-user@lists.debian.org
    Date: Tue, 01 Feb 2005 00:15:50 -0500
    
    

    I am helping a guy by email who has a freshly installed Sarge system. He
    is totally new to Debian and he was helped by a friend during his first
    install.

    His friend is away and I am now helping this guy in solving this problem
    that he is having while installing (and now while removing) j2sdk1.4. If
    he tries to remove this package, he gets:
    #--------------------------------------------------------------
    Do you what to continue? [Y/n] y
    Preconfiguring packages ...
    dpkg: error processing j2sdk1.4 {--remove):
       package is in a very bad inconsistant state - you
    should reinstall it before atempting a removal
    Errors were encountered while processing:
       j2sdk1.4
    E: Sub-process /usr/bin/dpkg returned an error code
    {1)
    Root$
    #--------------------------------------------------------------

    He gets this when he tried "dpkg --purge j2sdk1.4", "apt-get
    dist-upgrade" or "apt-get "--purge remove j2sdk1.4".

    I have suggested him to try:
    1) #> dpkg --purge --force-remove-reinstreq j2sdk1.4

    2) the following procedure if 1) above does not work.
    a. dpkg --listfiles <package name>
    Find every file that was installed, then do a search and destroy.

    b. Edit the file /var/lib/dpkg/status
    Remove the section for your badly broken package

    c. Edit the file /var/lib/dpkg/available
    Remove the section for your badly broken package

    Just wanted to know if somebody has seen this before or if somebody has
    other suggestions.

    ->HS

    -- 
    Please remove the underscores ( the '_' symbols) from my email address 
    to obtain the correct one. Apologies, but the fudging is to remove spam.
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Adam Porter: "Re: xwindows ati rage 128 pro"

    Relevant Pages

    • Errors applying kernel patch 118833-36
      ... install of Solaris 10 11/06. ... However, once the package list is done, I see a worrisome message: ... Below is the complete console output of the patch run. ... Changes for package SUNWnfsskr will not be applied to the system. ...
      (SunManagers)
    • Re: media player 10 setup issues
      ... Finished building install list. ... Package 'MPPRE' is version '10.0.0.3802'. ... Install for Exception pack ...
      (microsoft.public.windowsmedia)
    • Re: A little help please!
      ... This so far was the best map to getting DVD media working I am going to ... Also I have the latest libdvdcss2 and libdvdcss2-dev installed. ... sudo aptitude install totem-xine ... Click either free or non-free depending on where the package you ...
      (Ubuntu)
    • Re: Code correctness, and testing strategies
      ... automate the testing a bit more. ... the shell scripts & control files work correctly, that the debian ... package had all the files in the correct places etc). ... Install the package under a chroot ...
      (comp.lang.python)
    • Re: Reinstall WMP10 & WMP11 fail
      ... Windows Media Development Team ... Finished building install list. ... Package 'MPPRE' is version '10.0.0.3802'. ... Parsing CustomDestination INFSection:'WMP.Destination' ...
      (microsoft.public.windowsmedia.player)