# 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.
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.