[Bug 1871530] Re: on upgrade from eoan to focal, update-manager puts debconf prompts to the terminal instead of using the gnome frontend
Steve Langasek
steve.langasek at canonical.com
Wed Apr 8 04:01:01 UTC 2020
Found in ./DistUpgradeViewGtk3.py:
# if no libgtk2-perl is installed show the terminal
frontend= os.environ.get("DEBIAN_FRONTEND") or "gnome"
if frontend == "gnome" and self._cache:
if (not "libgtk2-perl" in self._cache or
not self._cache["libgtk2-perl"].is_installed):
frontend = "dialog"
self.expander.set_expanded(True)
self.env = ["VTE_PTY_KEEP_FD=%s"% self.writefd,
"APT_LISTCHANGES_FRONTEND=none"]
if "DEBIAN_FRONTEND" not in os.environ:
self.env.append("DEBIAN_FRONTEND=%s" % frontend)
libgtk2-perl is obsolete and no longer installed by default on the
desktop. This needs updated for libgtk3-perl.
** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
Importance: Undecided => Medium
** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1871530
Title:
on upgrade from eoan to focal, update-manager puts debconf prompts to
the terminal instead of using the gnome frontend
Status in ubuntu-release-upgrader package in Ubuntu:
Triaged
Status in ubuntu-release-upgrader source package in Focal:
Triaged
Bug description:
When upgrading a system from eoan to focal, I opened the terminal
within the release upgrader because I like to watch the progress of
the package installations. To my surprise, a debconf prompt popped up
in the terminal.
update-manager should always be running in a configuration that uses
the gnome frontend, and the release upgrader should be inheriting this
setting.
The libgtk3-perl package is installed. However, the environment
passed to dpkg shows DEBIAN_FRONTEND=dialog is set instead.
19319 pts/7 Ds+ 0:01 /usr/bin/dpkg --force-overwrite --status-fd
58 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-
dpkg-install-MhF2Le SHELL=/bin/bash LANG=en_US.UTF-8 LANGUAGE=en
LC_MONETARY=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=C.UTF-8 TERM
=xterm-256color COLORTERM=truecolor DISPLAY=:1
XAUTHORITY=/run/user/1000/gdm/Xauthority
PATH=/usr/sbin:/usr/bin:/sbin:/bin LOGNAME=root USER=root HOME=/root
PKEXEC_UID=1000 LC_PAPER=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8
LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8 RELEASE_UPGRADE_IN_PROGRESS=1
PYCENTRAL_FORCE_OVERWRITE=1 RELEASE_UPGRADE_MODE=desktop
VTE_PTY_KEEP_FD=11 APT_LISTCHANGES_FRONTEND=none
DEBIAN_FRONTEND=dialog VTE_VERSION=5802 DPKG_UNTRANSLATED_MESSAGES=1
DPKG_COLORS=never DPKG_FRONTEND_LOCKED=true
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: ubuntu-release-upgrader-core 1:19.10.15.4
ProcVersionSignature: Ubuntu 5.3.0-46.38-generic 5.3.18
Uname: Linux 5.3.0-46-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu8.8
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 7 20:53:19 2020
InstallationDate: Installed on 2019-12-23 (106 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to eoan on 2020-04-08 (0 days ago)
VarLogDistupgradeTermlog:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1871530/+subscriptions
More information about the foundations-bugs
mailing list