[Bug 768614] Re: No terminal, and no DISPLAY set, can't fork shell.

Jakob Bohm jb-debbugs at wisemo.net
Mon Mar 31 20:50:04 UTC 2014


This is actually a bug in package ucf, identical to Debian bug 574266
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574266#18), which was
recently fixed with a one-line patch.

The code that tested for terminal availability would fail if the debconf
ncurses interface (whiptail) was used, and the program was /not/ run
under X.  So when upgrading from the console or via ssh (without the -x
option), it would always generate this error message,

For additional details, see the Debian bug report, which includes a
patch.


** Bug watch added: Debian Bug tracker #574266
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574266

** Package changed: update-manager (Ubuntu) => ucf (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ucf in Ubuntu.
https://bugs.launchpad.net/bugs/768614

Title:
  No terminal, and no DISPLAY set, can't fork shell.

Status in “ucf” package in Ubuntu:
  New

Bug description:
  Binary package hint: update-manager

  I'm testing do-release-upgrade on ec2 from maverick -> natty
  I'm doing so by:
   - ssh in
   - byobu
   - sudo apt-get update && sudo apt-get dist-upgrade
   - sudo do-release-upgrade -d

  At a point during the upgrade it tells me that /etc/default/grub has been
  locally modified.  One of the options in this dialog is to:
    "start a new shell to examine the situation"

  When I select that option, I see:
    No terminal, and no DISPLAY set, can't fork shell.

  I'm not certain that this is update-manager related, but I dont'
  recall having seen it before.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: update-manager-core 1:0.150
  ProcVersionSignature: User Name 2.6.35-24.42-virtual 2.6.35.8
  Uname: Linux 2.6.35-24-virtual i686
  Architecture: i386
  Date: Thu Apr 21 21:23:56 2011
  Ec2AMI: ami-a6f504cf
  Ec2AMIManifest: ubuntu-images-us/ubuntu-maverick-10.10-i386-server-20101225.manifest.xml
  Ec2AvailabilityZone: us-east-1c
  Ec2InstanceType: m1.small
  Ec2Kernel: aki-407d9529
  Ec2Ramdisk: unavailable
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to natty on 2011-04-21 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ucf/+bug/768614/+subscriptions



More information about the foundations-bugs mailing list