Results 1 to 2 of 2

Thread: Problem removing software with APT

  1. #1
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Problem removing software with APT

    First was when I did "dist-upgrade" the system. My Courier-MTA goes nuts. Almost the same type of error. Then, it's this.

    Code:
    SUPRA:/home/compunuts# apt-get dist-upgrade
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Calculating Upgrade... Done
    The following packages have been kept back
      mysql-navigator
    0 packages upgraded, 0 newly installed, 0 to remove and 1  not upgraded.
    3 packages not fully installed or removed.
    Need to get 0B of archives. After unpacking 0B will be used.
    Do you want to continue? [Y/n]
    Setting up console-common (0.7.25) ...
    Looking for keymap to install:
    us
    dpkg: error processing console-common (--configure):
     subprocess post-installation script returned error exit status 127
    Setting up console-data (2002.12.04dbs-16) ...
    Looking for keymap to install:
    us
    dpkg: error processing console-data (--configure):
     subprocess post-installation script returned error exit status 127
    dpkg: dependency problems prevent configuration of base-config:
     base-config depends on console-data (>= 1999.08.29-13); however:
      Package console-data is not configured yet.
    dpkg: error processing base-config (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     console-common
     console-data
     base-config
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    SUPRA:/home/compunuts#
    So now, what's the remedy for this?

    Second, when I did "apt-get -clean", I have this.
    Code:
    SUPRA:/home/compunuts# apt-get -clean
    E: Opening configuration file lean - ifstream::ifstream (2 No such file or directory)
    SUPRA:/home/compunuts#
    Is that mean my APT tool is doomed?

    Appreciate any pointers for this.

    TIA

  2. #2
    Senior Member
    Join Date
    Sep 2002
    Posts
    421

    Re:Problem removing software with APT

    Hmm. Exit status 127 means "command not found". So it seems that the post-install script calls some command that is not in your path. This shouldn't happen unless you messed with root's $PATH or you're using unstable (where this might happen occasionally).

    On my debian unstable system root's $PATH reads:

    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11

    Maybe you will have to try and identify the post-install script (no idea where I would look, though) and see what happens there.

Similar Threads

  1. problem doing software updates using yum command, pls help
    By ravifrequent in forum Redhat / Fedora
    Replies: 3
    Last Post: 09-02-2006, 01:36 AM
  2. Microsoft's anti-spyware strategy
    By genesis in forum Windows - General Topics
    Replies: 2
    Last Post: 01-22-2005, 05:09 PM
  3. What you can do about spyware
    By genesis in forum Windows - General Topics
    Replies: 0
    Last Post: 01-22-2005, 08:50 AM
  4. Device Manager Error Codes
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 12:52 AM
  5. The Software Developer as Movie Icon
    By coltrane in forum General Chat
    Replies: 5
    Last Post: 02-20-2003, 11:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •