Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Problem removing software with APT
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. Removing Fedora from PC
    By elle in forum Redhat / Fedora
    Replies: 2
    Last Post: 05-05-2009, 10:17 AM
  2. 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
  3. mobile mesh software installation problem
    By wahaha in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 07-13-2006, 02:18 PM
  4. need help removing a file
    By di||itante in forum General Chat
    Replies: 3
    Last Post: 08-04-2004, 09:09 PM
  5. removing software
    By mmiller9 in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 10-29-2002, 03:09 AM

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
  •