#1145 emerge bombs out without a TERM environment set

Bill Schaub

Under gentoo linux running recent emerge
emerge bombs out due to teh TERM envrionment not
being set. this can easily be fixed by setting TERM
to dumb inside of emerge-lib.pl

# emerge-lib.pl
# Functions for gentoo package management

chop($system_arch = `uname -m`);
$pkg_dir = "/var/db/pkg";
$portage_bin = "/usr/lib/portage/bin";

$ENV{TERM}="dumb"; # Emerge will barf if there is no
TERM environment.

I'm not sure that this is the best place to put it but
it does work as a workaround. This could be considered
a bug
in emerge rather than the software module depending on how
you look at it.


  • Jamie Cameron

    Jamie Cameron - 2003-05-24

    Logged In: YES

    Thanks, I will include this fix in the next release, as it
    seems reasonable.

  • Jamie Cameron

    Jamie Cameron - 2003-05-24
    • status: open --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks