on upgrade from eoan to focal, update-manager puts debconf prompts to the terminal instead of using the gnome frontend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
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_
19319 pts/7 Ds+ 0:01 /usr/bin/dpkg --force-overwrite --status-fd 58 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.3.0-46-generic x86_64
NonfreeKernelMo
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)
PackageArchitec
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: Upgraded to eoan on 2020-04-08 (0 days ago)
VarLogDistupgra
Related branches
- Brian Murray: Approve
-
Diff: 35 lines (+11/-3)2 files modifiedDistUpgrade/DistUpgradeViewGtk3.py (+3/-3)
debian/changelog (+8/-0)
Found in ./DistUpgradeVi ewGtk3. py:
# if no libgtk2-perl is installed show the terminal get("DEBIAN_ FRONTEND" ) or "gnome" "libgtk2- perl"]. is_installed) :
frontend = "dialog"
self. expander. set_expanded( True) KEEP_FD= %s"% self.writefd,
" APT_LISTCHANGES _FRONTEND= none"]
self. env.append( "DEBIAN_ FRONTEND= %s" % frontend)
frontend= os.environ.
if frontend == "gnome" and self._cache:
if (not "libgtk2-perl" in self._cache or
not self._cache[
self.env = ["VTE_PTY_
if "DEBIAN_FRONTEND" not in os.environ:
libgtk2-perl is obsolete and no longer installed by default on the desktop. This needs updated for libgtk3-perl.